46 calculators

Statistics & Probability

Describe data, test it, and count the chances.

Within ±1σ68.27%
−2σ−1σμ+1σ+2σ
σStandard deviationHow spread out your numbers are around their mean, for a sample or a whole population.Top 100 · #59s²VarianceThe average squared distance of your numbers from their mean.Top 100 · #60zZ-scoreHow many standard deviations a value sits above or below the mean, and the share of a normal distribution below it.Top 100 · #66PPercentileThe value below which a given percentage of your data falls, and where any value ranks.Top 100 · #67QQuartilesThe three cut points that split your sorted data into four equal parts.Statsx̃MedianThe middle value of your data once it is sorted.Top 100 · #68MoModeThe value or values that appear most often in your data.Top 100 · #69PProbabilityThe chances of both, either, or neither of two independent events happening.Top 100 · #61nCrCombinationsHow many ways to choose r items from n when the order does not matter, exactly.Top 100 · #62nPrPermutationsHow many ordered arrangements of r items can be taken from n, exactly.Top 100 · #63CIConfidence intervalThe range that likely holds the true mean, from a sample mean, standard deviation and size.Top 100 · #64nSample sizeHow many responses a survey needs for a chosen confidence level and margin of error.Top 100 · #65pP-valueThe p-value for a z or t test statistic, one- or two-tailed.StatsrCorrelationPearson's r: how closely two sets of paired numbers follow a straight line.StatsŷLinear regressionThe least-squares line through paired data, its fit, and a prediction.Top 100 · #71NNormal distributionThe probability of a value below, above or between points on a normal curve.StatsBBinomialThe chance of exactly, at most or at least k successes in n independent tries.Statsx̄wWeighted averageThe average when some values count for more than others, such as graded coursework.Top 100 · #70GGeometric meanThe typical value of numbers that multiply together, such as growth rates.StatsHHarmonic meanThe right average for rates, such as speeds over equal distances.StatsIQRInterquartile rangeThe spread of the middle half of your data, and the fences that flag outliers.Stats5#Five-number summaryMinimum, first quartile, median, third quartile and maximum: the outline of a box plot.StatsCVCoeff. of variationThe standard deviation as a percentage of the mean, to compare spread across scales.Stats±Margin of errorThe plus-or-minus on a survey result, from the sample size and the share who answered.StatsRNGRandom numbersRandom whole or decimal numbers in any range, with or without repeats.Stats×2Doubling timeHow long something growing at a steady rate takes to double, the rate behind a doubling time, or the doubling time from two counts, such as a bacterial culture.StatstT-testOne-sample, paired, Student and Welch t-tests from your data or from means and standard deviations: t, degrees of freedom, p-values, confidence interval and the decision.Statsa:bOdds converterConvert between probability, fractional odds (5/2), decimal odds (3.5) and American odds (+250 or −150), or find the margin built into a set of odds.Statsd6Dice probabilityThe exact chance of rolling a total, at least or at most a total, or at least one chosen face, with any number of dice of any number of sides.StatsABA/B testThe visitors each variant needs to detect a lift in conversion rate, and whether a finished A/B test is significant: rates, uplift, z, p-value and a confidence interval.StatsLotLottery oddsThe exact odds of matching any number of balls in any lottery format, with a bonus ball from a second pool or the same one, raffle odds for your tickets, and the chance of winning at least once over many draws.StatsEVExpected valueThe expected value, variance and standard deviation of a set of outcomes and their probabilities: a bet, a game, a decision or any discrete random variable.StatsP|Bayes' theoremUpdate a probability with new evidence: the posterior P(A | B) from the prior, the true positive rate and the false positive rate, also told as natural frequencies.StatsHGHypergeometricThe chance of exactly, at most or at least k successes when you draw n items without putting them back: card hands, poker outs, quality samples.StatsλPoissonThe chance of exactly, at most or at least k events when they happen at an average rate: calls an hour, defects a metre, goals a match.Statsχ²Chi-square testChi-square goodness of fit or test of independence: χ², degrees of freedom, p-value and expected counts, with a warning when expected counts are small.StatsFOne-way ANOVAOne-way ANOVA from your group data: sums of squares, degrees of freedom, mean squares, the F statistic, its p-value and eta squared.StatsdEffect sizeCohen's d, Hedges' g and Glass's Δ from two groups' means, standard deviations and sizes, with r and the conventional benchmarks.StatsTPConfusion matrixAccuracy, precision (PPV), recall (sensitivity), specificity, NPV, F1 and Fβ, balanced accuracy, MCC and prevalence from the true and false positives and negatives of a diagnostic test or a classifier.StatsRRRelative riskRelative risk, odds ratio, risk difference and number needed to treat or harm from a 2 × 2 table, each with a confidence interval.StatsρSpearman & KendallSpearman's rank correlation (rho) and Kendall's tau-b from paired data, with tied values handled and p-values for each.Stats1−βStatistical powerThe power of a one-sample, paired or two-sample t-test from the effect size, sample size and α, or the sample size you need for a target power.StatsGeoGeometric distributionThe chance that the first success comes on trial k, within k trials or after more than k, with the mean and variance, counting either trials or failures before the first success.StatsExpExponential wait timesThe chance a wait is shorter, longer or between two times at a rate λ or mean 1 ÷ λ, any percentile, and the mean.StatsP=Birthday problemThe chance that at least two people in a group share a birthday, the group size for a target chance, and the chance of a hash collision among n items.StatsαCronbach's alphaCronbach's alpha for a questionnaire scale from a table of item scores, with alpha if each item is dropped and each item's correlation with the rest of the scale.Stats

