Calcolio
EN

Binomial Distribution Calculator

Free binomial probability calculator: find exact, at most, at least or range probabilities with CDF, PMF, a chart and step-by-step work — no sign-up.

For a binomial CDF, choose At most k · CDF below: it includes k successes. For exactly k successes, choose Exactly k · PMF. See a worked example.

e.g. 0.25, 25% or 1/4

Highlight on the chart
Mean μ = np
Variance σ² = np(1 − p)
Standard deviation σ
selected event other values

Step-by-step solution

    Probability table

    xP(X = x)P(X ≤ x)P(X ≥ x)

    Binomcdf and Binompdf on a TI-84

    On a TI-84, binompdf gives the probability of exactly k successes, while binomcdf adds probabilities from 0 through k. Open 2nd → DISTR to find these functions.

    1. For exactly k successes, choose binompdf(n, p, k). For example, use binompdf(10, .5, 3) for exactly 3 heads in 10 fair coin flips.
    2. For at most k successes, choose binomcdf(n, p, k). For more than k, subtract it from 1: 1 − binomcdf(n, p, k).
    3. For fewer than k, use binomcdf(n, p, k − 1). For at least k, use 1 − binomcdf(n, p, k − 1).

    Use the binomial probability calculator above to check exact, cumulative and range probabilities with a worked solution.

    More Free Calculators

    Probability & statistics

    Retirement & savings

    Browse all calculators

    Binomial CDF vs PMF: binomcdf and binompdf

    binompdf(n, p, k) gives exactly k successes. binomcdf(n, p, k) adds the probabilities from 0 through k. Match the wording in your problem to the result row above.

    Problem wordingResultCalculator expression
    Exactly kP(X = k)binompdf(n, p, k)
    At most kP(X ≤ k)binomcdf(n, p, k)
    Fewer than kP(X < k)binomcdf(n, p, k − 1)
    At least kP(X ≥ k)1 − binomcdf(n, p, k − 1)
    More than kP(X > k)1 − binomcdf(n, p, k)

    Try the same coin-flip example three ways

    With n = 10 fair coin flips, p = 0.5 and k = 3, the wording changes the answer. Each link loads these inputs and selects the matching event in the calculator.

    For “at least 3”, subtract the chance of 0, 1 or 2 successes. Subtracting through 3 would remove the very outcome you want to include. With 10 fair coin flips, P(X ≥ 3) = 1 − 0.0546875 = 0.9453125.

    These expressions describe the mathematics; menu names and syntax can vary between calculator models. See Texas Instruments’ binomial probability examples. For P(X ≥ 1) and a target number of tries, use the at least one success probability calculator.

    For a score measured relative to a mean and standard deviation, the z-score calculator converts the standardized score into normal-curve probability and percentile. A normal area and an exact binomial count describe different models, so choose the one that matches your problem.

    Worked Probability Examples

    What is the probability of getting exactly 3 heads when a fair coin is flipped 10 times? Read the probability of exactly 3 heads in 10 coin flips worked solution.

    If a fair six-sided die is rolled 4 times, what is the probability that at least one roll is a six? Read the probability of at least one six in 4 dice rolls worked solution.

    In a sample of 20 independent items, each with an 8% defect probability, what is the chance that exactly 2 are defective? Read the probability of exactly 2 defective items in 20 worked solution.

    About this calculator

    A binomial distribution describes the number of successes X in a fixed number of trials n, when every trial has the same success probability p and the trials do not affect each other. Classic examples are the number of heads in 10 coin flips, the number of defective parts in a batch of 50, or the number of correct guesses on a multiple-choice test.

    Enter n, p and k above. The calculator gives the probability of exactly k successes and all four cumulative probabilities (fewer than, at most, more than, at least), the probability of landing between two values, the mean, variance and standard deviation, a probability table, a chart and a worked solution with your own numbers substituted into the formula.

    Every result is computed in your browser directly from the binomial formula — not from a normal approximation or a printed table — for any n from 1 to 100,000.

    How to use it

    1. Enter the number of trials n (a whole number).
    2. Enter the probability of success on a single trial p. You can type a decimal (0.25), a percentage (25%) or a fraction (1/4).
    3. Enter the number of successes k you are interested in.
    4. Choose which event to highlight — for example “at least k” — or pick “between a and b” and enter both limits.
    5. Read the results, table and chart. They update as you type, and the page address updates too, so you can bookmark or share your exact inputs.

    The formulas

    Probability of exactly k successes

    P(X = k) = C(n, k) · pᵏ · (1 − p)ⁿ⁻ᵏ

    pᵏ is the chance that k particular trials all succeed, and (1 − p)ⁿ⁻ᵏ is the chance that the remaining n − k trials all fail. C(n, k) counts how many different orders those successes can appear in, so it multiplies the probability of one specific sequence by the number of such sequences.

    Binomial coefficient

    C(n, k) = n! / (k! · (n − k)!)

    Also written ⁿCₖ or “n choose k”: the number of ways to pick which k of the n trials are the successes.

    Cumulative probabilities

    P(X ≤ k) = P(X = 0) + P(X = 1) + … + P(X = k) P(X ≥ k) = 1 − P(X ≤ k − 1)

    Cumulative probabilities add up individual terms. When the sum on one side is long, it is quicker to use the complement: the probabilities of all outcomes always add up to 1.

    Mean, variance and standard deviation

    μ = n·p σ² = n·p·(1 − p) σ = √(n·p·(1 − p))

    The mean is the long-run average number of successes. The standard deviation measures how far a typical result lands from that average.

    Worked examples

    Example 1: six heads in 10 coin flips

    A fair coin is flipped 10 times. What is the probability of exactly 6 heads, and of at most 6 heads? Here n = 10, p = 0.5 and k = 6.

    1. Count the arrangements: C(10, 6) = 10! / (6! · 4!) = 210.
    2. Probability of one particular arrangement: 0.5⁶ · 0.5⁴ = 0.0009765625 (that is 1/1024).
    3. Multiply: P(X = 6) = 210 × 0.0009765625 = 0.205078125.
    4. For “at most 6”, the complement is shorter: P(X ≥ 7) = (C(10,7) + C(10,8) + C(10,9) + C(10,10)) / 1024 = (120 + 45 + 10 + 1) / 1024 = 176/1024 = 0.171875.
    5. So P(X ≤ 6) = 1 − 0.171875 = 0.828125.

    Answer: P(X = 6) = 0.205078125 (about 20.5%) and P(X ≤ 6) = 0.828125 (about 82.8%).

    Example 2: passing a quiz by guessing

    A quiz has 20 multiple-choice questions with 4 options each. A student guesses every answer. The pass mark is 10. What is the chance of passing? Here n = 20, p = 0.25 and we want P(X ≥ 10).

    1. Mean and spread: μ = 20 × 0.25 = 5 correct answers, σ = √(20 × 0.25 × 0.75) ≈ 1.936.
    2. The single term at the pass mark: P(X = 10) = 184,756 × 0.25¹⁰ × 0.75¹⁰ = 0.0099222753.
    3. Use the complement: P(X ≥ 10) = 1 − P(X ≤ 9) = 1 − 0.9861355831.

    Answer: P(X ≥ 10) = 0.0138644169, roughly 1.4% — about 1 chance in 72. A pass mark of 10 sits about 2.6 standard deviations above what guessing produces on average.

    When to use the binomial distribution calculator

    When it does not apply

    Common mistakes

    Frequently asked questions

    Is this a binomial probability calculator or a binomial distribution calculator?

    Both. It gives the probability of a single value, P(X = k), and the cumulative probabilities that describe the whole distribution, together with a table of every likely value of X.

    How do I calculate the probability of at least k successes?

    Use P(X ≥ k) = 1 − P(X ≤ k − 1). Enter n, p and k above and read the “P(X ≥ k)” row; selecting “at least k” also highlights those bars on the chart.

    How do I find the probability that X is between two numbers?

    Choose the “between a and b” option and enter both limits. The calculator adds P(X = a) through P(X = b), so both limits are included. For a strict range, move each limit in by one.

    What are the mean and standard deviation of a binomial distribution?

    The mean is n·p and the standard deviation is √(n·p·(1 − p)). For 10 fair coin flips that is a mean of 5 heads and a standard deviation of about 1.58.

    Can I enter p as a fraction or a percentage?

    Yes. 1/6, 0.1667 and 16.67% are all accepted. A fraction keeps full precision, which is handy for dice and card problems.

    How large can n be?

    Up to 100,000 trials. For large n the table and chart show the range around the mean where the probability is concentrated, and every cumulative value still includes the full distribution.

    Related calculators