Statistics & Probability
Binomial Probability Calculator
Enter the number of trials n, the number of successes k and the success probability p. Choose exactly k, at most k or at least k, and see the nCk × pᵏ × qⁿ⁻ᵏ working.
- 20.5078%
Step-by-step working 3 steps
- 1Binomial model
n = 10 trials, success probability p = 0.5, q = 1 − p = 0.5
Assumes independent trials with the same chance of success each time.
- 2Binomial formula
P(X = k) = nCk × pᵏ × qⁿ⁻ᵏ P(X = 6) = 10C6 × 0.5^6 × 0.5^4 = 0.205078
- 3Mean and standard deviation of X
μ = np = 5 σ = √(npq) = 1.581139
How to use the binomial probability calculator
- Enter n, k and p.
- Choose exactly, at most or at least.
- Follow each nCk × pᵏ × qⁿ⁻ᵏ term.
- Read the probability, mean and standard deviation.
Binomial formulas
P(X = k) = nCk × pᵏ × (1 − p)ⁿ⁻ᵏ P(X ≤ k) = Σ P(X = i) for i = 0 to k Mean μ = np Standard deviation σ = √(np(1 − p))
Requires a fixed number of independent trials, each with the same success probability.
Worked examples
Each example below is generated by the same calculator you used above, so the working always matches the answer.
6 heads in 10 flips
- 20.5078%
Step-by-step working 3 steps
- 1Binomial model
n = 10 trials, success probability p = 0.5, q = 1 − p = 0.5
Assumes independent trials with the same chance of success each time.
- 2Binomial formula
P(X = k) = nCk × pᵏ × qⁿ⁻ᵏ P(X = 6) = 10C6 × 0.5^6 × 0.5^4 = 0.205078
- 3Mean and standard deviation of X
μ = np = 5 σ = √(npq) = 1.581139
At most 3 of 10
- 17.1875%
Step-by-step working 3 steps
- 1Binomial model
n = 10 trials, success probability p = 0.5, q = 1 − p = 0.5
Assumes independent trials with the same chance of success each time.
- 2Add the probabilities for 0 up to k
P(X = 0) = 10C0 × 0.5^0 × 0.5^10 = 0.000977 P(X = 1) = 10C1 × 0.5^1 × 0.5^9 = 0.009766 P(X = 2) = 10C2 × 0.5^2 × 0.5^8 = 0.043945 P(X = 3) = 10C3 × 0.5^3 × 0.5^7 = 0.117188 Total = 0.171875
- 3Mean and standard deviation of X
μ = np = 5 σ = √(npq) = 1.581139
At least 8 of 10
- 5.4688%
Step-by-step working 3 steps
- 1Binomial model
n = 10 trials, success probability p = 0.5, q = 1 − p = 0.5
Assumes independent trials with the same chance of success each time.
- 2Add the probabilities for k up to n
P(X = 8) = 10C8 × 0.5^8 × 0.5^2 = 0.043945 P(X = 9) = 10C9 × 0.5^9 × 0.5^1 = 0.009766 P(X = 10) = 10C10 × 0.5^10 × 0.5^0 = 0.000977 Total = 0.054688
- 3Mean and standard deviation of X
μ = np = 5 σ = √(npq) = 1.581139
2 sixes in 12 rolls
- 29.6094%
Step-by-step working 3 steps
- 1Binomial model
n = 12 trials, success probability p = 0.166667, q = 1 − p = 0.833333
Assumes independent trials with the same chance of success each time.
- 2Binomial formula
P(X = k) = nCk × pᵏ × qⁿ⁻ᵏ P(X = 2) = 12C2 × 0.1667^2 × 0.8333^10 = 0.296094
- 3Mean and standard deviation of X
μ = np = 2 σ = √(npq) = 1.290994
Where you will use this
- Coin, dice and free-throw probability questions
- AP Statistics binomial-distribution problems
- Quality-control style “how many defective?” questions
Common mistakes to avoid
Using the binomial for dependent trials
Drawing cards without replacement changes p each time; the binomial does not apply.
Mixing up “at most” and “at least”
At most k includes 0 to k; at least k includes k to n.
Forgetting nCk
There are many orders in which k successes can occur; nCk counts them.
Frequently asked questions
What is the probability of exactly 6 heads in 10 coin flips?
C(10,6) × 0.5¹⁰ = 210/1024 ≈ 0.2051, or about 20.5%.
What is the formula for binomial probability?
P(X = k) = nCk × pᵏ × (1 − p)ⁿ⁻ᵏ.
What are the conditions for a binomial distribution?
A fixed number of trials, two outcomes per trial, constant success probability and independent trials.
Related calculators
Probability Calculator
One event, both events or either event.
Conditional Probability Calculator
P(A | B), Bayes’ theorem and test-accuracy questions.
Permutation & Combination Calculator
nPr, nCr and repetition cases, exact for big numbers.
Standard Deviation Calculator
Sample or population SD with the full working.
Mean, Median & Mode Calculator
Mean, median, mode, range and standard deviation.
Factorial Calculator
Exact n! up to 1000, with trailing zeros.
Browse everything in Statistics & Probability or the full calculator list.