Statistics calculators for data and probability

Find the average of a list of numbers, paste a data set to get the mean, median, mode and standard deviation with the working shown, fit a regression line, or find normal, binomial and Poisson probabilities and z-scores. Pick a calculator below, or find your question in the table under the cards. Every tool is free and needs no sign-up.

8 calculatorsBy Hira Noor, mathematicianLast reviewed

Calculators in Statistics & Probability

Average Calculator

The average (mean) of a list of numbers with steps, plus weighted averages and the score needed for a target.

Statistics Calculator

Mean, median, mode, five-number summary, IQR, outliers and SD with steps, a histogram and a box plot.

Which statistics calculator do I need?

Find your question in the first column. Each Try link opens the calculator with that example filled in, and the result column shows what it returns.

Sharing a problem with a class

Every Try link, and the Share button under any result, opens the calculator with the same numbers filled in. Send one to a class or study group and everyone starts from the same problem.

Statistics and probability tasks, an example of each, its result and the calculator to use
TaskExampleResultCalculator
Average (mean) of a list, a weighted average, or the score needed for a target85, 92, 78, 90 Try this averageAverage 86.25 (345 ÷ 4)Average calculator
Mean, median, mode, quartiles and outliers of a data set12, 15, 11, 18, 22, 15, 9, 14, 15, 27, 13, 19 Try this data setMean 15.83, median 15, mode 15Statistics calculator
Sample or population standard deviation and variance2, 4, 4, 4, 5, 5, 7, 9 Try these valuess ≈ 2.138, σ = 2Standard deviation calculator
Probability between two values of a normal distributionP(85 < X < 115), μ = 100, σ = 15 Try this normal probability0.6827Normal distribution calculator
z-score and tail probabilityx = 130, μ = 100, σ = 15 Try this z-scorez = 2, P(X > 130) = 0.0228Normal distribution calculator
Value at a percentile (inverse normal)95th percentile, μ = 100, σ = 15 Try this percentilex ≈ 124.67 (z ≈ 1.645)Normal distribution calculator
Line of best fit, correlation and predictions8 (x, y) points, predict at x = 10 Try this regressiony = 47.79 + 4.048x, r = 0.997, ŷ = 88.26Regression calculator
Successes in a fixed number of yes/no trialsAt least 8 of 20, p = 0.25 Try this binomial probabilityP(X ≥ 8) = 0.1018Binomial distribution calculator
Count of events in an interval, at an average rateExactly 6 calls when 4 per hour is average Try this Poisson probabilityP(X = 6) = 0.1042Poisson distribution calculator
Ways to choose or arrange itemsChoose 3 of 10 Try this count10C3 = 120, 10P3 = 720Combinations and permutations calculator

The statistics calculator and the standard deviation calculator both find the standard deviation. Use the statistics calculator for a full summary of a data set in one go. Use the standard deviation calculator when you need the table of deviations and squared deviations that a homework answer asks you to show.

What is descriptive statistics?

Descriptive statistics summarize a data set with a few numbers and charts, so you can see its center, its spread and its shape without reading every value. They describe only the data you have. They do not, on their own, tell you anything about a larger group the data came from.

Five common examples are the mean, the median, the mode, the range and the standard deviation. The table below gives each one for the data set 12, 15, 11, 18, 22, 15, 9, 14, 15, 27, 13, 19, as returned by the statistics calculator.

Descriptive statistics of 12 values, with what each one measures
StatisticMeasuresHow it is foundValue
Mean (x¯\bar{x})CenterSum of the values divided by how many there are: 190 ÷ 1215.83
MedianCenterMiddle of the sorted list; with 12 values, the average of the 6th and 7th15
ModeMost common valueThe value that appears most often (3 times)15
RangeSpreadLargest minus smallest: 27 − 918
Interquartile range (IQR)Spread of the middle halfQ3−Q1=18.5−12.5Q_3 - Q_1 = 18.5 - 12.5 (median of halves)6
Sample standard deviation (ss)Typical distance from the mean∑(x−x¯)2/(n−1)\sqrt{\sum (x - \bar{x})^2 / (n - 1)}5.006
SkewnessShapePositive when the right tail is longerPositive (27 pulls the tail right)

Descriptive vs inferential statistics

Descriptive statistics report what is in your data: this class of 30 students had a mean score of 72. Inferential statistics use a sample to draw conclusions about a larger population, with a stated level of uncertainty: the mean score of all students is probably between 69 and 75. Confidence intervals, hypothesis tests and p-values are inferential tools, and they rest on probability distributions such as the normal distribution.

Probability calculators: which distribution fits your question?

For a single event with equally likely outcomes, probability is the number of outcomes you want divided by the total number of outcomes. Rolling a 6 on a fair die has probability 16≈0.1667\frac{1}{6} \approx 0.1667. Questions about many trials, continuous measurements or counts over time need a probability distribution. Use this table to pick one.

