TOPSIS, the Technique for Order Preference by Similarity to Ideal Solution, ranks alternatives by comparing their weighted performance with two reference points: the best and worst criterion values represented in the decision matrix. An alternative receives a higher ranking when it is relatively close to the positive ideal and relatively distant from the negative ideal. The method is useful when several feasible alternatives have measurable strengths and weaknesses, but its ranking remains conditional on the chosen criteria, normalization method, weights, and candidate set.
Quick Answer
Build a decision matrix, normalize each criterion, apply weights, identify positive and negative ideals, calculate distances, and rank alternatives by their relative closeness. Test how changes in assumptions affect the ranking.
Table Of Contents
- Define The Decision Before Calculating A Ranking
- Step One: Normalize Each Criterion Column
- Step Two: Multiply Normalized Values By The Weights
- Step Three: Identify The Positive And Negative Ideal Solutions
- Step Four: Calculate Distances From Both Reference Points
- Step Five: Calculate Relative Closeness And Rank
- Worked Sensitivity Example: Changing The Criterion Weights
- TOPSIS Versus Other Decision Methods
- Spreadsheet Layout And Validation Checks
- Limitations And Practical Decision Review
- Frequently Asked Questions
Define The Decision Before Calculating A Ranking
Imagine a small online craft store selecting a fulfillment supplier. Three providers can meet its mandatory contractual and operational requirements. Supplier A charges the lowest amount but takes longer to process orders. Supplier B costs more but has better processing time and on-time delivery performance. Supplier C offers intermediate values.
The store chooses three illustrative criteria: fulfillment cost per batch, average processing time in hours, and percentage of orders delivered on time. Lower cost and shorter processing time are preferred, whereas a higher on-time delivery percentage is preferred. The team must define what constitutes an on-time delivery before gathering data; otherwise, one provider could measure dispatch performance while another measures actual delivery to the customer. The article on operational definitions explains how to prevent this kind of incompatible comparison.
TOPSIS should not compensate for failure to meet a mandatory requirement. If a provider cannot handle the relevant products or satisfy a binding data protection obligation, remove it from the feasible candidate set or treat the issue separately rather than award it a low score and allow cheaper pricing to offset the deficiency.
The following numbers are hypothetical and designed for instruction. They are not a recommendation for an actual supplier.
| Supplier | Batch Cost ($) | Processing Time (Hours) | On-Time Delivery (%) |
|---|---|---|---|
| A | 80 | 6 | 92 |
| B | 100 | 4 | 97 |
| C | 90 | 5 | 95 |
The team adopts weights of 0.40 for cost, 0.25 for processing time, and 0.35 for on-time delivery. The weights sum to one. These values represent an agreed trade-off assumption, not objectively established facts about the relative importance of these criteria. Record who supplied the judgments and why.
Step One: Normalize Each Criterion Column
The conventional vector-normalization version of TOPSIS divides each raw performance value by the Euclidean length of its criterion column. This makes the values dimensionless before weighting them. A scholarly example of the method appears in the open-access article on multicriteria material selection. For each column, square every alternative’s raw value, sum the squared values, and take the square root.
For batch cost, the denominator is the square root of 80 squared plus 100 squared plus 90 squared. This is the square root of 24,500, approximately 156.5248. Divide the cost values by that denominator to obtain approximately 0.5111, 0.6389, and 0.5750.
For processing time, the denominator is the square root of 36 + 16 + 25, or the square root of 77, approximately 8.7750. For on-time delivery, the denominator is the square root of 92 squared plus 97 squared plus 95 squared, or approximately 164.0061.
Notice that vector normalization does not independently convert lower-is-better values into higher-is-better values. In this implementation, the direction of preference is handled when choosing the positive and negative ideals. Do not invert cost values and then also choose the minimum as the positive ideal without checking what the transformed values mean.
An important edge case occurs when every entry in a criterion column is zero. Its norm is zero, making division undefined. A column with no discriminatory information should be examined and removed or handled through a documented alternative approach, with the effect on weights considered. Do not silently substitute arbitrary values to avoid a spreadsheet error.
Step Two: Multiply Normalized Values By The Weights
Multiply each normalized value by the weight assigned to its criterion. For supplier A’s batch cost, the calculation is 80/156.5248 × 0.40, which equals approximately 0.20444. For its processing time, 6/8.7750 × 0.25 produces approximately 0.17094. For its delivery performance, 92/164.0061 × 0.35 gives approximately 0.19633.
| Supplier | Weighted Cost | Weighted Time | Weighted Delivery |
|---|---|---|---|
| A | 0.20444 | 0.17094 | 0.19633 |
| B | 0.25555 | 0.11396 | 0.20700 |
| C | 0.23000 | 0.14245 | 0.20274 |
Displayed numbers are rounded for readability; subsequent calculations use full precision. Rounding each intermediate result can create noticeable errors when alternatives have nearly identical closeness coefficients. Preserve the original decision matrix, the column denominators, and the exact weights in separate spreadsheet ranges.
Weighting is not a magic solution to incomparable measurement quality. A delivery percentage based on 20 shipments is less informative about long-run reliability than a percentage estimated from a much larger representative sample, all else equal. If estimates have different uncertainty, investigate the evidence and test plausible input ranges rather than present the weighted scores as precise measurements of value.
Also inspect whether criteria overlap. If processing time and on-time delivery are strongly related, including both may give the underlying speed dimension more influence than the team intended. Use dependency mapping to explore relationships between measures before finalizing weights.
Step Three: Identify The Positive And Negative Ideal Solutions
The positive ideal contains the most preferred weighted value for each criterion. Since cost and processing time are cost-type criteria, select the lowest weighted value from each of those columns. Delivery performance is a benefit-type criterion, so select its highest weighted value.
The negative ideal reverses these choices. It uses the largest weighted cost, largest weighted processing time, and smallest weighted delivery performance.
| Reference Solution | Cost | Processing Time | Delivery Performance |
|---|---|---|---|
| Positive Ideal | 0.20444 | 0.11396 | 0.20700 |
| Negative Ideal | 0.25555 | 0.17094 | 0.19633 |
Neither reference point needs to represent an actual provider. The positive ideal combines A’s low cost with B’s favorable time and delivery performance. It is a synthetic benchmark within the adopted model. A manager should not assume that a provider with all of those characteristics is commercially available.
In the same way, the negative ideal is not necessarily a real supplier. Its purpose is to represent the least desirable observed weighted value on each criterion. The relative nature of these reference points is one reason the ranking can change when the set of alternatives changes.
Step Four: Calculate Distances From Both Reference Points
The conventional distance measure is Euclidean distance. For each alternative, subtract the positive ideal value from the alternative’s weighted normalized value for each criterion, square the differences, add them, and take the square root. Repeat the calculation using the negative ideal.
For A, its cost coordinate already equals the positive ideal cost, so that squared difference is zero. Its processing-time difference is approximately 0.05698, and its delivery difference is approximately −0.01067. The square root of the sum of their squares is approximately 0.05797. A differs from the negative ideal only in cost, yielding a distance of approximately 0.05111.
Supplier C is closer to both ideals than the two more extreme suppliers because its values are intermediate. Distance from the positive ideal alone would favor C in this example. TOPSIS evaluates both distances together, which produces a different ranking.
| Supplier | Distance To Positive Ideal | Distance To Negative Ideal |
|---|---|---|
| A | 0.05797 | 0.05111 |
| B | 0.05111 | 0.05797 |
| C | 0.03851 | 0.03880 |
Step Five: Calculate Relative Closeness And Rank
The conventional closeness coefficient is the distance to the negative ideal divided by the sum of the distances to both ideals. A larger coefficient means the alternative is relatively more favorable according to this distance-based model. For supplier B, the calculation is approximately 0.05797 divided by 0.10908, giving 0.53145.
| Supplier | Closeness Coefficient | Rank |
|---|---|---|
| B | 0.53145 | 1 |
| C | 0.50190 | 2 |
| A | 0.46855 | 3 |
Supplier B ranks first using the chosen criteria, weights, normalization, and decision matrix. Its result is not a 53.145% probability of success, nor does it establish that B is 53.145% efficient. The coefficient is a relative position calculated from two constructed reference points. Report the assumptions and original performances next to the ranking so a reader can understand the trade-offs.
If the distances to both ideals are zero, all weighted performance coordinates coincide with the same reference point. The usual coefficient is then undefined because its denominator is zero. The model does not discriminate among alternatives under those inputs. Record the tie or examine whether additional meaningful criteria are justified instead of producing a false numerical ordering.
Worked Sensitivity Example: Changing The Criterion Weights
The initial ranking is relatively close, so the team tests alternative weight scenarios. Suppose the store prioritizes short-term cost control and adopts weights of 0.60 for cost, 0.20 for processing time, and 0.20 for on-time delivery. Recalculate the weighted matrix, both ideals, the distances, and coefficients. Supplier A now obtains approximately 0.62505, C obtains 0.50047, and B obtains 0.37495.
A second scenario assigns weights of 0.20 to cost, 0.20 to processing time, and 0.60 to on-time delivery. Supplier B obtains approximately 0.65777, C obtains 0.51087, and A obtains 0.34223.
| Weight Scenario | A Coefficient | B Coefficient | C Coefficient | Top Rank |
|---|---|---|---|---|
| Baseline 40%, 25%, 35% | 0.46855 | 0.53145 | 0.50190 | B |
| Cost Focus 60%, 20%, 20% | 0.62505 | 0.37495 | 0.50047 | A |
| Delivery Focus 20%, 20%, 60% | 0.34223 | 0.65777 | 0.51087 | B |
These results reveal that the decision is sensitive to stakeholder priorities. If the purchasing team and customer service team disagree about weights, computing one baseline coefficient to five decimal places will not resolve that disagreement. The model instead helps identify the consequences of each preference scenario. Assumption mapping can distinguish judgments that materially affect the decision from those that have little influence.
The team should also vary uncertain performance values. For example, a provider’s claimed delivery reliability may not hold during peak periods. Recalculate using credible adverse scenarios or representative confidence bounds if they are available. Avoid changing all values by an arbitrary percentage if the uncertainty mechanisms differ.
TOPSIS Versus Other Decision Methods
A weighted additive decision matrix usually transforms criterion performance into comparable scores, multiplies them by criterion weights, and sums the results. TOPSIS instead assesses distances to the two constructed ideals. The methods can produce different rankings because they aggregate trade-offs differently. Decision matrix examples explain the additive approach.
Analytic hierarchy process can be used to derive criterion weights from pairwise judgments, which may then be supplied to a TOPSIS calculation. This is not necessary for TOPSIS, and the resulting model still depends on the quality and consistency of the judgments. See analytic hierarchy process examples for a worked weighting method.
Borda count aggregates ranked preferences rather than measured performance coordinates. It may be useful when participants have expressed ordinal preferences but reliable performance values are unavailable. The article on Borda count explains that distinct method and its limitations.
Do not choose a method simply because it produces the desired winner. Identify the decision purpose, what evidence exists, which trade-offs are legitimate, and how uncertainty should be handled. The result should inform deliberation rather than replace the decision authority’s accountability.
Consider also the measurement scale. Multiplying every cost by the same positive conversion factor, such as converting dollars to cents, leaves its vector-normalized coordinates unchanged. Adding a constant to every delivery percentage, however, changes the norm and can change the relative separation among candidates. Do not replace percentages with arbitrary scores merely to obtain a more visually balanced matrix. Choose meaningful measurement scales and test alternative defensible representations if their interpretation materially affects the decision.
Spreadsheet Layout And Validation Checks
Place alternatives in rows and criteria in columns. Store criterion directions and weights above or below the raw decision matrix. Calculate each column norm using the square root of the sum of squared values. Divide the values by their corresponding norm, then multiply by the column weight in a separate weighted matrix. Use the minimum or maximum according to the criterion direction to construct both ideal rows.
Create columns for the two Euclidean distances and the closeness coefficient. Use full-precision cell values, format the displayed numbers to an appropriate number of decimal places, and rank the coefficients in descending order. Validate the spreadsheet by confirming that the squared normalized entries in every nonzero column sum to one before weighting. Check that all directions match the original meaning of the criterion and that weights are nonnegative and normalized according to the chosen convention.
Check the ranking by inspecting the underlying performance profiles. A mathematically correct result may still be unsuitable if the criterion weights were not agreed, a required option was omitted, or the data describe different operating periods. A calculation audit and a decision-quality audit are separate tasks.
Limitations And Practical Decision Review
Vector normalization and the ideal values depend on the alternatives included. Adding or removing an alternative may change the scaling or reference points and can change rankings among remaining alternatives. Research on rank reversal in TOPSIS discusses this issue. Fix the feasible candidate set before scoring whenever possible and perform a new analysis if eligibility changes materially.
Criteria must also have a meaningful monotonic direction for the simple ideal construction. A measure with a preferred target in the middle of a range cannot automatically be treated as a benefit or a cost. For example, a staffing ratio may be undesirable when either too low or too high. Transform it into a meaningful deviation or other explicitly defined value measure before analysis, and validate the transformation.
Finally, TOPSIS does not by itself model budget feasibility, uncertainty, mandatory service constraints, or the causal effects of selecting an alternative. For the supplier example, obtain representative performance evidence, clarify contractual requirements, test weights, and consider a limited trial with defined acceptance criteria. The selected provider’s actual service can then be evaluated through a post-implementation review. A trustworthy ranking makes its reasoning reproducible while preserving the difference between a favorable model result and an effective operational decision.
Frequently Asked Questions
What does TOPSIS stand for?
Technique for Order Preference by Similarity to Ideal Solution.
What are the positive and negative ideal solutions?
They combine the most and least preferred weighted criterion values under the adopted model.
How is vector normalization performed?
Divide each value by the square root of the sum of squared values in its criterion column.
How are cost criteria treated?
In conventional vector-normalized TOPSIS, the minimum weighted cost is the positive ideal and the maximum is the negative ideal.
What is the TOPSIS closeness coefficient?
Distance to the negative ideal divided by the sum of distances to both ideals.
Is the closeness coefficient a probability?
It is a relative distance-based score, not a probability of success.
Can changing weights change the winner?
Yes. Recalculate the complete weighted model and test meaningful alternative priorities.
Does TOPSIS guarantee a stable ranking when alternatives change?
It does not. Changes to the candidate set may alter normalization, ideals, and rankings.
Can AHP provide TOPSIS weights?
AHP-derived weights can be used, provided the judgments and their interpretation are appropriate.
How should TOPSIS results be validated?
Verify formulas, directions, data definitions, eligibility, uncertainty, and the stability of the ranking under reasonable assumptions.
