How to Calculate a T-Score (Japan's Hensachi) by Hand and in Excel
A T-score (hensachi in Japan) is 50 + 10 × (score − mean) ÷ standard deviation. Work through 10 test scores by hand, see why 75 points can be 62.5 or 75, what share scores above 60 or 70, and how to compute it with STANDARDIZE and STDEV.P in Excel.
Contents
Suppose a test report says “Score: 75, deviation score: 62.5.” Whether 75 is good or bad cannot be judged without the average. Even knowing the average was 60 is not enough. If almost everyone landed between 55 and 65, a 75 stands out; if scores were spread from 30 to 95, it is not that remarkable.
The deviation score folds “how far from the average” and “how spread out everyone is” into a single number. In statistics it is called a T-score: a standardized score with a mean of 50 and a standard deviation of 10. The formula is short, but once you see what the standard deviation inside it means, the meaning of a 60 or a 70 becomes clear, along with when deviation scores can and cannot be compared. We will start by computing one by hand from ten people’s scores.
The formula
A deviation score (T-score) is calculated as follows.
T-score = 50 + 10 × (your score − mean) ÷ standard deviation
Scoring exactly the mean gives 50. One standard deviation above the mean gives 60, two above gives 70, and one below gives 40. In other words, a difference of 10 points on this scale equals one standard deviation.
In the opening example, if the mean was 60 and the standard deviation 12, a score of 75 works out as follows.
50 + 10 × (75 − 60) ÷ 12 = 50 + 10 × 1.25 = 62.5
The part (your score − mean) ÷ standard deviation is what statistics calls standardization, or the z-score. It rescales values to a mean of 0 and a standard deviation of 1; the T-score multiplies it by 10 and adds 50 to place it on a scale with a mean of 50 and a standard deviation of 10. Rather than a z-score full of negatives and decimals, it reads more like a familiar test score.
Computing the standard deviation from ten scores
Even when the average is published, you may have to work out the standard deviation yourself, for instance to give deviation scores for a quiz in your class or team. Let’s compute it from these ten scores.
42, 44, 52, 57, 58, 60, 62, 69, 73, 83
The standard deviation is roughly the average distance of each score from the mean. But adding up the raw differences from the mean always gives 0, because the pluses and minuses cancel out, so we square the differences, average them, and finally take the square root to get back to the original unit (points). The steps are:
- Find the mean. Total 600 points ÷ 10 people = 60 points.
- Subtract the mean from each score (the deviation). For 42 it is −18; for 83 it is +23.
- Square the deviations and add them up. 324 + 256 + 64 + 9 + 4 + 0 + 4 + 81 + 169 + 529 = 1,440.
- Divide by the number of people (the variance). 1,440 ÷ 10 = 144.
- Take the square root. √144 = 12 points. That is the standard deviation.
With a mean of 60 and a standard deviation of 12, everyone’s deviation score follows.
| Score | Difference from mean | T-score |
|---|---|---|
| 42 | −18 | 35.0 |
| 44 | −16 | 36.7 |
| 52 | −8 | 43.3 |
| 57 | −3 | 47.5 |
| 58 | −2 | 48.3 |
| 60 | 0 | 50.0 |
| 62 | +2 | 51.7 |
| 69 | +9 | 57.5 |
| 73 | +13 | 60.8 |
| 83 | +23 | 69.2 |
The scores are rounded to one decimal place. Average all ten T-scores and you get 50; their standard deviation is 10. That is exactly what rescaling onto this scale should do.
Divide by n or by n − 1?
In step 4 we divided the sum of squared deviations by the 10 people. Statistics textbooks also show a version that divides by 9 (n − 1). The former is the population standard deviation, the latter the sample standard deviation (the square root of the unbiased variance). Dividing by 9 gives a standard deviation of about 12.65, and the T-score for 83 becomes 68.2 instead of 69.2.
Which to use depends on what the data represents. The sample standard deviation is for estimating the spread of a larger group from the few people you measured. A deviation score expresses “your position among the people who took this test,” so the usual practice is to treat all test takers as the whole group and use the population standard deviation, dividing by n. In Excel, STDEV.P returns the population standard deviation and STDEV.S the sample one. The old STDEV function computes the same as STDEV.S, so using it for deviation scores shifts the values slightly. With many people the gap is small, but in a class of about ten the score can change by nearly 1.
The same 75 can give different scores
That the deviation score reflects the spread of scores is clearest when you compare two tests with the same mean but different standard deviations.
| Test | Mean | Standard deviation | T-score of 75 |
|---|---|---|---|
| A: scores widely spread | 60 | 12 | 62.5 |
| B: most people close to the mean | 60 | 6 | 75.0 |
Both are 15 points above the mean. In test A that is only 1.25 standard deviations; in test B it is 2.5. If the distribution is close to normal, about 70% of people in test B fall between 54 and 66, so scoring 75 there is far rarer than scoring 75 in test A.
Conversely, deviation scores let you compare tests with different averages. A 60 on a hard test with a mean of 40 and an 80 on an easy test with a mean of 70: by raw points the second is higher. But if both have a standard deviation of 10, the first is a 70 and the second a 60. This is why deviation scores are used to see strengths and weaknesses across subjects taken by the same group.
60 is roughly the top 16%, 70 roughly the top 2%
The often-quoted “a 60 puts you in the top 16%, a 70 in the top 2%” assumes the scores follow a normal distribution. A normal distribution is a symmetric bell curve centered on the mean, with about 68.3% of values within one standard deviation and about 95.4% within two. A 60 is one standard deviation above the mean, so the share above it is (100 − 68.3) ÷ 2 ≈ 15.9%.
| T-score | Distance from mean | Share scoring higher (normal distribution) |
|---|---|---|
| 40 | 1 SD below | 84.1% |
| 45 | 0.5 SD below | 69.1% |
| 50 | mean | 50.0% |
| 55 | 0.5 SD above | 30.9% |
| 60 | 1 SD above | 15.9% |
| 65 | 1.5 SD above | 6.7% |
| 70 | 2 SD above | 2.3% |
| 75 | 2.5 SD above | 0.6% |
| 80 | 3 SD above | 0.13% |
For a test taken by 1,000 people, that suggests about 159 at 60 or above, about 23 at 70 or above, and one or two at 80 or above.
But these are only estimates that assume a normal distribution. Real score distributions pile up at the top when a test is too easy and at the bottom when it is too hard, and are not symmetric. In the ten-person example above, only two people, with 73 and 83, scored above 60: 20% of ten, not the 15.9% in the table. With few people, one person moves the share by 10 points, so disagreeing with the normal-distribution estimate is perfectly ordinary.
If you know your actual rank, dividing it by the number of test takers is more accurate than estimating a share from the deviation score. When a mock exam report lists your rank or “top X%” separately, read that figure first.
A perfect score can be 58, and a score can exceed 100
Because the deviation score is relative to the spread, some distributions produce values that defy intuition.
Suppose a test is so easy that 60 of 100 people score a perfect 100 and the other 40 score 0. It is an extreme case, but the mean is 60 and the standard deviation about 49. A perfect score then earns only about 58.2. Nobody can score above 100, so all 60 people at the top share the same value with no way to tell them apart. Statistics calls this a ceiling effect.
Now suppose only 1 of 100 people scores 100 and the other 99 all score 0. The mean is 1, the standard deviation about 9.95, and the person with 100 gets about 149.5. Deviation scores above 100 are possible, and by the same logic, if one person scores 0 and everyone else is perfect, that person’s score is about −49.5.
With n people, if one person’s score differs from everyone else’s, their deviation score is 50 ± 10 × √(n − 1). For 100 people that is ±99.5, matching the 149.5 and −49.5 above. The more people, the more room for extreme values. Real exams almost never skew this far, but it is worth knowing that a 70 or 80 is not “close to a theoretical maximum.”
Comparing deviation scores from mock exams and schools in Japan
A deviation score expresses a position within the group used to calculate it. Scores calculated in different groups cannot be compared by size alone.
For example, compare a mock exam taken mostly by students aiming for highly selective universities with one taken by a broad range of students: the same student will get a lower score on the first, because the other test takers score higher and so the mean rises. Lining up scores from different mock exams and saying “I went up by 5” cannot tell whether you improved or the test takers were simply different. To track progress, follow the scores of the same kind of mock exam over time.
The same applies to the hensachi of Japanese high schools and universities. They are estimates derived from one mock exam’s test takers’ scores and their admission results. The value depends on which mock exam and which criterion (the hensachi at which the chance of passing reaches some percentage) was used, so check those assumptions before comparing figures from different sources.
Calculating deviation scores in Excel or a spreadsheet
With many people, let a spreadsheet do it. If the scores are in A2 to A11, put this formula in B2 and copy it down to get each person’s score.
=50 + 10 * (A2 - AVERAGE($A$2:$A$11)) / STDEV.P($A$2:$A$11)
You can also write it with the STANDARDIZE function, which performs standardization. The same formula works in both Excel and Google Sheets.
=STANDARDIZE(A2, AVERAGE($A$2:$A$11), STDEV.P($A$2:$A$11)) * 10 + 50
If you forget to lock the range with $, the range for the mean and standard deviation shifts as you copy down, and the scores go wrong. For a table whose rows keep growing, you can also expand the range automatically with OFFSET and COUNTA.
To get the share above a given deviation score under the normal-distribution assumption, with the score in C2, use the formula below. It returns a fraction (0.159 means 15.9%).
=1 - NORM.S.DIST((C2 - 50) / 10, TRUE)
This is only an estimate that assumes a normal distribution. To know a position within the actual data, find the rank with =RANK.EQ(A2, $A$2:$A$11) and divide by the number of people; that is more reliable.
Checking the article's numbers with Python
Save the code below as deviation.py and run python deviation.py. It was checked with Python 3.13.18 and uses only the standard library. statistics.pstdev returns the population standard deviation, statistics.stdev the sample standard deviation, and NormalDist computes the upper share of the normal distribution.
from statistics import NormalDist, fmean, pstdev, stdev
scores = [42, 44, 52, 57, 58, 60, 62, 69, 73, 83]
def deviation(x, mean, sd):
return 50 + 10 * (x - mean) / sd
mean, sd = fmean(scores), pstdev(scores)
print("mean", mean, "population SD", sd, "sample SD", round(stdev(scores), 2))
for x in scores:
print(x, f"{deviation(x, mean, sd):.1f}")
print("83 (sample SD)", f"{deviation(83, mean, stdev(scores)):.1f}")
print("Test A, 75", deviation(75, 60, 12))
print("Test B, 75", deviation(75, 60, 6))
z = NormalDist()
for t in (40, 45, 50, 55, 60, 65, 70, 75, 80):
print(f"above {t}", f"{1 - z.cdf((t - 50) / 10):.2%}")
ceiling = [100] * 60 + [0] * 40
print("60 perfect scores", f"{deviation(100, fmean(ceiling), pstdev(ceiling)):.1f}")
single = [100] + [0] * 99
print("only one scores 100", f"{deviation(100, fmean(single), pstdev(single)):.1f}")
The mean is 60.0, the population standard deviation 12.0, the score for 83 is 69.2, the share above 60 is 15.87%, and the 60-perfect-scores case gives 58.2. The f-strings round the output to a consistent number of digits. Python’s round() does not always round halves up, so if you need correctly rounded values, use the method in why Python’s round() does not round half up.
A deviation score is a tool for expressing your position with two numbers: the mean and the spread. Knowing the shape of the formula gives you a way to think, when told “your score went up by 5,” about whether your points rose or the distribution around you changed. If you get stuck on the percentage or change-rate calculations themselves, the percentage calculation article can help.