Score and statistics tools: find the calculator for your question

Start from the question, then pick the tool: where a score sits in a group (Z, T, PR, class rank), how several scores combine into one number (semester grade, weighted average, teacher exam), or how to describe and compare data (standard deviation, t test). Each tool page has worked examples, sources and a last-reviewed date.

Where does my score sit in the group

Z and T scores need the group mean and standard deviation; PR and class rank use counts or rank and do not. All four describe position, but they take different inputs and cannot be swapped: T = 50 + 10z, T is not a percentage and is not PR.

How do several scores combine into one number

When coursework, midterms and finals carry different weights, a simple average is wrong; use the weights or credits. How weights are set and how decimals are rounded is up to your school or the exam notice; the tools only apply the rule you enter.

How spread out is the data, and do two groups differ

Use the standard deviation to see how spread out one set of scores is; to compare two classes or two methods, put each group’s n, mean and SD into the t test. The SD comes in population and sample versions, depending on whether you hold the whole group or a sample.

Picking, grouping, ordering and gift exchange in class

This tool does not compute grades; it only decides whose turn it is: draw names without repeats, split into groups by number or size, shuffle a presentation order, or match a gift exchange where nobody draws themselves.

Four steps to the right tool

If you are unsure where to start, ask yourself these in order; step two usually settles which calculator to use.

  1. Look at what data you hold: your score plus the class mean and SD means Z or T; every student’s score lets you compute PR and SD; only a rank and a head count means the class-rank converter.
  2. Decide the question: “where do I stand” is Z, T or PR; “how do several scores combine” is weighted average, semester grade or teacher-exam conversion; “do two groups differ” is SD first, then the t test.
  3. Confirm where the rule comes from: your school’s grading rules or the exam notice come first; the tools only apply the weights and rounding you enter.
  4. Cross-check in a spreadsheet: paste the functions from the table above into Excel or Google Sheets and compare with the calculator before you quote the result.

Formulas, use cases and spreadsheet functions

The seven most-asked measures side by side: formula, when to use it, how to compute it in Excel or Google Sheets, and the matching calculator. X is a raw score and a range is the cells holding the scores.

Formulas, use cases, spreadsheet functions and tools for score statistics
MeasureFormulaWhen to use itExcel / Google SheetsTool
Z score Z = (X − M) ÷ SD To see how many SDs a score is above or below the mean, or to compare different subjects on one scale. Needs the mean M and SD of the same group. =STANDARDIZE(X, 平均, 標準差)
T score T = 50 + 10 × Z To put a score on the mean-50, SD-10 scale for reports and notices. T is not a percentage and is not PR. =50+10*STANDARDIZE(X, 平均, 標準差)
Percentile rank (PR) PR = 100 × (B + 0.5 × E) ÷ N To see roughly what share of people scored below you. B = number below, E = tied (including you), N = total; with only a rank, use the class-rank converter. =(COUNTIF(範圍,"<"&X)+0.5*COUNTIF(範圍,X))/COUNT(範圍)*100
Standard deviation σ = √[Σ(x − μ)² ÷ N] s = √[Σ(x − x̄)² ÷ (n − 1)] To describe how spread out scores are; it is also the denominator of Z and T. Use σ when you hold the whole group, s when the data is a sample. =STDEV.P(範圍) 或 =STDEV.S(範圍)
Weighted average x̄w = Σ(wᵢ × xᵢ) ÷ Σwᵢ When items carry different weight: credits per subject, coursework vs exam shares, classes of different size. Weights need not sum to 100. =SUMPRODUCT(分數範圍, 權重範圍)/SUM(權重範圍)
Teacher-exam score conversion 總成績 = Σ(各項成績 × 簡章配分) ÷ Σ配分 To combine written, teaching-demo and interview scores by the notice’s weights, rounded as the notice says. Weights and any T-score step follow the notice for that year. =ROUND(SUMPRODUCT(成績範圍, 配分範圍)/SUM(配分範圍), 2)
Independent-samples t test t = (M₁ − M₂) ÷ √(s₁²÷n₁ + s₂²÷n₂)(Welch) To compare the means of two unrelated classes or methods and judge whether the gap is real or sampling noise. Needs each group’s n, mean and sample SD. =T.TEST(組1範圍, 組2範圍, 2, 3)(Welch 雙尾 p 值)

Three reproducible worked checks

The classes and scores below are invented to show the calculation. Each number was computed with the same formula the tools use; enter the same values in the linked calculator to reproduce it.

Check 1: maths vs English, which sits higher

An invented student scores 82 in maths (class mean 70, SD 10) and 76 in English (class mean 64, SD 8); both subjects are assumed roughly normal.

  1. Maths: Z = (82 − 70) ÷ 10 = 1.20; T = 50 + 10 × 1.20 = 62; under normality PR ≈ 88.5 (Φ(1.20) = 0.8849).
  2. English: Z = (76 − 64) ÷ 8 = 1.50; T = 50 + 10 × 1.50 = 65; under normality PR ≈ 93.3 (Φ(1.50) = 0.9332).

English has the lower raw score but a T score 3 points higher, because the class mean and SD are lower. This PR holds only under normality; for a PR from real head counts use the midpoint formula.

Check 2: population vs sample SD on the same scores

Five quiz scores: 72, 85, 68, 90, 75 (invented).

  1. Mean = (72 + 85 + 68 + 90 + 75) ÷ 5 = 78; deviations are −6, +7, −10, +12, −3 and the sum of squares is 36 + 49 + 100 + 144 + 9 = 338.
  2. Population SD σ = √(338 ÷ 5) = √67.6 = 8.22; sample SD s = √(338 ÷ 4) = √84.5 = 9.19.
  3. In a spreadsheet, =STDEV.P(A2:A6) gives 8.22 and =STDEV.S(A2:A6) gives 9.19.

The n − 1 version is larger on the same data. Use σ when the class is the whole group for its own Z and T scores; use s only when you are inferring about a larger group.

Check 3: a 5-point gap between two classes

Class A: n = 30, mean 75, sample SD 10. Class B: n = 28, mean 70, sample SD 12 (invented). Welch t test, two-tailed, α = .05.

  1. Standard error = √(10² ÷ 30 + 12² ÷ 28) = √(3.3333 + 5.1429) = √8.4762 = 2.911.
  2. t = (75 − 70) ÷ 2.911 = 1.717; Welch df = 52.72; two-tailed p = .092; 95% CI of the difference is −0.84 to 10.84.
  3. For comparison, Student’s t (equal variances) gives t = 1.728, df = 56, p = .089; same conclusion.

p > .05 and the interval contains 0, so with these sample sizes a 5-point gap cannot be separated from sampling noise. That is not proof of no difference, only insufficient evidence; report n, means, SDs and p.

Six common mix-ups

Sources for the formulas and functions