When an exact count is the question
Start by defining what counts as one trial and what counts as success before entering numbers. A trial might be one inspected item, one response opportunity, or one independent experiment. The outcome must be represented as success or not-success for this calculation. If a unit can fall into several important categories, or if the event is a measured quantity rather than a yes/no result, collapsing it to one binary outcome can hide the information needed for a useful analysis.
Choose n, p, and k carefully
The field n is the total number of trials, p is the chance of success on each trial written as a decimal from zero to one, and k is the exact success count being queried. The model requires whole-number counts with 0 ≤ k ≤ n. A percentage such as 30% must be entered as 0.30 when the field is a probability, not as 30. Check that the trial definition, time period, and source of p all describe the same process.
How the point probability is formed
The probability mass function is P(X = k) = C(n,k) p^k (1−p)^(n−k). The combination C(n,k) counts how many arrangements put k successes among n positions; each arrangement contributes p^k for its successes and (1−p)^(n−k) for its failures. Multiplying those terms gives the probability of the one exact count. OpenStax presents this binomial model for fixed independent trials with a common success probability.
Exact probability is not a range
An exact-count probability is different from “at most k” or “at least k.” For an interval such as no more than the target count, probabilities across several counts must be added; a single point probability does not answer that question. This distinction matters in acceptance thresholds and defect-rate discussions: an exact result can be small even when a nearby range of outcomes is common.
Interpret the probability responsibly
Use the result to compare plausible outcomes under the same stated assumptions, not to label an individual batch as good or bad. A probability near one means the specified count is central to this model; a smaller value means the exact count is less likely, but neighboring counts may still be likely. If the practical decision concerns a tolerance band, calculate that band rather than treating the exact point as a pass/fail probability.
When the event is a count from a quality check, write down whether a “success” means a passing item, an event occurring, or a response received. Changing that definition changes the probability being modeled, even if the underlying records stay the same. Also distinguish a probability model from an observed frequency: a historical share can inform p, but it is not automatically a calibrated probability for a future batch. If the rate is estimated from a small sample, give the source and period with the result so readers can judge how stable that input may be.
Worked examples
The examples ask for one exact count each; neither is a cumulative probability across several counts.
Exactly four successes in twelve trials
Inputs: Trials n = 12; success probability p = 0.30; exact count k = 4.
Calculation: P(X = 4) = C(12,4) × 0.30^4 × 0.70^8 = 0.2311397, or 0.2311.
Under the fixed-probability model, the chance of exactly four successes is about 23.11%.
Exactly two successes in twenty trials
Inputs: Trials n = 20; success probability p = 0.15; exact count k = 2.
Calculation: P(X = 2) = C(20,2) × 0.15^2 × 0.85^18 = 0.2293384, or 0.2293.
The exact two-success outcome has a probability of about 22.93% for these assumptions.
When binomial assumptions break
The value p should come from a defensible reference period or a process estimate. A rate from a different machine, customer group, season, or measurement rule may not describe the trials being modeled. When p is uncertain, report that uncertainty alongside the calculated probability; the calculator treats p as fixed and does not estimate it from observed data or adjust for a changing process.
The binomial model also assumes trials are independent and share the same probability. Sampling without replacement from a small finite lot, clusters that share a cause, learning effects, or changing operating conditions can violate that assumption. In those settings, the displayed number is still the arithmetic for the entered model, but a hypergeometric, clustered, or time-varying model may better reflect the data-generating process.