Probability of an event
P
When every outcome is equally likely, the probability of an event is the number of outcomes that count as the event divided by the number of outcomes there are.

P=0.25
P equals 5 divided by 20, equals 0.25
Den här sidan finns på svenska. Byt till svenska
Definition — what does that mean?
Favourable outcomes divided by possible ones — but only when the outcomes are equally likely.
In Swedish: Sannolikhet för en händelse
P
When every outcome is equally likely, the probability of an event is the number of outcomes that count as the event divided by the number of outcomes there are.

P=0.25
P equals 5 divided by 20, equals 0.25
You are given
An experiment has a number of possible outcomes, and together they make up the sample space. Some of them count as the event you are interested in — those are the favourable ones. The probability is one divided by the other:
P = g / m
A die has six possible outcomes. “A six” is one of them, so P = 1/6. “An even number” is three of them, so P = 3/6 = 0.5. The answer is always between 0 and 1: no favourable outcomes gives 0, and every outcome being favourable gives 1.
It is the classical definition of probability.
The formula holds only when every outcome is equally likely. That is not a condition you can work out from the numbers — it is a claim about the experiment, and you are the one who decides whether it is true.
A bag of marbles qualifies. A die qualifies. A coin toss qualifies. But “it rains or it does not” is two outcomes and the probability is not 0.5, because the two are not equally likely. The same goes for “the team wins, draws or loses”: three outcomes, but not 1/3 each.
This is a common way to use the formula wrongly, and it never shows up in the arithmetic.
A bag. Eight marbles, three of them red. The probability of drawing a red one is 3/8 = 0.375.
Backwards, the favourable count. A bag holds 20 marbles and the probability of drawing a blue one is 0.35. The number of blue marbles is 0.35 · 20 = 7.
Backwards, the possible count. Four marbles are green and the probability of drawing a green one is 0.25. The bag holds 4 / 0.25 = 16 marbles.
Two dice. This is where the denominator goes wrong. A total of 7 is not one outcome out of eleven possible totals — the eleven totals are not equally likely. Count the 36 equally likely pairs instead: six of them total 7, so 6/36 = 1/6.
Should the answer be a fraction, a decimal or a percentage?
All three are the same number and all three are correct. The fraction 3/8 is exact, the decimal 0.375
is easiest to compare with other probabilities, and 37.5% is easiest to say out loud.
How is this different from relative frequency?
A probability is worked out in advance by thinking about the experiment.
Relative frequency is measured afterwards by
counting how often it actually happened.
Can a probability be 0 or 1?
Yes. 0 is the event that never happens and 1 is the one that always does. You cannot work backwards
from 0 to the number of possible outcomes, though — a bag with no red marbles gives 0 whether it holds
ten marbles or ten thousand.
How do I find the probability that something does not happen?
Take 1 minus the probability that it does. That is the
complement rule, and it is often far easier to
work with than the event itself.
| Solve for | Rearranged | With the numbers | Comes to |
|---|---|---|---|
| P | gm | 520 | 0.25 |
| g | Pm | 0.25·20 | 5 |
| m | gP | 50.25 | 20 |
Last reviewed October 6, 2026 ·How pages are reviewed
Sheets that ask this formula, with their answer keys. Open one to see the questions or print it.
Six questions of each kind: favourable outcomes over possible ones, the chance that something does not happen, and two independent events both happening.
Statistics and probabilityAll formulas
Copy the code into your page where the formula card should appear. It loads from lovetocalc.com, so it stays current on its own — all we ask is that the credit line comes with it.