Probability & Statistics Tools

Explore classic probability and statistics problems with interactive calculators and simulations. Test the Birthday Paradox, lottery odds, Bayes’ theorem, expected value, confidence intervals, Poisson distributions, the Central Limit Theorem, and more, all free in your browser.

Birthday Paradox

In a group of N people, what's the probability at least two share a birthday? The answer is shockingly high.

Related reading: The Birthday Paradox, explained
People in the group23
2366

With only 23 people, the probability already exceeds 50%. With 70+ people it's essentially certain.

50.7%
Probability of a shared birthday
0%50%100%

Lottery Odds Calculator

How rare is a lottery jackpot? Adjust the pool size and how many numbers you pick.

Related reading: The man who gamed the lottery
Pool size49
1090
Numbers to match6
110
Odds: 1 in13,983,816
Probability7.151e-6%

C(49,6) = 13,983,816 combinations.

Normal Distribution / Z-Score

Given a normally distributed population, what percentage fall above or below a given value?

Related reading: Standard deviation, explained
Mean (μ)
Std Dev (σ)
Value (X)
Z-Score2.000
Below X97.72%
Above X2.28%

Z = (130 − 100) / 15 = 2.000. Within normal range (±2σ).

Expected Value Calculator

Calculate the long-run average outcome of any probabilistic event by entering all possible outcomes.

Related reading: Expected value in real decisions
Probability (0–1)
Value / Payout
Expected Value+0.000

Prob sum: 1.0000 ✓

Monty Hall Problem

You pick 1 of 3 doors. The host reveals a goat. Should you switch? Run the simulation to see why the answer surprises everyone.

Geometric Distribution

How many trials until your first success? Used in quality control, network retries, and sports streaks.

P: probability of success per trial0.30
Mean trials3.33
P(1st try)30.0%
P(≤5 tries)83.2%
1
2
3
4
5
6
7
8
9
10

P(X = k) = (1−p)^(k−1) · p

Bayes' Theorem Calculator

If a test is positive, what's the real probability you have the condition? Bayes' theorem is the basis of all Bayesian reasoning.

Related reading: Bayes and the medical-test paradox
Prior probability

(base rate, e.g. 0.01 = 1%)

Sensitivity (true positive rate)

(e.g. 0.95 = 95%)

Specificity (true negative rate)

(e.g. 0.95 = 95%)

Posterior Probability: P(condition | positive test)
16.1%

With a base rate of 1.0%, a positive test result only means a 16.1% real chance. This illustrates why rare disease testing produces many false positives.

Confidence Interval Calculator

Given a sample mean, standard deviation, and sample size, compute the interval that contains the true population mean with a chosen probability.

Related reading: Confidence intervals, explained
Sample Mean (x̄)
Std Dev (σ)
Sample Size (n)
Confidence Level
95% Confidence Interval
[94.632, 105.368]

Margin of error: ±5.368. With 30 samples, there is a 95% chance the true mean falls in this range.

Formula: x̄ ± z* · (σ / √n), where z* = 1.96 for 95% confidence.

Poisson Distribution

Models the probability of a given number of events occurring in a fixed interval when the average rate is known. Used in queuing, traffic, reliability engineering.

Related reading: The Poisson distribution in the real world
λ (average events per interval)3
0.515
P(X = k) for k =3
22.404%
P(X = 3)

P(X ≤ 3) = 64.72%

Mean = λ = 3, Variance = λ = 3

0
1
2
3
4
5
6
7
8
9
10
11
12
13
14

P(X = k) = e^(-λ) · λ^k / k!

Central Limit Theorem Simulator

No matter the shape of the underlying distribution, the distribution of sample means approaches a normal distribution as sample size grows. See it live.

Related reading: Why the normal distribution is everywhere
Population Distribution
Sample size n30
1100

Draws 500 samples of size 30 and plots the distribution of their means.

References and further reading

Peer-reviewed research behind this page. Links open the official publisher page; free PDFs are marked. Browse every source in our Research Library.

  1. Diaconis, P. and Mosteller, F. (1989). Methods for Studying Coincidences. Journal of the American Statistical Association, 84(408), 853 to 861.

    Two Harvard and Stanford statisticians explain why "amazing" coincidences, including shared birthdays, are expected once you count all the ways they could happen.

    Read the paper ↗DOI: 10.1080/01621459.1989.10478847
  2. Bayes, T. and Price, R. (1763). An Essay towards Solving a Problem in the Doctrine of Chances. Philosophical Transactions of the Royal Society of London, 53, 370 to 418.

    The original paper behind Bayes’ theorem, published by Richard Price two years after Bayes died. It shows how to update a probability when new evidence arrives.

    Read the paper ↗DOI: 10.1098/rstl.1763.0053
  3. Selvin, S. (1975). A Problem in Probability (letter to the editor). The American Statistician, 29(1), 67.

    The first published statement of the Monty Hall problem, 15 years before it became famous in a magazine column.

    Read the paper ↗DOI: 10.1080/00031305.1975.10479121
  4. Neyman, J. (1937). Outline of a Theory of Statistical Estimation Based on the Classical Theory of Probability. Philosophical Transactions of the Royal Society A, 236, 333 to 380.

    The founding paper of confidence intervals. Neyman defines exactly what a "95% confidence interval" does and does not mean.

    Read the paper ↗DOI: 10.1098/rsta.1937.0005
  5. Clarke, R. D. (1946). An Application of the Poisson Distribution. Journal of the Institute of Actuaries, 72(3), 481.

    A one-page classic: flying-bomb hits on south London in World War II matched a Poisson distribution, showing the hits were random rather than aimed at specific districts.

    Read the paper ↗DOI: 10.1017/S0020268100035435
  6. Fischer, H. (2011). A History of the Central Limit Theorem: From Classical to Modern Probability Theory. Springer, New York.

    A scholarly history of how mathematicians from de Moivre and Laplace to Lindeberg and Lévy proved that sums of random variables become normally distributed.

    Read the paper ↗DOI: 10.1007/978-0-387-87857-7
  7. Bernoulli, D. (translated by Sommer, L.) (1954). Exposition of a New Theory on the Measurement of Risk. Econometrica, 22(1), 23 to 36 (original Latin edition 1738).

    Daniel Bernoulli’s 1738 answer to the St. Petersburg paradox. It introduced the idea of utility: an extra dollar matters less the more money you already have.

    Read the paper ↗DOI: 10.2307/1909829
  8. Clotfelter, C. T. and Cook, P. J. (1990). On the Economics of State Lotteries. Journal of Economic Perspectives, 4(4), 105 to 119.

    Two Duke economists analyze who plays lotteries, why the expected value is so low, and how lottery design shapes player behavior. Free to read.

    Read the paper ↗DOI: 10.1257/jep.4.4.105