Probability distributions, when each applies and the calculator for it
DistributionUse it whenParametersCalculator
NormalThe quantity is measured on a continuous scale and is roughly bell-shaped: heights, test scores, measurement errorsMean μ and standard deviation σNormal distribution calculator
BinomialYou count successes in a fixed number n of independent yes/no trials, each with the same chance pn and pBinomial distribution calculator
PoissonYou count events in a fixed interval of time or space, and they happen independently at an average rate λλ (the average count)Poisson distribution calculator
Counting (combinatorics)Every outcome is equally likely, and you need how many ways something can happenn items, r chosenCombinations and permutations calculator

Counting and probability work together. The chance of exactly 5 heads in 10 fair coin flips is the number of ways to choose which 5 flips are heads, (105)=252\binom{10}{5} = 252, divided by all 210=10242^{10} = 1024 outcomes, which is 0.2461. The binomial distribution calculator gives the same answer directly.

Worked examples with steps

These are the steps the calculators show for each example. Follow the link under each one to open the same problem, then change the numbers to your own.

Mean, median and standard deviation of a data set

Summarize 12, 15, 11, 18, 22, 15, 9, 14, 15, 27, 13, 19.

  1. Sort the data

    9, 11, 12, 13, 14, 15, 15, 15, 18, 19, 22, 27. There are n = 12 values, and they add up to 190.

  2. Find the mean and median

    Mean =19012≈15.83= \frac{190}{12} \approx 15.83. With an even count, the median is the average of the 6th and 7th values: 15+152=15\frac{15 + 15}{2} = 15.

  3. Add up the squared deviations

    Subtract the mean from each value, square the result and add: ∑(x−x¯)2≈275.67\sum (x - \bar{x})^2 \approx 275.67.

  4. Divide and take the square root

    For a sample, divide by n−1=11n - 1 = 11: s2≈25.06s^2 \approx 25.06 and s≈5.006s \approx 5.006. For a whole population, divide by n=12n = 12 instead: σ≈4.793\sigma \approx 4.793.

AnswerMean 15.83, median 15, mode 15 and sample standard deviation 5.006. The outlier fences are 3.5 and 27.5, so the 27 is high but not an outlier. Open it in the statistics calculator.

Normal probability between two values

IQ-style scores have mean μ = 100 and standard deviation σ = 15. What share of scores fall between 85 and 115?

  1. Convert each value to a z-score

    z=x−μσz = \frac{x - \mu}{\sigma}, so 85 becomes 85−10015=−1\frac{85 - 100}{15} = -1 and 115 becomes +1+1.

  2. Look up the cumulative probabilities

    The area to the left of z = 1 is 0.8413, and to the left of z = −1 it is 0.1587.

  3. Subtract

    0.8413−0.1587=0.68270.8413 - 0.1587 = 0.6827. This is the 68% part of the 68–95–99.7 rule: about 68% of a normal distribution lies within one standard deviation of the mean.

Normal distribution with mean 100 and SD 15, shaded from 85 to 115
6080100120140x
The shaded area is P(85 < X < 115) = 0.6827.
AnswerP(85 < X < 115) = 0.6827, or about 68%. Open it in the normal distribution calculator.

Binomial probability of at least k successes

A multiple-choice quiz has 20 questions with 4 options each. If you guess every answer, what is the chance of getting at least 8 right?

  1. Identify n and p

    There are n = 20 independent guesses, each correct with probability p = 1/4 = 0.25.

  2. Use the binomial formula

    P(X=k)=(nk)pk(1−p)n−kP(X = k) = \binom{n}{k} p^k (1 - p)^{n - k}. For example, P(X=5)≈0.2023P(X = 5) \approx 0.2023, the most likely single score.

  3. Add the upper tail

    P(X≥8)=1−P(X≤7)≈0.1018P(X \ge 8) = 1 - P(X \le 7) \approx 0.1018. The expected score is np=5np = 5, with standard deviation np(1−p)≈1.936\sqrt{np(1 - p)} \approx 1.936.

AnswerP(X ≥ 8) ≈ 0.1018, about a 1 in 10 chance. Open it in the binomial distribution calculator.

Linear regression and a prediction

Fit a straight line to x = 1 to 8 and y = 52, 55, 61, 64, 68, 71, 77, 80, then predict y at x = 10.

  1. Find the means

    x¯=4.5\bar{x} = 4.5 and y¯=66\bar{y} = 66.

  2. Find the slope

    b=∑(x−x¯)(y−y¯)∑(x−x¯)2=17042≈4.048b = \frac{\sum (x - \bar{x})(y - \bar{y})}{\sum (x - \bar{x})^2} = \frac{170}{42} \approx 4.048.

  3. Find the intercept

    a=y¯−bx¯=66−4.048×4.5≈47.79a = \bar{y} - b\bar{x} = 66 - 4.048 \times 4.5 \approx 47.79, so the line is y=47.79+4.048xy = 47.79 + 4.048x.

  4. Check the fit and predict

    The correlation is r ≈ 0.997 and r² ≈ 0.994, so the line explains about 99.4% of the variation in y. At x = 10 it predicts y^≈88.26\hat{y} \approx 88.26.

