CalcDepo

Birthday Problem Calculator

Find the chance two people share a birthday.

Inputs

Results

Probability of a shared birthday50.00018%

Chart

Not what you need? Search by intent

Describe what you want to find β€” β€œshared birthday probability” β€” and jump to the right calculator.

How to use the birthday problem calculator

Find the chance two people share a birthday. Enter people, possible days in the fields above; the probability of a shared birthday is computed instantly and plotted on the chart so you can see how the answer changes.

Formula

Probability of a shared birthday (%) = 100 Γ— (1-exp(-n Γ— (n-1) / (2 Γ— d)))

Variables

  • n β€” People
  • d β€” Possible days

Worked example

With people = 23, possible days = 365, the calculator gives probability of a shared birthday β‰ˆ 50.00018 %.

Frequently asked questions

What is the formula for the birthday problem calculation?

Probability of a shared birthday (%) = 100 Γ— (1-exp(-n Γ— (n-1) / (2 Γ— d))). Here n is people, d is possible days.

What inputs do I need for the birthday problem calculator?

You need people, possible days. Each field is pre-filled with a typical example so you can see how the result responds as you edit the numbers.

How do I use this calculator?

Type values into the input fields. Results and the chart update instantly. Use Reset to restore the example values, Copy results to paste them elsewhere, or Share to copy a link that preserves your inputs.

Is the result exact?

Calculations use standard formulas and double-precision arithmetic, then display about seven significant figures. Real-world measurements carry uncertainty, so treat results as estimates unless your inputs are exact.

Related calculators

More in Statistics & Probability: Mean, Median and Mode Β· Standard Deviation Β· Quartiles and IQR Β· Percentile Β· Z-Score Β· Normal Distribution Probability Β· Inverse Normal Β· Binomial Probability