Class Average & Test Score Statistics
Paste scores once — get mean, median, SD, range, and pass rate with transparent formulas.
Class statistics
- 1.n = 8
- 2.Mean = 54.13; Median = 52; SD = 16.18
- 3.Pass rate = 8/8 ≥ 33
Which statistics are computed
Core measures
Mean = sum ÷ n. Median = middle value (average of two middles if n is even). Sample SD uses n−1 in the denominator.
Pass rate = (scores ≥ passMark) ÷ n × 100.
Source
Descriptive statistics: arithmetic mean, sample standard deviation (n−1), median of sorted scores. Pass rate uses your pass mark threshold.
Frequently asked questions
Why sample SD instead of population SD?
A class is usually treated as a sample for internal analysis. Population SD (÷ n) would be slightly lower.
Can I include absent students as zero?
Only if your policy awards zero. Otherwise omit them so averages are not artificially depressed.
Does it show quartiles?
This version focuses on mean/median/SD/range/pass rate — enough for most unit-test reviews.
What pass mark should I use?
Often 33% or 40% of max marks depending on board/school policy — enter the absolute mark, not the percentage.
For developers & AI agents
The Class Average / Test Score Statistics Calculator is also available as a free, unauthenticated JSON API — no API key, no sign-up, CORS enabled for all origins. Send a GET request with the parameters below and receive the computed result as JSON, including the source of the format or formula used. Invalid input returns HTTP 400 with a JSON { "error": "..." } body.
GET https://knwdle.com/api/tools/class-average-test-score-statistics-calculator| Parameter | Required | Description |
|---|---|---|
scores | Yes | Comma-separated scores |
passMark | No | Pass threshold (default 33) |
maxMarks | No | Optional maximum for percentage display |
Request:
GET https://knwdle.com/api/tools/class-average-test-score-statistics-calculator?scores=45,62,38,71,55,49,80,33&passMark=33&maxMarks=100
Response:
{
"tool": "class-average-test-score-statistics-calculator",
"name": "Class Average / Test Score Statistics Calculator",
"source": "Descriptive statistics: arithmetic mean, sample standard deviation (n−1), median of sorted scores. Pass rate uses your pass mark threshold.",
"n": 8,
"mean": 54.13,
"median": 52,
"stdDev": 16.18,
"min": 33,
"max": 80,
"passMark": 33,
"passed": 8,
"passRatePct": 100,
"meanPctOfMax": 54.13,
"steps": [
"n = 8",
"Mean = Σ scores ÷ n = 54.13",
"Median = 52",
"Sample SD = 16.18",
"Pass rate = 8/8 ≥ 33 = 100%"
]
}