About the statistics calculators

Statistics & Probability has 46 calculators for describing data, testing it and counting the chances: averages and standard deviation, z-scores and confidence intervals, t-tests, chi-square and ANOVA, A/B tests and sample sizes, combinations, odds, dice and lottery chances, and Bayes' theorem. They are built for students working through a course, analysts checking a result, and anyone curious about the odds of a game.

Each calculator shows the formula it uses and works through the steps with your own data, so you can see the test statistic, the degrees of freedom and the p-value being worked out rather than only the final verdict. Several accept either raw data or summary figures such as means and standard deviations. Answers update as you type, and your inputs stay in the page address, so you can save a link to an analysis and come back to it later.

Most used statistics calculators

Good places to start. Each has a written guide, a worked example and answers to common questions.

How to choose the right statistics calculator

To describe a set of numbers, start with the standard deviation calculator or the average calculator, and use the z-score calculator to see how far one value sits from the mean. To estimate a range for a population value, use the confidence interval calculator, and plan a survey or study with the sample size calculator.

To compare groups, the t-test calculator handles two means, the chi-square calculator handles counts in categories, and the A/B test calculator handles conversion rates. For chances rather than data, the combinations calculator, the dice probability calculator and the odds calculator count the ways an outcome can happen.

Counting chances by hand

Many probability questions are a matter of counting. There are 36 equally likely results when you roll two six-sided dice, and 6 of them add up to 7, so the chance of a 7 is 6 ÷ 36, or 1 in 6. Choosing 5 items from 10 when order does not matter can be done in 10! ÷ (5! × 5!) = 252 ways. The calculators show the same counting in their steps.

Updated

Questions people ask

Do the statistics calculators show the working?

Yes. Each one shows its formula and the steps with your own numbers, such as the test statistic, degrees of freedom and p-value for a hypothesis test.

What does a p-value tell me?

It is the chance of seeing a result at least as extreme as yours if the null hypothesis were true. A small p-value is evidence against the null hypothesis, but it does not measure how large or important an effect is.

What is the difference between combinations and permutations?

Combinations count selections where order does not matter; permutations count arrangements where it does. Choosing 5 from 10 gives 252 combinations but 30,240 permutations.

Which t-test should I use?

Use a one-sample test against a known value, a paired test for before-and-after measures on the same subjects, and Student's or Welch's test for two independent groups. Welch's test does not assume equal variances.

Can I paste in my own data?

Yes, on the calculators that work from data. Several also accept summary figures such as the mean, standard deviation and sample size instead.