Probability Calculator
Compute permutations, combinations, and factorials for n items chosen r at a time. Calculates in your browser.
Show the math
Permutations count ordered selections, combinations count unordered ones:
ₙPᵣ = n! ÷ (n−r)! · ₙCᵣ = n! ÷ (r!(n−r)!)
Both need whole numbers with r ≤ n. Very large factorials lose precision in floating point. All math runs in your browser.
What this does
A probability calculator computes permutations, combinations, and factorials for n items chosen r at a time.
How to use it
- Enter n and r.
- Choose permutations or combinations.
- Read the result.
- Use factorial for a single number.
How it works
Permutations count ordered selections; combinations ignore order. Factorials grow fast, so very large results show in scientific notation.
ₙPᵣ = n! ÷ (n−r)!; ₙCᵣ = n! ÷ (r!(n−r)!)
Understanding your result
The thing to get right is whether order matters: permutations count ordered arrangements and combinations ignore order, so permutations always give the larger number. Factorials explode quickly, which is why large selections run into scientific notation, and a common modelling error is using combinations when the sequence actually matters, or vice versa.
Example
Choosing 2 from 5 gives 20 permutations or 10 combinations.
Sources & methodology
Last updated .
Frequently asked questions
What is the difference between permutations and combinations?
Permutations count ordered selections (ₙPᵣ = n! ÷ (n−r)!); combinations ignore order (ₙCᵣ = n! ÷ (r!(n−r)!)).
Why do very large numbers show as estimates?
Factorials grow extremely fast and exceed exact floating-point precision, so big results are shown in scientific notation.
Is my data stored?
No. Everything is calculated locally in your browser.
Related tools
Permutation & Combination Calculator
Calculate permutations (nPr) and combinations (nCr) for choosing r items from n, with the factorial behind each. Calculates in your browser.
Z-Score Calculator
Find the z-score (standard score) of a value — how many standard deviations it sits above or below the mean. Calculates in your browser.
Confidence Interval Calculator
Find the confidence interval for a mean from the sample mean, standard deviation, sample size, and confidence level. Calculates in your browser.
Sample Size Calculator
Find the sample size needed to estimate a proportion to within a margin of error at a chosen confidence level, with a population correction. Calculates in your browser.