Math

Statistics calculator

Mean, median, mode, standard deviation, variance, quartiles and range for any list of numbers.

Example figures shown. Replace them with yours.

Mean (average)

18

6 values

Count
6
Sum
108
Median
15.5
Mode
None (no value repeats)
Standard deviation
13.490738
Variance
182
Minimum
4
Maximum
42
Range
38
Q1 / Q3
8 / 23
Interquartile range
15
Standard error of the mean
5.507571
Sorted values 6 rows
#Value
14
28
315
416
523
642

Saved scenarios

Save different inputs to compare them side by side.

No saved scenarios yet. Press “Save scenario” to keep the current inputs and result here.

How it’s calculated

Mean = sum ÷ count. The median is the middle value of the sorted list. Variance is the average squared distance from the mean, dividing by n − 1 for a sample or by n for a whole population; the standard deviation is its square root. Quartiles use the median of each half (Tukey’s method).

How to use the statistics calculator

  1. Enter your numbers: Numbers, The numbers are. Example figures are filled in to start.
  2. Read your result instantly: the mean (average) appears in the results panel, with a full breakdown underneath.
  3. Explore the sorted values below the result.
  4. Save as PDF, copy the results, or save a scenario to compare different inputs side by side.

Worked example

With these inputs: Numbers 4, 8, 15, 16, 23, 42; The numbers are A sample (divide by n − 1), the calculator shows Mean (average): 18 (6 values).

It also reports Count: 6; Sum: 108; Median: 15.5; Mode: None (no value repeats); Standard deviation: 13.490738.

How it’s calculated

Mean = sum ÷ count. The median is the middle value of the sorted list. Variance is the average squared distance from the mean, dividing by n − 1 for a sample or by n for a whole population; the standard deviation is its square root. Quartiles use the median of each half (Tukey’s method).

Last reviewed November 19, 2026. Results are estimates for planning, not financial, tax or medical advice.

Frequently asked questions

What is the difference between sample and population standard deviation?

Population standard deviation divides by n and is used when you have every value. Sample standard deviation divides by n − 1, which corrects for estimating from a subset.

How is the median found?

Sort the numbers and take the middle value. With an even count, the median is the average of the two middle values.

What are quartiles and the interquartile range?

Q1 and Q3 are the medians of the lower and upper halves of the sorted data. The interquartile range (Q3 − Q1) measures the spread of the middle 50% and is not affected by outliers.

Add this calculator to your website

Free for any website or blog. Paste this code into your page (in WordPress, use a Custom HTML block). It works on phones and desktops, resizes itself to fit, needs no sign-up, and shows no ads.

Preview the widget · All free widgets

Related calculators: Quadratic equation solverFraction calculatorBinary, hex & decimal converterScientific calculator

All calculators

Free, instant, and private. Every calculation runs in your browser, so nothing you type leaves your device.

Finance

Mortgage calculatorMonthly house payment with tax, insurance, PMI and HOA, extra payments, affordability and a full schedule.Loan calculatorMonthly payment, true cost with fees, and how extra payments shorten your loan.Compound interest calculatorGrow a balance with monthly deposits, rising contributions, any compounding, and inflation-adjusted results.Savings goal calculatorWhat to save each month, each week, or all at once to hit a target by a date.Retirement calculatorProject your nest egg, the income it can pay, and how long it lasts at your planned spending.Refinance calculatorCompare your current mortgage with a new one, including points and cash-out, and find your break-even.Rental property calculatorCash flow, cap rate, cash-on-cash, DSCR, the 1% rule and total return over your holding period.Credit card payoff calculatorYour payoff date, the payment needed for a target date, and what minimum payments really cost.Inflation calculatorWhat things will cost later, what your money will be worth, and the raise you need to keep up.Salary to hourly calculatorConvert pay between every period, add overtime, and estimate take-home pay.Auto loan calculatorCar payment with sales tax, fees, down payment and trade-in, plus the total cost of the car.Home affordability calculatorHow much house you can afford from your income, debts, down payment and rate, using lender debt-to-income limits.Investment return calculatorTotal return (ROI) and annualized growth rate (CAGR) of an investment, including income received.Debt payoff calculatorPlan payoff for up to three debts with the avalanche or snowball method, and see which one saves more.

Business

Everyday

Health & fitness

Math