Skip to content

Probability Calculator

Work out the probability of one event, a relationship between two events, or a number of successes in repeated trials. Use percentages for event probabilities and count equally likely outcomes in single-event mode.

Free, no sign-up · Last updated

US defaults ·

P(event)

33.333333%

Definition

What probability means

Probability expresses how likely a specified event is under a set of assumptions. It runs from zero for an impossible event to one for a certain event and can be written as a fraction, a decimal or a percentage.

Define first
The event and possible outcomes
Inclusive or
Includes outcomes where both events happen
Binomial trials
Independent trials with a fixed success chance

Start with a precise event

Write down what must happen before selecting a mode. On a die roll, surviving a game turn and rolling an even number may sound like separate ideas, but they describe the same event if every even roll lets the player survive. Clear event descriptions help you count a shared outcome once.

If you use the single event mode, list a complete set of equally likely outcomes. Splitting one outcome into several labels while leaving others grouped would skew the ratio. For example, a roll on a standard die has six face outcomes. Describing it only as a one versus anything else gives two labels with different probabilities.

Choose the right relationship

Use And when you know the chance of A and the chance of B among the cases where A occurs. Use Or if you know both overall chances and their overlap. The overlap cannot exceed either individual chance, and when the two overall chances add to more than certainty there must be some overlap.

Conditional mode divides the overlap by the known chance of B. Its order matters because asking about A among B cases can give a different result from asking about B among A cases. Independent mode supplies both the product and the inclusive union using just the two overall chances.

Set up a binomial experiment

Each trial needs an outcome you can classify as success or failure. The chance of success stays fixed and one trial’s result does not change another’s chance. Fair coin flips are an example. Sampling cards without replacement generally changes the chance from draw to draw, so the binomial model is a poor fit for those draws.

The calculator compares an exact success count with two cumulative chances and the chance of at least one success. Choose the row that matches the wording of your question. A chance for an exact count can be small even when a broad range of nearby counts is very likely.

Check the units and the group

Probabilities written as fractions, decimals and percents represent the same quantity on different scales. The probability fields here take percents. Enter 25 for a quarter and keep event counts in the separate whole-number fields. For a conditional problem, check whether the supplied percentage already refers to the restricted group.

A probability describes the model behind the inputs. If an estimated chance comes from a small trial or another population, the result inherits that uncertainty. In a repeated experiment, the most likely count need not be what happens in the next run.

Step-by-step example

Flip a fair coin five times and count heads, with two heads as the target.

StepResult
Exactly two heads31.25%
At most two heads50%
At least two heads81.25%
At least one head96.875%

Formulas used

Events and complements

P(event) = favorable outcomes ÷ equally likely outcomes

P(not A) = 1 − P(A)

P(A and B) = P(A) × P(B given A)

P(A or B) = P(A) + P(B) − P(A and B)

P(A given B) = P(A and B) ÷ P(B)

P
probability of the event in parentheses
A
first event
B
second event

Example: With P(A) = 40% and P(B given A) = 25%, P(A and B) is 10%. If P(B) is 30%, the inclusive union is 60%.

Binomial probabilities

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

Sum the masses through k for P(X ≤ k), or from k through n for P(X ≥ k).

P(X ≥ 1) = 1 − (1 − p)ⁿ.

P
probability of the condition in parentheses
X
number of successes
k
target number of successes
C(n,k)
ways to select k successes from n trials
n
number of trials
p
probability of success on each trial

Example: Across five fair coin flips, the probability of exactly two heads is 31.25%. At most two has probability 50%, at least two has probability 81.25%, and at least one has probability 96.875%.

When the answer can mislead

  • Multiply two standalone probabilities only when the events are independent.
  • For a conditional probability, changing which event is given usually changes the answer.
  • Exactly two and at least two answer different questions because the latter includes larger counts.

Questions

Does A or B include cases where both happen?

Yes. This calculator uses inclusive or, which counts cases where A happens, where B happens, and where both happen. Subtract the overlap once after adding the two event probabilities because it was included in both of the original terms.

Are mutually exclusive events independent?

When each event has positive probability, mutually exclusive events are dependent. Observing one tells you the other cannot happen. Independence means observing the first event leaves the probability of the other unchanged. Two separate rolls of a fair die can provide independent events.

Why does the calculator ask for the number of favorable outcomes?

For a single equally likely event, each outcome contributes the same probability. Count the outcomes that satisfy the event and divide by the total. If the outcomes have different weights, as with a biased die, add the weights for the favorable outcomes instead.

What is the difference between exactly, at most and at least?

Exactly includes one success count. At most includes that count and every lower count, while at least includes it and every higher count. The threshold is included in both cumulative answers, so adding those two answers counts the probability at the threshold twice.

Why can I not condition on an event with zero probability?

Conditioning here means looking only at the cases where B happens and asking what share also have A. If B has probability zero, the ratio would divide by zero. Use a conditioning event with a positive probability for this calculation.

Sources

  1. OpenStax: Addition and multiplication rules of probability
  2. OpenStax: Binomial probabilities
Last updated How we check
Embed this calculator
Cite this calculator

Probability Calculator. CalculatorLab. https://calculatorlab.site/calculators/probability-calculator/. Last updated .