Skip to content

§ V · Statistics

Statistics Calculator

Mean, spread and quartiles with the arithmetic shown.

  • Updated 2026-11-25
  • Free · no sign-up
  • Runs in your browser
Statistics calculatorexact sums · sample and population spread

Fractions are accepted too: 1/2, 3/4, 5/8. The sums stay exact, so a mean of 19/6 is reported as 19/6.

Mean

372

Sample SD

√411010

≈ 6.41092817

Median

332

Count n6
Sum Σx111
Sum of squares Σx²2259
Mean x̄37/2
Median33/2
First quartile Q₁15
Third quartile Q₃21
Interquartile range6
Minimum12
Maximum30
Sample variance s²411/10
Population variance σ²137/4
Sample SD s√4110/10 ≈ 6.41092817
Population SD σ√137/2 ≈ 5.852349955

Sorted

12, 15, 15, 18, 21, 30

Distance from the mean

−13/2, −7/2, −7/2, −1/2, 5/2, 23/2

Mode: 15 (2 times each)

Try one

Compared with a basic calculator

TaskBasic calculatorThis page
DataAccumulate values manuallyA list of up to 5,000 rational values
SpreadRe-enter formulasSample and population variance and deviation
ResultsDecimal summaryExact fractions and surds where supported

How to use it

§ How to use
  1. 01

    Paste the numbers separated by commas, spaces or new lines. Fractions such as 1/2 are accepted alongside decimals.

  2. 02

    Read the three headline figures: mean, sample standard deviation and median.

  3. 03

    The table gives every measure exactly, with a decimal only where the exact value has no short form.

  4. 04

    The sorted list and the distances from the mean at the bottom are what the variance is built from.

Exact sums, exact spread

§ 02

Descriptive statistics on numbers that were written exactly.

DataFloating pointShowSteps
1, 2, 3, 4mean 2.5mean 5/2, s = √15/3
1/2, 3/4, 5/8mean 0.625 with driftmean 5/8 exactly
0.1 × 15 valuessum 1.4999999999999998sum 3/2

The formulas behind the table

§ 03

The panel prints the intermediate sums, not just the answer, so the numbers can be checked:

x̄ = Σx / n

s² = Σ(x − x̄)² / (n − 1)

σ² = Σ(x − x̄)² / n

The standard deviation is the square root of the variance. Because the variance stays exact, so does its root whenever the variance is a perfect square of a rational — for 1, 2, 3, 4 the answer is √15/3 rather than 1.2909944487358056.

Position, not just centre

Mean and standard deviation describe a symmetric bell. Real data rarely is, which is why the median, the quartiles and the interquartile range are printed alongside: they survive a single extreme value that would drag the mean across the page.

Deviations are printed too

Each value's distance from the mean is listed. It makes the variance formula physical: the variance is the average of those squared distances, and seeing them is usually what turns the formula into something memorable.

Questions

§ 04
Should I use the sample or the population standard deviation?
Use the sample version (divide by n − 1) when the numbers are a sample drawn from something larger; use the population version (divide by n) when they are the whole set. Both are printed so you can take the one your course or report requires.
How are the quartiles calculated?
By Tukey hinges: split the sorted data at the median, and take the median of each half. When n is odd the middle value is excluded from both halves. Some software uses a different interpolation, which is why quartiles occasionally disagree between tools; the method is stated so the difference is explainable.
What counts as an outlier?
Any value below Q₁ − 1.5·IQR or above Q₃ + 1.5·IQR. That is the usual box-plot rule, and the flagged values are listed rather than removed.
Why are the sums exact?
Because each value is kept as a fraction and added as a fraction. Adding 0.1 fifteen times in floating point gives 1.4999999999999998; here it gives 3/2.
Does it compute the mode?
Yes, when a value repeats. If every value is different there is no mode, which the panel reports by simply not showing one.
Can I paste a column from a spreadsheet?
Yes. Values separated by commas, spaces or new lines are all accepted, so a column pasted from a spreadsheet works as it is.
Does it do regression or hypothesis tests?
Not yet. This panel is descriptive statistics: centre, spread and position. A regression tool with R² and residuals is planned.
Does it accept negative numbers and fractions?
Yes. Values are read as exact fractions, so -2, 3/4 and 0.125 can sit in the same list, and the mean comes back as a fraction rather than a rounded decimal.

ShowSteps

Free calculators with exact fractions, simplified surds and recorded working, so you can check supported calculations.

© 2026 ShowSteps ·