Answery = 47.79 + 4.048x, with ŷ ≈ 88.26 at x = 10. x = 10 lies outside the data range, so treat the prediction with care. Open it in the regression calculator.

Online statistics calculator vs a TI-84 or Casio

Many statistics courses ask for a handheld calculator. A graphing model such as the TI-84 Plus, or a scientific model with a statistics mode such as many Casio fx calculators, finds summary statistics, regression lines and normal or binomial probabilities. The calculators on this page do the same work and add what a small screen cannot: every step written out, a chart of the probability, and data pasted straight from a spreadsheet.

TI-84 statistics commands and where to do the same thing here
TI-84 commandWhat it doesHere
1-Var StatsMean, standard deviation, quartiles of a listStatistics calculator
LinReg(a+bx)Line of best fit and rRegression calculator
normalcdf, invNormNormal probabilities and percentilesNormal distribution calculator
binompdf, binomcdfBinomial probabilitiesBinomial distribution calculator
poissonpdf, poissoncdfPoisson probabilitiesPoisson distribution calculator
nCr, nPrCombinations and permutationsCombinations and permutations calculator
T-Test, TIntervalt-tests and confidence intervalsNot available yet

Prefer typing commands? The scientific calculator has normalcdf, invnorm, binompdf, binomcdf, poissonpdf and poissoncdf with the same argument order as a TI graphing calculator, so normalcdf(-1.96, 1.96) gives about 0.95. The normal distribution function guide lists them all, with the PDF and CDF formulas.

Check your exam rules first

Courses and exams often require, allow or ban particular handheld models, and websites are rarely allowed in an exam room. Check your syllabus or the exam rules before you buy a calculator or rely on an online one.

There is nothing to download. To open these calculators in one tap on a phone, add the site to your home screen. The shortcut opens the website, so it needs an internet connection.

What these calculators do not cover yet

Being clear about limits saves you time. These are not available yet:

  • t-tests, chi-square tests and ANOVA
  • Confidence interval and sample size calculators
  • t, F and chi-square tables
  • Regression with more than one x variable

For a z-test you can still find the p-value with the normal distribution calculator. With μ = 0 and σ = 1, the area outside ±1.96 is 0.05.

About these calculators

Paste data separated by commas, spaces or new lines, including a column copied from Excel or Google Sheets, up to 10,000 values. Where the sample and population versions of a statistic differ, both are shown with the formula for each. The statistics calculator lets you choose the quartile method, so Q1 and Q3 can match a TI-84 or Excel’s QUARTILE.INC.

The distribution calculators draw the probability you asked for as a shaded area or highlighted bars, so you can see what the number means. Probabilities come from the error function and the incomplete gamma and beta functions, and every result is checked against reference values by automated tests. The methodology page describes how.

Every stats calculator here is free, needs no account and runs in your browser, so the calculator never uploads your data. For a single value such as a mean on the fly, the scientific calculator has built-in statistics functions.

Frequently asked questions

Are these statistics calculators free, and do they show steps?

Yes. Every calculator here is free, needs no account and shows its working: the formulas and intermediate sums for the mean and standard deviation, z-scores for normal probabilities, and the least-squares sums for regression.

What is descriptive statistics?

Descriptive statistics are numbers and charts that summarize a data set: its center (mean, median, mode), its spread (range, interquartile range, standard deviation) and its shape (skewness, histogram). They describe the data you have, while inferential statistics use a sample to draw conclusions about a larger population.

Sample or population standard deviation: which should I use?

Use the sample version (dividing by n − 1) when your data are a sample drawn from a larger group. Use the population version (dividing by n) only when the data contain every member of the group you care about.

How do I calculate a probability?

For equally likely outcomes, divide the number of outcomes you want by the total number of outcomes. Drawing a heart from a 52-card deck is 13/52 = 0.25. For repeated trials, counts over time or measured values, use the binomial, Poisson or normal distribution calculator.

How do I find a z-score?

Subtract the mean from the value and divide by the standard deviation: z = (x − μ) / σ. A score of 130 with mean 100 and SD 15 has z = 2, so it is two standard deviations above the mean. The normal distribution calculator shows the z-score with every probability.

How accurate are the distribution probabilities?

They are computed from the error function and incomplete gamma and beta functions to roughly 14 significant digits, and checked against reference values in automated tests.

Can these calculators run a t-test or find a confidence interval?

Not yet. They cover descriptive statistics, regression, the normal, binomial and Poisson distributions, and counting. For a z-test, the normal distribution calculator gives the p-value from a z-score.