Supplier Comparison (TOPSIS)
Which supplier is best when the cheapest is not the most reliable or the fastest, and how much does the answer depend on how we weight each criterion?
Inputs
Results
What it answers
Which supplier is best when the cheapest is not the most reliable or the fastest, and how much does the answer depend on how we weight each criterion?
The default inputs are a worked example; change any value to see the model respond.
How to use it
- Paste the decision matrix: a header with criteria, a weight row, a direction row (benefit = higher is better, cost = lower is better) and one row per supplier.
- Read the closeness scores and ranking.
- Check the sensitivity result: if a ±20% change in one weight changes the winner, the decision depends on that weight and deserves discussion.
The model
- x_{ij}
- score of supplier i on criterion j
- w_j
- weight of criterion j (rescaled to sum to 1)
- v^{+}, v^{-}
- ideal and anti-ideal suppliers
- S_i^{+}, S_i^{-}
- distances to the ideal and anti-ideal
- C_i
- relative closeness to the ideal: higher is better
When to use it
- Supplier selection and annual vendor review.
- Tender evaluation with several criteria.
- Teaching multicriteria decision analysis.
Limits to keep in mind
- Weights express management judgement; document how they were agreed.
- TOPSIS assumes criteria can compensate each other: a supplier may rank well despite failing a must-have criterion, so screen out non-compliant suppliers first.
- Adding or removing a supplier can change the ranking of the others (rank reversal).
What should be investigated in practice?
For procurement teams to rely on the ranking, the criteria, data and weights must be defensible and auditable:
- Must-have screening: legal, quality-certification, Shariah or compliance requirements that eliminate suppliers before scoring.
- Criteria definitions: measurable definitions (landed cost per unit, defect rate in ppm, on-time-in-full %, lead time in days, financial-risk score) and their data sources.
- Evidence collection: purchase-order and goods-received history, quality inspections, supplier audits and financial statements for each supplier.
- Weight elicitation: a documented process (pairwise comparison/AHP, points allocation or stakeholder workshop) with sign-off by procurement, quality and finance.
- Total cost of ownership: freight, duties, payment terms, inventory needed to cover lead time and the cost of quality failures, not just unit price.
- Robustness: sensitivity to weights, rank-reversal checks and comparison with a second method (e.g. weighted sum or PROMETHEE).
- Outcome tracking: after award, measure delivered cost, quality and delivery performance to recalibrate scores and weights.
Maturity: Educational prototype
Reproducible worked example: the default inputs above. Reload the page to restore them; the same inputs always give the same results.
Verified: 2 automated tests check the calculations against hand-computed or independently specified values and against invalid inputs:
- TOPSIS supplier ranking
- TOPSIS reports a tie instead of ranking identical suppliers at 0
Not yet: Not independently reviewed, and not validated on a firm's or market's own data for operational decisions.
Educational tool. Results depend on the inputs and assumptions above and are not financial, investment or professional advice. Calculations run in your browser.