Probability Calculator

Probability Calculator: run probability calculations online. Formula, assumptions, and interpretation guide.

This Probability Calculator uses a binomial model: it counts successes across a fixed number of independent trials, with the same success chance on every trial. Enter the number of trials n, the number of successes k, and the per-trial probability p. The calculator reports the probability of exactly k successes, the probability of at most k successes, and the number of ways to choose k successes from n trials. It is not a general event-probability, conditional-probability, or Bayesian calculator.

Use the binomial distribution calculator for a matching model, or compare results with the mean calculator and confidence interval calculator when you need a different statistical summary.

  1. Enter n as a whole number from 0 to 20. It is the fixed number of trials in the model.
  2. Enter k as a whole number from 0 to n. This is the success count you want to evaluate.
  3. Enter p from 0 to 1 as a decimal probability for success on each trial; for example, 25% is 0.25.
  4. Read P(X = k) for exactly k successes and P(X ≤ k) for k or fewer successes.
  5. Read C(n,k) as the number of distinct trial positions that can contain the k successes.

Binomial probability formulas

Exactly k successes: P(X = k) = C(n,k) × pᵏ × (1−p)ⁿ⁻ᵏ.

At most k successes: P(X ≤ k) = Σᵢ₌₀ᵏ C(n,i) × pⁱ × (1−p)ⁿ⁻ⁱ.

Ways to place k successes: C(n,k) = n! / (k! × (n−k)!).

The same p is used for every trial. The model assumes trials are independent and each trial has only two outcomes: success or failure.

Interpreting the binomial results

Exactly k is different from k or fewer

P(X = k) counts one exact success total. P(X ≤ k) adds the probabilities for zero, one, and every other success count up to k. These values answer different questions; the cumulative result cannot be substituted for the exact result.

C(n,k) is a count of arrangements, not a probability. It says how many trial sequences have k successes, while the p terms weight those sequences according to the model's per-trial success and failure chances.

Statistics tips and best practices

Common mistakes to avoid

This is a mathematical model based on the inputs and assumptions shown. It does not establish that trials are independent or that p is known accurately; check those assumptions before using the result in a decision.

Related Calculators