TOPSIS as one of MCDM methods considers both the distance of each alternative from the positive ideal and the distance of each alternative from the negative ideal point. In other words, the best alternative should have the shortest distance from the positive ideal solution (PIS) and the longest distance from the negative ideal.
In this study there are 5 criteria and 4 alternatives that are ranked based on TOPSIS method. The following table describes the criteria
Characteristics of Criteria
| td > | name td > | type td > | weight td > tr > |
| 1 | Data security | Positive | 0.3 |
| 2 | Usability and user interface | Positive | 0.1 |
| 3 | Reporting features | Positive | 0.2 |
| 4 | Subscription cost | Negative | 0.3 |
| 5 | Compatibility with other apps | Positive | 0.1 |
The following table shows the decision matrix.
Decision Matrix
| Data security | Usability and user interface | Reporting features | Subscription cost | Compatibility with other apps | |
| App A | 5 | 5 | 5 | 7 | 3 |
| App B | 4 | 5 | 6 | 1 | 1 |
| App C | 3 | 4 | 1 | 4 | 1 |
| App D | 2 | 3 | 2 | 3 | 4 |
The Steps of the TOPSIS Method :
STEP 1: Normalize the decision-matrix.
The following formula can be used to normalize.
The following table shows the normalized matrix.
The normalized matrix
| Data security | Usability and user interface | Reporting features | Subscription cost | Compatibility with other apps | |
| App A | 0.68 | 0.577 | 0.615 | 0.808 | 0.577 |
| App B | 0.544 | 0.577 | 0.739 | 0.115 | 0.192 |
| App C | 0.408 | 0.462 | 0.123 | 0.462 | 0.192 |
| App D | 0.272 | 0.346 | 0.246 | 0.346 | 0.77 |
STEP 2: Calculate the weighted normalized decision matrix.
According to the following formula, the normalized matrix is multiplied by the weight of the criteria.
The following table shows the weighted normalized decision matrix.
The weighted normalized matrix
| Data security | Usability and user interface | Reporting features | Subscription cost | Compatibility with other apps | |
| App A | 0.204 | 0.058 | 0.123 | 0.242 | 0.058 |
| App B | 0.163 | 0.058 | 0.148 | 0.035 | 0.019 |
| App C | 0.122 | 0.046 | 0.025 | 0.139 | 0.019 |
| App D | 0.082 | 0.035 | 0.049 | 0.104 | 0.077 |
STEP 3: Determine the positive ideal and negative ideal solutions.
The aim of the TOPSIS method is to calculate the degree of distance of each alternative from positive and negative ideals. Therefore, in this step, the positive and negative ideal solutions are determined according to the following formulas.
So that
where j1 and j2 denote the negative and positive criteria, respectively.
The following table shows both positive and negative ideal values.
The positive and negative ideal values
| td > | Positive ideal td > | Negative ideal td > tr > |
| Data security | 0.204 | 0.082 |
| Usability and user interface | 0.058 | 0.035 |
| Reporting features | 0.148 | 0.025 |
| Subscription cost | 0.035 | 0.242 |
| Compatibility with other apps | 0.077 | 0.019 |
STEP4: distance from the positive and negative ideal solutions
TOPSIS method ranks each alternative based on the relative closeness degree to the positive ideal and distance from the negative ideal. Therefore, in this step, the calculation of the distances between each alternative and the positive and negative ideal solutions is obtained by using the following formulas.
The following table shows the distance to the positive and negative ideal solutions.
Distance to positive and negative ideal points
| td > | Distance to positive ideal td > | Distance to positive negative td > tr > |
| App A | 0.21 | 0.163 |
| App B | 0.071 | 0.256 |
| App C | 0.19 | 0.112 |
| App D | 0.173 | 0.152 |
STEP 5: Calculate the relative closeness degree of alternatives to the ideal solution
In this step, the relative closeness degree of each alternative to the ideal solution is obtained by the following formula. If the relative closeness degree has value near to 1, it means that the alternative has shorter distance from the positive ideal solution and longer distance from the negative ideal solution.
The following table shows the relative closeness degree of each alternative to the ideal solution and its ranking.
The ci value and ranking
| td > | Ci td > | rank td > tr > |
| App A | 0.437 | 3 |
| App B | 0.784 | 1 |
| App C | 0.371 | 4 |
| App D | 0.467 | 2 |
The following figure shows the ci values.
The ci value