Worked example
Example: 3 from 10, p = 0.1. The inputs, in the units selected above:
| Input | Value |
|---|---|
| Number of items or trials | 10.000 - |
| Number chosen or successes | 3.0000 - |
| Probability of success in one trial | 10.000 % |
Applying the formula below gives:
| Result | Value |
|---|---|
| Permutations | 720.00 |
| Combinations | 120.00 |
| Probability of exactly r | 5.7396 % |
| Probability of at most r | 98.720 % |
Open this example in the calculator and change any input.
Formula
\(^nP_r = \frac{n!}{(n - r)!}, \quad ^nC_r = \frac{n!}{r!(n - r)!}, \quad P(X = r) = {}^nC_rp^r(1 - p)^{n - r}\)
Variables
| Symbol | Meaning | SI unit |
|---|---|---|
| \(n\) | Number of items or trials | - |
| \(r\) | Number chosen or successes | - |
| \(p\) | Probability of success in one trial | - |
| \(^nP_r\) | Permutations | - |
| \(^nC_r\) | Combinations | - |
| \(P(X = r)\) | Probability of exactly r | - |
| \(P(X \le r)\) | Probability of at most r | - |
Method and standards
Counting and binomial.
Where it is used
- Acceptance sampling plans.
- Reliability of k-out-of-n systems.
Common mistakes
- Using permutations when order is irrelevant.
- Treating dependent trials as independent.
Assumptions and limits
- Independent trials; constant p.
References
- Counting rules and the binomial distribution (Kreyszig, Advanced Engineering Mathematics, 10th ed. (Wiley), ch. 24)
Questions and answers
Permutation or combination?
Permutations count ordered arrangements; combinations count selections where order does not matter.
Where is the binomial used in industry?
Acceptance sampling: the chance of finding r or fewer defectives in a sample of n when the defect rate is p.
What do the defaults represent?
Choosing 3 from 10, with a 10 % chance of success each time.
Method and article reviewed by FireCAD engineering on 13 November 2026. Every result is checked against an independent calculation on each release: how we verify our calculators.