Math calculator

Free probability calculator

Calculate the probability of an event — enter favorable outcomes and total outcomes to see probability as a fraction, decimal, and percentage, updated live, as you type.

InputsLive
P(A) — Probability of Event A
Enter probability as decimal (0 to 1). E.g., 50% = 0.5
P(B) — Probability of Event B (optional)
Enter probability as decimal (0 to 1). E.g., 50% = 0.5
Result
P(A)
0.5
P(A AND B) = 0.15
P(A)0.5
P(B)0.3
P(A AND B)0.15
P(A OR B)0.65
P(neither)0.35
P(not A)0.5

Independent events assumed. P(A AND B) = P(A) × P(B).

Results are estimates. Consult a professional.

How it's calculated

How the probability calculator works

Probability measures how likely an event is to occur, expressed as a number between 0 (impossible) and 1 (certain) — or equivalently as a percentage. The classical definition divides the number of favourable outcomes by the total number of equally likely outcomes.

Basic probability:
P(A) = favourable outcomes / total outcomes
AND — independent events (both A and B occur):
P(A ∩ B) = P(A) × P(B)
OR — any event (A or B or both occur):
P(A ∪ B) = P(A) + P(B) P(A ∩ B)
Complement (A does NOT occur):
P(A') = 1 P(A)
OpenStax Introductory Statistics — Basic Concepts of Probability
Example

Worked example: rolling a standard six-sided die

Example: P(even), P(> 4), P(even AND > 4)

A fair six-sided die has faces {1, 2, 3, 4, 5, 6}. Even faces = {2, 4, 6}. Faces greater than 4 = {5, 6}. Both even AND > 4 = {6}.

P(even) = 3/6 = 0.500 = 50%
P(> 4) = 2/6 = 0.333 = 33.3%
P(even AND >4)= 1/6 = 0.167 = 16.7%
Check using OR rule:
P(even OR >4) = 3/6 + 2/6 1/6 = 4/6 ≈ 0.667 = 66.7%
P(even AND > 4) = 1/6 ≈ 16.7%
The overlap (face 6) is subtracted in the OR calculation to avoid counting it twice.
Quick reference

Common probability values — dice, coins, and cards

These benchmark probabilities are useful for checking your intuition and verifying more complex calculations.

EventFavourable / TotalProbability
Coin: heads1/20.500
Die: rolling a 61/60.167
Die: rolling > 42/60.333
Die: rolling even3/60.500
Two dice: sum = 76/360.167
Two dice: sum = 121/360.028
Card: drawing an ace4/520.077
Card: drawing a heart13/520.250
Card: red face card6/520.115

Source: classical probability with equally likely outcomes

Practical tips

Tips for calculating probability

Probability is intuitive to mis-apply. These principles help you set up problems correctly before plugging in numbers.

  • List the sample space first — write out all possible outcomes before counting favourable ones; this prevents double-counting or omissions.
  • Check for independence before using P(A)×P(B) — drawing two cards without replacement makes the second draw dependent on the first; use conditional probability instead.
  • Complement rule saves steps — P(at least one 6 in 3 rolls) = 1 − P(no 6 in 3 rolls) = 1 − (5/6)³ ≈ 0.421; this is faster than summing three cases.
  • Mutually exclusive vs independent — if A and B cannot both occur (mutually exclusive), P(A∩B) = 0, so P(A∪B) = P(A)+P(B); but they are NOT independent (knowing A occurred tells you B didn't).
  • Convert between fractions, decimals, and percentages — all three express the same quantity; fractions keep precision; decimals ease arithmetic; percentages aid communication.
Accuracy & limits

Accuracy and limitations

This calculator uses exact rational arithmetic when inputs are whole numbers, so P(3/6) is stored as the exact fraction 1/2 before any decimal conversion. For decimal inputs (e.g. 0.37), standard IEEE 754 double precision applies — results are accurate to approximately 15 significant digits. The classical probability model assumes equally likely outcomes; it does not apply to unfair coins, weighted dice, or real-world events where outcomes have unequal likelihoods. For those cases, use empirical or subjective probability from observed data or expert estimates.

Glossary

Key terms

The set of all possible outcomes of a random experiment.
Any subset of the sample space; a collection of one or more outcomes.
Two events where the occurrence of one does not change the probability of the other.
Two events that cannot both occur at the same time; P(A∩B) = 0.
All outcomes in the sample space that are NOT in event A; P(A') = 1 − P(A).
The probability of A given that B has already occurred, written P(A|B) = P(A∩B) / P(B).
About

About this calculator

Part of our math calculators suite — explore all calculators.

Questions

Frequently asked questions about the free probability calculator

A probability calculator is a free online tool that helps you find the probability of single events or combinations of two independent events. Probability quantifies how likely an event is, on a scale from 0 (impossible) to 1 (certain). For two independent events, AND and OR follow standard combination rules. It runs entirely in your browser with instant results and no sign-up.
Two events are independent if the outcome of one doesn't affect the probability of the other. Coin flips are independent. Drawing cards from a deck WITHOUT replacement is NOT independent — the second draw depends on the first. The AND formula here assumes independence.
Because P(A) + P(B) double-counts the overlap — the cases where BOTH happen. Subtracting P(A AND B) (which equals P(A) × P(B) for independent events) corrects for the double-count. This is the inclusion-exclusion principle.
Yes, by definition. Probabilities outside [0, 1] are meaningless. Percentages (0–100%) are just probabilities multiplied by 100 for display.

Want a calculator built for your business?

Customize any of our 400+ tools to match your brand, or commission a new one tailored to how your business actually calculates — pricing, payroll, quotes, anything. Deployed on your domain, math runs in your visitors' browsers.