PMT Function in Excel — With Examples (Loan Payment, Mortgage, Savings)
Learn the PMT function in Excel: monthly loan and mortgage payments, the negative sign, total interest, and savings goals.
Read Guide →You scored 85 on an exam. Is that good? It depends on the class: if the average was 70, it is very good; if the average was 90, it is below average. A z-score answers that question in one number: how many standard deviations the value sits from the mean. A z-score of 1.5 means the value is 1.5 standard deviations above the mean, and in a roughly normal group that puts it at about the 93rd percentile. Excel has a function for it — STANDARDIZE — and this guide gives you that formula first, works it through on five scores with a by-hand check, and covers the percentile, comparing scores on different scales, and the outlier rule.
Quick takeaway: a z-score is how many standard deviations from the mean.
=STANDARDIZE(x, mean, standard_dev) — the z-score in one function.=(A2-AVERAGE($A$2:$A$6))/STDEV.S($A$2:$A$6) — the same answer, written out.=NORM.S.DIST(z, TRUE) — the percentile: the share of the group below the value.
=STANDARDIZE(A2, B2, C2)
| Part | What it does |
|---|---|
A2 | The value — the data point you are scoring |
B2 | The mean of the group |
C2 | The standard deviation of the group |
In words: z = (x − μ) ÷ σ, where x is the value, μ is the mean and σ is the standard deviation. STANDARDIZE does the subtraction and the division in one function. With sample data, use the sample mean and the sample standard deviation — STDEV.S in Excel. The formula is the same either way.
Five exam scores in A2:A6: 70, 75, 80, 85, 90.
=AVERAGE(A2:A6) gives 80.=STDEV.S(A2:A6) gives 7.9057.=STANDARDIZE(A2, $B$2, $C$2), filled down — with the mean and standard deviation locked by $ signs so they do not move:| Score | z-score | What it means |
|---|---|---|
| 70 | −1.26 | 1.26 standard deviations below the mean |
| 75 | −0.63 | 0.63 standard deviations below the mean |
| 80 | 0.00 | Exactly average |
| 85 | 0.63 | 0.63 standard deviations above the mean |
| 90 | 1.26 | 1.26 standard deviations above the mean |
Check one by hand: (85 − 80) / 7.9057 = 5 / 7.9057 = 0.63. The full guide to the standard deviation itself is the standard deviation formula article, and the full guide to the average is the average formula article.
In a roughly normal (bell-shaped) group, the z-score tells you where the value sits:
| z-score | What it means | Share of the group inside |
|---|---|---|
| Between −1 and 1 | Typical | About 68% |
| Between −2 and 2 | Unusual at the edges | About 95% |
| Between −3 and 3 | Rare at the edges | About 99.7% |
So a z-score of 1.5 means the value is 1.5 standard deviations above the mean — outside the typical band, but not extreme. A z-score of −2 means two standard deviations below the mean, and only about 2.3% of a normal group is lower. For skewed data, the z-score still measures distance from the mean, but its percentile can be off — the percentile reading needs the bell shape.
The percentile is the share of the group below the value. In Excel, it is one more function:
=NORM.S.DIST(z, TRUE)
A class’s exam scores have a mean of 70 and a standard deviation of 10. You scored 85. Your z-score is (85 − 70) / 10 = 1.5. =NORM.S.DIST(1.5, TRUE) gives 0.9332 — about 93% of the class scored lower, so you are at roughly the 93rd percentile. Other landmarks: an IQ of 85 (mean 100, SD 15) gives z = −1, and =NORM.S.DIST(−1, TRUE) gives 0.1587 — about 15.9% scored lower.
Z-scores really earn their keep when two numbers are not directly comparable. Say you scored 1,250 on the SAT (mean 1,050, SD 200) and a friend scored 27 on the ACT (mean 21, SD 5.5):
| Test | Score | Mean | SD | z-score |
|---|---|---|---|---|
| SAT | 1,250 | 1,050 | 200 | 1.00 |
| ACT | 27 | 21 | 5.5 | 1.09 |
Your SAT z-score is (1,250 − 1,050) / 200 = 1.00. Your friend’s ACT z-score is (27 − 21) / 5.5 = 1.09. The friend’s score is slightly better relative to its group — even though 1,250 looks bigger than 27. (The means and standard deviations here are round illustrative figures; use the current published norms for real comparisons.)
The question that follows “what percentile am I in” is “what score do I need for the top 10%”. Work it backwards: the z-score for the 90th percentile is 1.2816, and the score is mean + z × SD.
An exam has a mean of 72 and a standard deviation of 8. The score for the top 10% is 72 + 1.2816 × 8 = 82.25, about 82.3. In Excel, =NORM.S.INV(0.9) gives the z-score 1.2816, and =72 + NORM.S.INV(0.9) * 8 gives the score directly.
| z-score | Verdict |
|---|---|
| |z| under 1 | Typical |
| |z| between 1 and 2 | Unusual, but common enough |
| |z| above 2 | Unusual — only about 5% of values are this far out |
| |z| above 3 | Rare — about 0.3%. Check whether it is an error or a genuine outlier |
To flag them in a column, use =IF(ABS(STANDARDIZE(A2, $B$2, $C$2))>3, "Check", "") and fill it down. A z-score above 3 is a signal to look, not a verdict — it may be a typo, or it may be the most interesting value in the data.
| Mistake | What happens | Fix |
|---|---|---|
| You used STDEV.P instead of STDEV.S | The z-scores are slightly too big — the standard deviation is smaller | Use STDEV.S for a sample |
| You did not lock the mean and standard deviation | They move as you fill down, and every row is wrong | Use $ signs: $B$2, $C$2 |
| You read the percentile on skewed data | The percentile is off — the normal curve does not fit | The z-score still measures distance, but only trust the percentile on bell-shaped data |
| You compared raw scores on different scales | 1,250 looks better than 27, but the z-scores say otherwise | Compare z-scores, not raw scores |
| You treated a z-score above 3 as proof of an error | It may be a genuine outlier | Check it, do not delete it |
What is the z score formula in Excel? =STANDARDIZE(x, mean, standard_dev). For example, a score of 85 with a mean of 70 and a standard deviation of 10 gives z = 1.5. Or write it out: =(x − AVERAGE(range)) / STDEV.S(range).
What does a z-score of 1.5 mean? The value is 1.5 standard deviations above the mean. In a roughly normal group, about 93% of values are below it — the 93rd percentile.
What does a negative z-score mean? The value is below the mean. A z-score of −1 means one standard deviation below the mean; about 15.9% of a normal group is lower.
How do I turn a z-score into a percentile in Excel? =NORM.S.DIST(z, TRUE). For z = 1.5, it gives 0.9332 — the 93rd percentile.
Should I use STDEV.S or STDEV.P in the z-score formula? STDEV.S, when the data is a sample. STDEV.P is for a whole population, and it makes the z-scores slightly too big.
How do I calculate z-scores for a whole column? Compute the mean and standard deviation once, lock them with $ signs, and fill down: =STANDARDIZE(A2, AVERAGE($A$2:$A$31), STDEV.S($A$2:$A$31)).
How do I find outliers with z-scores? Flag values with |z| above 3 — about 0.3% of a normal group. Check whether each one is an error or a genuine outlier.
That is the z-score formula in Excel: STANDARDIZE, with the value, the mean and the standard deviation — one function that does the subtraction and the division for you. The number it gives you is a distance in standard deviations: 0 is exactly average, positive is above, negative is below, and the 68-95-99.7 rule tells you how typical the value is. Remember the two things that matter: use STDEV.S for a sample, not STDEV.P, and lock the mean and standard deviation with $ signs when you fill the formula down a column. And remember what the z-score is for: comparing values that cannot be compared raw — a 1,250 on the SAT and a 27 on the ACT, where the z-scores, 1.00 and 1.09, say the ACT score is slightly better. From here, the next statistics to learn are the ones this formula is built on — the standard deviation formula, the average formula, the weighted average formula and the standard error formula — and the full learning order for the whole site is on the Excel Formulas hub.
Learn the PMT function in Excel: monthly loan and mortgage payments, the negative sign, total interest, and savings goals.
Read Guide →Learn the percentile formula in Excel: 90th, 75th and 95th percentiles, quartiles, and PERCENTILE.INC vs EXC — with worked examples.
Read Guide →Learn the p value formula in Excel: T.TEST, what 0.05 means, one-tailed vs two-tailed, and the mistakes to avoid.
Read Guide →