A little context. A clearer answer.
When this calculator is useful
Check the assumptions and the selected options. Every trial must have two outcomes and the same success probability. Bounds include their endpoints. Up to 10000 trials are supported; very tiny tails may underflow to zero. The chart groups large distributions into at most 61 bars; green shows the selected event. For a related calculation, try Test score with negative marking.
What to enter
| Input | What it means | Example value |
|---|---|---|
| Number of trials | Number of trials: 0–10000. | 20 |
| Success probability, 0–1 | Success probability, 0–1. | 0.5 |
| Event | Event. Check the assumptions and the selected options. | Exactly k |
| Successes k / lower bound | Successes k / lower bound: 0 ≤ k ≤ n. | 10 |
| Upper bound | Upper bound: k ≤ k₂ ≤ n. | — |
How the calculation works
- Enter the values shown below. Number of trials, Success probability, 0–1, Event, Successes k / lower bound, Upper bound.
- Check the assumptions and the selected options.
- Read the result and compare it with the diagram.
P(X=k) = n!/[k!(n−k)!] × pᵏ(1−p)ⁿ⁻ᵏ; μ = np; σ = √(np(1−p)); [Inclusive interval]: Σ P(X=k)A worked example
Change “Successes k / lower bound” from 10 to 5 and keep the other inputs from the worked example. The value for “Event probability” goes from 17.6197% to 1.4786%.
Example you can load
What to enterThis is a fixed example; changing the form above does not change these numbers.
Assumptions & limits
Every trial must have two outcomes and the same success probability. Bounds include their endpoints. Up to 10000 trials are supported; very tiny tails may underflow to zero. The chart groups large distributions into at most 61 bars; green shows the selected event.
Frequently asked questions
How is the result calculated?
Calculate exact, cumulative or interval probabilities for a fixed number of independent trials. P(X=k) = n!/[k!(n−k)!] × pᵏ(1−p)ⁿ⁻ᵏ.
How should I enter the values?
Enter the values shown below. Number of trials, Success probability, 0–1, Event, Successes k / lower bound, Upper bound.
What are the limits?
Every trial must have two outcomes and the same success probability. Bounds include their endpoints. Up to 10000 trials are supported; very tiny tails may underflow to zero. The chart groups large distributions into at most 61 bars; green shows the selected event.