Probability Calculator

Updated July 2026

Find the probability of a single event as a fraction, decimal and percentage, then combine two independent events to get P(A and B), P(A or B) and P(neither). Everything runs privately in your browser.

Probability = favorable ÷ total. For a single event, divide the number of favorable outcomes by the total possible outcomes; the result is always between 0 and 1. For two independent events: P(A and B) = P(A) × P(B), P(A or B) = P(A) + P(B) − P(A) × P(B), and the complement is P(not A) = 1 − P(A).

Single event probability

Whole numbers, favorable ≤ total, total > 0.
P(A) — probability of the event
As a fraction
As a decimal
As a percentage
Complement P(not A)
Complement as %

Two independent events

Enter each probability as a decimal between 0 and 1 (for example 0.5 for a coin). Assumes A and B are independent.

Each value must satisfy 0 ≤ p ≤ 1.
P(A and B) — both occur
P(A or B) — at least one
P(neither) — none occur

How this probability calculator works

Probability measures how likely an event is, on a scale from 0 (impossible) to 1 (certain). For a single event with equally likely outcomes, the probability is simply the number of favorable outcomes divided by the total number of possible outcomes: P = favorable ÷ total. The same value can be shown three ways — as a fraction, as a decimal, and as a percentage — and they all describe the same chance.

Every event also has a complement, written P(not A), which is the chance the event does not happen. Because one outcome must occur, the two always add to 1, so P(not A) = 1 − P(A). When you combine two independent events — events where one outcome does not affect the other — the rules are: P(A and B) = P(A) × P(B), P(A or B) = P(A) + P(B) − P(A) × P(B), and P(neither) = (1 − P(A)) × (1 − P(B)).

Worked example: drawing a favorable outcome 3 ways out of 10 gives P = 3/10 = 0.3 = 30%, and the complement is 1 − 0.3 = 0.7 (70%). For two fair coins with P(A) = P(B) = 0.5, both landing heads is P(A and B) = 0.5 × 0.5 = 0.25, at least one head is P(A or B) = 0.5 + 0.5 − 0.25 = 0.75, and no heads is P(neither) = 0.5 × 0.5 = 0.25.

Common probability rules

QuantityFormulaApplies to
Single event P(A)favorable ÷ totalEqually likely outcomes
Complement P(not A)1 − P(A)Any event
P(A and B)P(A) × P(B)Independent events
P(A or B)P(A) + P(B) − P(A) × P(B)Independent events
P(neither)(1 − P(A)) × (1 − P(B))Independent events

Reference note: the AND, OR and neither rules above assume the two events are independent. If one event changes the probability of the other, the events are dependent and require conditional probability, which is not covered here.

Frequently asked questions

How do I calculate probability?
For a single event with equally likely outcomes, divide the number of favorable outcomes by the total number of possible outcomes: P = favorable ÷ total. For example, rolling a 3 on a six-sided die is 1 ÷ 6 ≈ 0.167, or about 16.7%. The result is always between 0 and 1.
What is P(A and B)?
P(A and B) is the probability that both events happen. For two independent events it is the product of their probabilities: P(A and B) = P(A) × P(B). For example, two fair coins both landing heads is 0.5 × 0.5 = 0.25, or 25%.
What is P(A or B)?
P(A or B) is the probability that at least one of the events happens. For independent events it is P(A or B) = P(A) + P(B) − P(A) × P(B). Subtracting the overlap prevents counting the case where both occur twice.
What are independent events?
Two events are independent when the outcome of one does not change the probability of the other — for example separate coin flips or dice rolls. Only for independent events does P(A and B) equal P(A) × P(B). If events influence each other they are dependent and need conditional probability.
What is the complement rule?
The complement of an event A is everything in which A does not happen, written P(not A). Because some outcome must occur, P(not A) = 1 − P(A). For example, if the probability of rain is 0.3, the probability of no rain is 1 − 0.3 = 0.7.
Can probability exceed 1?
No. A probability is always between 0 and 1 inclusive, or 0% to 100%. A value of 0 means the event cannot happen and 1 means it is certain. If a calculation gives a number above 1 or below 0, an input is wrong — for example more favorable outcomes than total outcomes.
⚡ Probability Calculator — by larely ↗

Related tools

Linear Interpolation Calculator

Interpolate a value between two known points, or solve the inverse.

Wavelength Calculator

Convert between wavelength, frequency and wave speed .

Force Calculator

Solve Newton's second law F = ma for force, mass or acceleration.

Kinetic Energy Calculator

Solve KE = ½mv² for kinetic energy, mass or velocity.

Rounding Calculator

Round a number to decimals, a nearest multiple, or by mode .

Arithmetic Sequence Calculator

Find the nth term and sum of an arithmetic sequence from a1 and the common difference.

Geometric Sequence Calculator

Find the nth term, sum and infinite sum of a geometric sequence.

Pythagorean Theorem Calculator

Solve a² + b² = c² for any missing side of a right triangle, plus angles and area.

Distance Formula Calculator

Find the distance between two points, plus the midpoint and slope.

Final Grade Calculator

Find the grade you need on the final, plus weighted-grade and GPA calculators.

Percentage Calculator

Percent of a number, percent change, and percentage increase or decrease.

Statistics Calculator

Mean, median, mode, range and standard deviation from a list of numbers.

Browse all 251 free tools →