Bernoulli Distribution Calculator
Calculate binomial probabilities, cumulative distributions, and visualize success rates for independent Bernoulli trials with precision.
Exact Probability P(X=k)
Cumulative P(X≤k)
Cumulative P(X≥k)
About
In statistical analysis and experimental design, determining the likelihood of a specific number of successes within a fixed set of independent trials is fundamental. This calculator solves the Binomial Probability Mass Function for scenarios where only two outcomes are possible: success or failure. It is essential for researchers verifying hypothesis tests, quality control engineers assessing defect rates, and students tackling combinatorics problems.
Accuracy in these calculations is critical when dealing with small sample sizes or rare events, where approximation methods like the Normal distribution fail. This tool computes the exact probability for a specific count of successes, alongside the cumulative probabilities necessary for "at least" or "at most" type questions often found in academic exams and risk assessment models.
Formulas
The probability of exactly k successes in n independent Bernoulli trials is given by the Binomial Probability formula:
Where n! represents the factorial of the total trials. The cumulative probabilities are summations of this function:
Reference Data
| Parameters | Symbol | Description | Typical Range |
|---|---|---|---|
| Number of Trials | n | Total count of independent experiments | 1 ≤ n ≤ 100 |
| Success Probability | p | Likelihood of success in a single trial | 0.0 to 1.0 |
| Target Successes | k | Exact number of successes to calculate | 0 ≤ k ≤ n |
| Failure Probability | q | Calculated as 1 − p | 0.0 to 1.0 |
| Probability Mass | P(X=k) | Exact chance of obtaining k successes | 0 to 1 |
| Cumulative Lower | P(X≤k) | Chance of obtaining k or fewer successes | 0 to 1 |
| Cumulative Upper | P(X≥k) | Chance of obtaining k or more successes | 0 to 1 |
| Mean | Expected value (n ⋅ p) | Depends on n | |
| Variance | σ2 | Spread of distribution (n ⋅ p ⋅ q) | Positive Real |