Probability Calculator
Compute factorials, permutations and combinations exactly, binomial, Poisson and normal probabilities (plus the inverse normal), two-event rules and Bayes’ theorem, with formulas and worked steps.
The tool
How to use
- Pick the right tab: counting (factorial, permutations, combinations), binomial, Poisson, normal, two events, or Bayes.
- Type the values. A probability can be a decimal (0.25), a percent (25%) or a fraction (1/4).
- The result appears right away with the formula used and the substituted steps.
- For the normal distribution choose the question type: less than, greater than, between two values, or inverse (give a probability, get the value).
Privacy & how it works
Processes your data in the browser and stores nothing.
- Engine: lightweight in-page code, no external libraries.
- Works offline after you open it once.
- Needs a browser with BigInt support (all modern browsers since 2020).
Frequently asked questions
What is the difference between permutations and combinations?
Permutations nPr count the ways to choose r items from n when order matters (like ranking winners). Combinations nCr are for when order does not matter (like picking a committee). nCr = nPr ÷ r!.
How accurate are the normal-distribution results?
Φ(z) is computed with a Taylor series (Marsaglia 2004) for |z| ≤ 3 and a continued fraction for the tails, accurate to about 12 significant digits, far beyond a printed z-table (4 decimals). The inverse uses Acklam’s approximation (relative error below 1.15×10⁻⁹) followed by one Halley correction step.
When do I use binomial and when Poisson?
Binomial is for a fixed number n of independent trials, each with the same success probability p. Poisson is for the number of events in an interval or area when you know the mean λ (such as calls per hour).
Are large results exact?
Factorials up to 10000! and permutations and combinations up to n = 20000 are computed exactly (every digit). Beyond that you get an approximate value in scientific notation, clearly marked as approximate.
What are the limits?
There are no t, chi-square or F distributions and no hypothesis tests. The two-event rules assume you know how the events relate (independent, mutually exclusive, or a known intersection probability).
Formulas & sources
- G. Marsaglia (2004), Evaluating the Normal Distribution, Journal of Statistical Software 11(4)
- P. J. Acklam, An algorithm for computing the inverse normal cumulative distribution function (relative error < 1.15e-9)
- Abramowitz & Stegun, Handbook of Mathematical Functions, 26.2.14 (continued fraction for the normal tail)