How to calculate the AHP consistency ratio correctly (with the principal eigenvalue)
The AHP consistency ratio step by step: λmax from the principal eigenvalue, CI and CR, why shortcuts overstate it, and how to find the judgement at fault.
CKR team · · 10 min read
The AHP consistency ratio is CR = CI/RI, where CI = (λmax − n)/(n − 1), λmax is the principal eigenvalue of the pairwise comparison matrix and RI is Saaty’s random index for n criteria. Compute λmax from the matrix itself, by power iteration or an eigenvalue routine, rather than from column sums times approximate weights, which can overstate the CR by a third or more. A CR of 0.10 or less is conventionally acceptable.
The short version
- 01CR = CI/RI with CI = (λmax − n)/(n − 1); λmax must be the principal eigenvalue of the comparison matrix.
- 02In the five-criterion example the exact λmax is 5.1668 and CR = 0.037; the common shortcut of column sums times approximate weights gives λmax = 5.2216 and CR = 0.050, a third too high.
- 03Power iteration finds λmax: multiply the matrix by a weight vector, take the total, rescale, and repeat until it stops changing.
- 04When CR is too high, the entry aᵢⱼ·wⱼ/wᵢ furthest from 1 points to the judgement that most contradicts the rest.
What does the consistency ratio measure?
In the Analytic Hierarchy Process, a decision-maker compares criteria in pairs and says how much more important one is than the other on Saaty’s 1–9 scale. The answers fill a reciprocal matrix A, where aᵢⱼ is the importance of criterion i relative to criterion j and aⱼᵢ = 1/aᵢⱼ. If the judgements were perfectly consistent, every entry would equal the ratio of the two weights, aᵢⱼ = wᵢ/wⱼ, and any chain of judgements would agree with the direct one: if A is twice as important as B and B three times as important as C, A would be exactly six times as important as C.
Real judgements are never perfectly consistent, and AHP does not require them to be. What it requires is that the inconsistency is small relative to what random judgements would produce. Saaty (1977) measured the inconsistency through the principal eigenvalue of the matrix. For a perfectly consistent n × n reciprocal matrix the principal eigenvalue equals n; any inconsistency makes it larger. The consistency index and the consistency ratio scale that excess.
The ratio compares the observed inconsistency with that of random judgements. A CR of 0.10 means the matrix is one tenth as inconsistent as a random one. Saaty treated 0.10 as the upper limit for matrices of five or more elements and suggested stricter limits of 0.05 for 3 × 3 and 0.08 for 4 × 4 matrices (Saaty, 1994).
Which numbers do you need?
This tutorial uses a laptop-purchase example with five criteria: Price, Battery, Performance, Weight and Screen. The buyer’s pairwise judgements are below. Read each entry as “the row criterion compared with the column criterion”: Performance is twice as important as Price, Price three times as important as Battery, and so on.
| Criterion | Price | Battery | Performance | Weight | Screen |
|---|---|---|---|---|---|
| Price | 1 | 3 | 1/2 | 5 | 4 |
| Battery | 1/3 | 1 | 1/3 | 3 | 2 |
| Performance | 2 | 3 | 1 | 4 | 6 |
| Weight | 1/5 | 1/3 | 1/4 | 1 | 1/2 |
| Screen | 1/4 | 1/2 | 1/6 | 2 | 1 |
Note. Saaty’s 1–9 scale. Entries below the diagonal are the reciprocals of those above it.
You need four things: the matrix, its size n = 5, the random index for n = 5, and a way to compute the principal eigenvalue. Saaty’s random index for five elements is 1.12. Other published random-index tables, built from different numbers of simulated matrices, differ in the second decimal place; whichever you use, name it in the methods section.
| n | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|---|---|---|
| RI | 0.58 | 0.90 | 1.12 | 1.24 | 1.32 | 1.41 | 1.45 | 1.49 |
Note. RI = 0 for n = 1 and n = 2: a 2 × 2 reciprocal matrix is always consistent.
The random index is an empirical quantity. It was obtained by filling many reciprocal matrices of each size with judgements drawn at random from the 1–9 scale and its reciprocals, computing the consistency index of each, and averaging. Because it is an average over simulations, later studies that used more matrices, or a different way of drawing the judgements, arrived at slightly different values. The differences matter only for matrices whose CR sits very close to the threshold, which is one more reason to report the table you used alongside the result.
Step 1: how do you find the principal eigenvalue?
The principal eigenvalue is the largest eigenvalue of A. Because every entry of a pairwise comparison matrix is positive, the Perron–Frobenius theorem guarantees that this eigenvalue is real, positive and unique, and that its eigenvector has all positive entries. That is what makes it usable as a set of weights. There are two practical ways to compute it.
Power iteration
Power iteration repeats one operation: multiply the matrix by the current weight vector, add up the result, and divide the result by that total so the weights again sum to 1. When the weights sum to 1, the total of A·w converges to λmax, and the rescaled vector converges to the principal eigenvector.
- Start with equal weights: 0.2 for each of the five criteria.
- Multiply the matrix by the current weights: each row of judgements times the weight vector gives five products.
- Total the five products. This total is the current estimate of λmax.
- Divide each product by the total. These are the new weights.
- Repeat until λmax stops changing in the fourth decimal place.
Note. The first iteration (8.473, from equal starting weights) is left off the scale. The estimate settles at 5.16684 by the eighth iteration.
Show the data
| Iteration | λmax estimate |
|---|---|
| 2 | 5.3444 |
| 3 | 5.112 |
| 4 | 5.1621 |
| 5 | 5.1685 |
| 6 | 5.167 |
| 7 | 5.1668 |
| 8 | 5.1668 |
| 9 | 5.1668 |
| 10 | 5.1668 |
For the laptop matrix the estimates are 8.473, 5.344, 5.112, 5.162, 5.168, 5.167 and then 5.16684 from the eighth iteration on. The weights converge at the same time, to Price 0.3006, Battery 0.1397, Performance 0.4188, Weight 0.0604 and Screen 0.0805.
Power iteration converges to the exact principal eigenvalue, the same value an eigenvalue routine returns: 5.16684 for the laptop matrix. CKR computes λmax this way for every comparison matrix and shows it, with CI and CR, as each judgement is entered.
Step 2: how do you compute CI and CR?
With λmax = 5.16684 and n = 5 the rest is arithmetic.
- Principal eigenvalue λmax
- 5.1668
- Consistency index CI
- 0.0417
- Consistency ratio CR (limit 0.10)
- 0.037
A CR of 0.037 is well inside Saaty’s limit of 0.10 for a 5 × 5 matrix. The buyer’s judgements are acceptably consistent and the weights can be used.
Why do some calculations give a higher CR?
Many textbooks and online calculators avoid the eigenvalue and estimate λmax from approximate weights. Two shortcuts are common. Both start from the column-average weights: normalise each column of A to sum to 1 and average the rows, which for the laptop matrix gives Price 0.2998, Battery 0.1424, Performance 0.4134, Weight 0.0620 and Screen 0.0823.
- Column sums times weights. Multiply each column total of A by the corresponding weight and add the products. This is exact only when the weights are the exact eigenvector; with approximate weights it overstates λmax.
- Average of the ratios (A·w)ᵢ/wᵢ. Multiply A by the weights, divide each result by its own weight and average the five ratios. This is closer, because it uses the whole matrix rather than the column totals alone.
| Method | λmax | CI | CR | CR relative to exact |
|---|---|---|---|---|
| Principal eigenvalue (power iteration or eig) | 5.1668 | 0.0417 | 0.0372 | — |
| Average of (A·w)ᵢ / wᵢ with column-average weights | 5.1679 | 0.0420 | 0.0375 | +1% |
| Column sums × column-average weights | 5.2216 | 0.0554 | 0.0495 | +33% |
Note. Column sums of A: 3.7833, 7.8333, 2.25, 15 and 13.5. Ratios (A·w)ᵢ/wᵢ: 5.2467, 5.1320, 5.2782, 5.0604 and 5.1221.
The column-sum shortcut raises the CR from 0.037 to 0.050, an overstatement of a third. In this example the matrix passes either way, but the same overstatement can push a matrix with a true CR of 0.08 over the 0.10 limit. Experts are then asked to revise judgements that were acceptable, or their responses are excluded without good reason. CKR’s own AHP originally used the column-sum formula; when it was checked against reference implementations it was changed to the principal eigenvalue.
What if the CR is above 0.10?
Suppose the buyer had answered one comparison the other way round: Battery three times as important as Performance instead of Performance three times as important as Battery. Only that pair changes; every other judgement stays as before. The principal eigenvalue becomes 5.8285, so CI = 0.2071 and CR = 0.185, well above the limit.
The CR shows that something is wrong but not where. To locate it, compare each judgement with what the weights imply. With the eigenvector weights w, a consistent judgement would be aᵢⱼ = wᵢ/wⱼ, so the ratio eᵢⱼ = aᵢⱼ·wⱼ/wᵢ would equal 1. The entry whose ratio is furthest from 1, in either direction, contradicts the other judgements most.
For the altered matrix the largest deviation is eᵢⱼ = 3.25, for Battery compared with Performance: the judgement is more than three times what the other answers imply. That is the comparison that was reversed. The next step is to show the expert that one judgement and ask whether it reflects what they meant. If they revise it, recompute; if they confirm it, keep it and decide openly whether to use the matrix. Changing it yourself is not acceptable, because it replaces the expert’s data with yours. Excluding an expert, or keeping them, should be a stated decision in the methods section, not a silent one.
Which mistakes give a wrong CR?
| Error | Effect | Correct approach |
|---|---|---|
| λmax from column sums × approximate weights | CR overstated (by a third in the example) | Principal eigenvalue by power iteration or eig |
| RI for the wrong n | CR scaled by the wrong constant | RI for the number of elements in that matrix |
| Dividing CI by n instead of RI | A meaningless number | CR = CI/RI |
| Reciprocals typed as rounded decimals | Small changes in λmax and CR | Enter reciprocals as =1/x formulas |
| CR of the averaged group matrix only | Hides inconsistent individual experts | Report each expert’s CR before aggregating |
| CR computed for a 2 × 2 matrix | Division by RI = 0 | A 2 × 2 matrix is always consistent; report CR = 0 |
The last error in the table is a reminder that the consistency ratio is defined only from n = 3 upwards. For larger hierarchies, compute a CR for each comparison matrix separately: the criteria matrix, each sub-criteria matrix, and each matrix of alternatives under a criterion. There is no single CR for a whole hierarchy in the standard method.
How should you report the consistency ratio?
Reviewers look for three things: that every matrix was checked, that the threshold was stated, and that the calculation can be repeated. A short paragraph and one table usually cover it. Give λmax, CI and CR for each matrix (or for each expert, in a panel), the RI table used, the threshold and its source, and what happened to any matrix above it. For the laptop example the sentence would read: “The principal eigenvalue of the criteria matrix was 5.167 (CI = 0.042, RI = 1.12), giving a consistency ratio of 0.037, below the 0.10 threshold (Saaty, 1994).”
In CKR the principal eigenvalue, CI and CR update as each judgement is typed, the comparison that disagrees most with the others is flagged, every expert’s CR is shown separately in a panel, and the Word report lists them in an APA table with the random index and its source.
Questions people ask
Is a consistency ratio of exactly 0.10 acceptable?
By the usual convention, yes: the rule is CR ≤ 0.10. Saaty (1994) suggested stricter limits for small matrices, 0.05 for 3 × 3 and 0.08 for 4 × 4. State the rule you applied.
Why does λmax have to be at least n?
For a positive reciprocal matrix the principal eigenvalue is always n or more, and equals n only when the matrix is perfectly consistent. A λmax below n means a calculation error, often a matrix that is not reciprocal.
Can I use the geometric-mean weights to compute λmax?
You can average the ratios (A·w)ᵢ/wᵢ using geometric-mean weights, and the result is usually close to the eigenvalue. For a reported CR, the principal eigenvalue of the matrix is the reference value; computing it directly removes any doubt.
Does Fuzzy AHP have a consistency ratio?
Fuzzy AHP studies usually check the consistency of the crisp judgements behind the fuzzy numbers, with the same CR. Several fuzzy consistency measures exist, but none is as widely accepted as Saaty’s.
What random index should I use for more than ten criteria?
Saaty’s table extends to 15 elements (1.51, 1.48, 1.56, 1.57 and 1.59 for n = 11 to 15), but matrices that large are hard to fill consistently. Splitting the criteria into a hierarchy is usually the better choice.
References
Saaty, T. L. (1977). A scaling method for priorities in hierarchical structures. Journal of Mathematical Psychology, 15(3), 234–281. https://doi.org/10.1016/0022-2496(77)90033-5
Saaty, T. L. (1994). How to make a decision: The analytic hierarchy process. Interfaces, 24(6), 19–43. https://doi.org/10.1287/inte.24.6.19
Saaty, T. L. (1990). How to make a decision: The analytic hierarchy process. European Journal of Operational Research, 48(1), 9–26. https://doi.org/10.1016/0377-2217(90)90057-I
CKR team · Chakaralaya Analytics
How this was checked. λmax, CI and CR were computed with CKR’s AHP and independently by power iteration in a script, which also produced the column-sum and ratio estimates, the iteration history and the deviation ratios eᵢⱼ. Reference details were checked against Crossref.