Home›Math›Probability Calculator

Probability Calculator — Odds for Single & Two Events

How likely is it, really? Count favourable outcomes for a single event, or combine two independent events — both, either, exactly one, neither — and see every answer as a percentage, a fraction and odds.

100% FreeNo sign-up neededInstant results

Your events

The chance of the first event, as a percentage. Here, 30%.
The chance of the second event, as a percentage. Here, 40%.
Independent events can happen together. Mutually exclusive events never do, so their overlap is always zero — the choice changes the “and” and “or” answers.

🔒 All calculations happen in your browser — no data leaves your device.

The odds

P(A or B) — at least one happens
58.00%
With P(A) = 30% and P(B) = 40% independent, at least one of the two events happens 58.00% of the time.
P(A and B) — both happen12.00%
P(neither) — the complement42.00%
P(A only)18.00%
P(B only)28.00%
P(exactly one)46.00%
P(A | B) — A, given B happened30.00%
P(B | A) — B, given A happened40.00%
Independence is the engine: because the events do not influence each other, P(A and B) is just 30% × 40% = 12%. If the two events could never happen together, P(A or B) would simply add up to 70% instead.

The picture — a Venn diagram

Each circle is one event; the overlap is where both happen, and everything outside is “neither”.

Event A Event B 18.00% 12.00% 28.00% Neither event happens: 42.00%
Event A Event B Neither
Key takeaways
  • Two independent events at 30% and 40%: P(A and B) = 12.00%, P(A or B) = 58.00% and P(neither) = 42.00% — every region of the Venn diagram, as percentages, fractions and odds.
  • A single event is a simple count: 3 favourable outcomes out of 12 totals 25.00% — also shown as the fraction 1/4 and odds 1:3.
  • A 10% chance tried 10 times lands at least once 65.13% of the time, and on the standard bell curve P(X ≤ 1) is 84.13% — the two extra tools below the main calculator.

Two events — solve from any two values

The tool at the top starts from P(A) and P(B). This one starts from whichever two values you actually know — the overlap, the union, even P(A | B) — and works out the rest. If the events influence each other, switch to dependent mode and hand it P(A | B) directly.

What do you know?

Leave exactly two of these five filled — the other three are answers, not inputs.
The overlap — both events happening together.
At least one of the two happening.
A’s chance once B is known to have happened. Under independence this always equals P(A) — pair the two and the solver will say so.

The full set

P(A or B) — at least one happens
58.00%
Working from P(A) = 30% and P(B) = 40%, with the events independent.
P(A)30.00%
P(B)40.00%
P(A and B) — both happen12.00%
P(A only)18.00%
P(B only)28.00%
P(exactly one)46.00%
P(neither)42.00%
P(A | B) — A, given B happened30.00%
P(B | A) — B, given A happened40.00%
Independence is the engine: P(A and B) = P(A) × P(B) = 30.00% × 40.00% = 12.00%. Every other value is bookkeeping on the four regions — A only, both, B only, neither — which sum to exactly 100%.

Repeated trials — will it happen at least once?

The same chance, tried again and again: ten lottery tickets, five coin flips, a week of rain risk. “At least once” climbs fast — this is the complement rule doing the heavy lifting.

The trials

Every trial has this same chance, and the trials are independent — like separate coin flips.
How many times the trial repeats.
For the “exactly k” answer below — the count of successes whose probability you want.

The repeated odds

P(at least one success)
65.13%
A 10% chance, tried 10 times, lands at least once 65.13% of the time.
P(no successes at all)34.87%
P(exactly 3 successes)5.74%
P(every trial succeeds)0.00%
At least one = 100% − (100% − p) raised to the number of trials: work out the chance of failing every single time, then flip it. Exactly k uses the binomial formula — choose which trials succeed, then multiply the chances along that path.

The full distribution — every possible count

Not just one k: the chance of every success count these trials could produce, with the running totals that answer “at most” and “at least” questions.

Successes kP(X = k)P(X ≤ k)P(X ≥ k)
034.8678%34.8678%100.0000%
138.7420%73.6099%65.1322%
219.3710%92.9809%26.3901%
35.7396%98.7205%7.0191%
41.1160%99.8365%1.2795%
50.1488%99.9853%0.1635%
60.0138%99.9991%0.0147%
70.0009%100.0000%0.0009%
80.0000%100.0000%0.0000%
90.0000%100.0000%0.0000%
100.0000%100.0000%0.0000%
The full distribution for 10 trials at 10% per trial: P(X ≤ k) gives the at-most answers, P(X ≥ k) the at-least ones, and the highlighted row is the exactly-3 count from the trials above. Values below 0.0001% print as 0.0000%.

The normal distribution — the bell curve

Heights, test scores, measurement errors: when values cluster around an average, the bell curve gives the chance of landing at or below any value — no outcome counting required.

The curve

The centre of the curve. Mean 0 with σ 1 below is the standard normal curve.
How spread out the values are. Must be above 0.
The value whose probability you want.
Lower bound for the “between” answer.
Upper bound for the “between” answer.

The probability

P(X ≤ 1)
84.13%
z = 1.00, so Φ(z) = 0.8413 — a value at or below 1 turns up 84.13% of the time.
P(X ≥ 1)15.87%
P(−1 ≤ X ≤ 1)68.27%
z-score of x1.00
Φ (phi) is the cumulative standard normal — the area under the bell curve to the left of z. About 68% of values land within one standard deviation of the mean, about 95% within two, and about 99.7% within three.

Work backwards — from a probability to the value

The inverse question: which value leaves a given share of the curve below it? It uses the mean and standard deviation from the curve above.

The percentile

97.5 means: find the x with 97.5% of values at or below it.

The value

Value x for P(X ≤ x) = 97.5%
1.95996
With μ = 0 and σ = 1, the value 1.95996 leaves 97.50% of the curve below it and 2.50% above.
z-score1.95996
P(X ≥ x) — the share above2.50%
This is the tool above run in reverse: instead of turning a value into an area, it turns an area back into a value — the lookup a printed z-table does backwards.

Confidence-interval table

For the curve above — mean and standard deviation as entered — the central range that holds each standard share of the values:

Share of valueszFrom (μ − zσ)To (μ + zσ)
50%0.674−0.674490.67449
68%0.994−0.9944580.994458
80%1.282−1.281551.28155
90%1.645−1.644851.64485
95%1.960−1.959961.95996
99%2.576−2.575832.57583
99.9%3.291−3.290533.29053
Read z as standard deviations from the mean: the 95% row, μ ± 1.960σ, is the range behind the familiar “plus or minus two standard deviations” rule — and these are the same z values used to build confidence intervals from samples.

Bayes’ theorem — what a positive result really means

A test can be 99% sensitive and still be wrong most of the time — when the condition is rare, the false positives outnumber the true ones. Bayes’ theorem is the arithmetic that weighs a result against the base rate.

The test and the base rate

The base rate before any test: 1% means 1 in 100 people have the condition.
Of those who have the condition, the share the test catches.
Of those who do not have it, the share the test wrongly flags.

Behind a positive result

P(condition | positive result)
16.67%
Starting from a 1% base rate, a positive result lifts the chance to 16.67% — not to the 99% the sensitivity suggests.
P(a positive result, overall)5.94%
P(no condition | positive result)83.33%
Bayes in one line: posterior = sensitivity × prior ÷ (sensitivity × prior + false-positive rate × (100% − prior)) = 99% × 1% ÷ (99% × 1% + 5% × 99%) = 16.67%. The rarer the condition, the harder a positive result has to work.

Draws without replacement — the hypergeometric case

Cards from a deck, marbles from a bag, inspectors sampling a batch: when nothing goes back, the deck shrinks and the simple multiply rule no longer applies. This is the distribution that handles it exactly.

The draw

Everything that could be drawn — a full deck is 52.
The aces in the deck, the red marbles in the bag.
How many are drawn, without putting any back.
The exact count the headline answers for.

The draw odds

P(exactly 2 successes)
3.99%
Drawing 5 from a population of 52 with 4 successes in it — no putting back, so every draw changes the odds for the next.
P(at least 2 successes)4.17%
P(at most 2 successes)99.82%
Expected successes0.38
Counting combinations: C(K, k) × C(N − K, n − k) ÷ C(N, n) = C(4, 2) × C(48, 3) ÷ C(52, 5) = 6 × 17,296 ÷ 2,598,960 = 3.99%. Order does not matter — only which items end up drawn.

Keep exploring

Three companion tools for data and averages.

How it works

Count, divide, combine — that is all probability ever does.

1

Pick your mode

One event on its own, or two independent events combined — the inputs and the picture change to match.

2

Enter the chances

Outcomes for a single event, or a percentage for each of two events. Independence is assumed in two-event mode.

3

Read the full breakdown

Not just the headline: both, either, exactly one and neither — or the fraction, decimal and odds — so the whole picture adds up to 100%.

The math behind the odds

Every probability is a share of the possible: favourable outcomes divided by total outcomes. Combining events follows two rules. For independent events, “and” means multiply — P(A and B) = 30% × 40% = 12.00%. “Or” means add, then subtract the overlap you counted twice — P(A or B) = 30% + 40% − 12% = 58.00%. The rest of the breakdown is bookkeeping: A only is 30% − 12% = 18.00%, B only is 40% − 12% = 28.00%, exactly one is 18% + 28% = 46.00%, and neither is the complement, 100% − 58% = 42.00%. All four regions sum to exactly 100% — check them on the Venn diagram above.

single event: P = favourable ÷ total · P(A and B) = P(A) × P(B) · P(A or B) = P(A) + P(B) − P(A and B) · complement = 1 − P

Worked examples:

QuestionWorkingResult
At least one of A (30%) or B (40%)?30 + 40 − (30 × 40 ÷ 100) = 70 − 1258.00%
3 favourable outcomes out of 123 ÷ 12 = 1/4 · odds in favour 3 : 9 = 1 : 325.00%
Rolling a six on one die1 favourable face out of 616.67%
Neither A nor B(100 − 30) × (100 − 40) ÷ 100 = 70% × 60%42.00%

The sanity checks: every probability lives between 0% (impossible) and 100% (certain), and the regions of any breakdown must sum to 100% — here, 18 + 12 + 28 + 42 = 100. If your regions do not add up, the overlap was double-counted or the complement was forgotten; those two slips account for nearly every wrong probability answer.

Go deeper

The two distinctions that decide whether your answer is right.

These sound similar and behave oppositely:

  • Independent: one event does not change the other’s odds — coin flips, dice rolls, two separate draws with replacement. They CAN happen together, and P(and) = multiply.
  • Mutually exclusive: the events cannot happen together at all — one card cannot be both a king and a queen. P(and) = 0, so P(or) is a clean add with nothing to subtract.
  • The trap: treating exclusive events as independent invents an overlap that does not exist; treating independent events as exclusive erases one that does.
  • This calculator uses the independent model in two-event mode — right for flips, rolls, weather-style estimates and most textbook questions.

The same chance wears two notations:

  • Probability compares success with everything: 3 wins out of 12 outcomes is 3/12 = 25.00%.
  • Odds compare success with failure: 3 wins against 9 losses is odds of 1 : 3 in favour (and 3 : 1 against).
  • Converting: odds of a : b in favour mean a probability of a ÷ (a + b) — 1 : 3 gives 1 ÷ 4 = 25%. Probability p gives odds of p : (1 − p).
  • Where you meet odds: bookmakers and board games quote odds; science and statistics quote probability. Being bilingual between them prevents expensive misunderstandings.

Frequently asked questions

Quick answers about probability.

How do I calculate probability?

Divide the favourable outcomes by the total equally likely outcomes: P = favourable ÷ total. Three winning outcomes out of 12 gives 3 ÷ 12 = 0.25 = 25.00%. Multiply by 100 for the percentage, and simplify the fraction (3/12 = 1/4) for the tidiest form. The single-event mode of this calculator does all three, plus the odds.

How do I find the probability of two events both happening?

If the events are independent, multiply: P(A and B) = P(A) × P(B). With P(A) = 30% and P(B) = 40%: 0.30 × 0.40 = 0.12, so 12.00%. “And” shrinks the probability — both things must go right at once — which is why joint chances are always smaller than either event alone.

How do I find the probability that at least one event happens?

Add the two probabilities, then subtract the overlap you counted twice: P(A or B) = P(A) + P(B) − P(A and B) = 30% + 40% − 12% = 58.00%. The mirror-image trick is just as useful: P(at least one) = 100% − P(neither) = 100% − 42% = 58%. Both routes agree — they must.

What does it mean for events to be independent?

Knowing one happened tells you nothing about the other: a coin does not remember its last flip, and a die does not lean toward numbers it has skipped. Contrast drawing cards without replacement — each draw changes what is left in the deck, so those events are dependent and the simple multiply rule needs adjusting. This calculator’s two-event mode assumes independence — unless you switch the relationship setting to mutually exclusive, for events that can never happen together. For dependent events that can still happen together, use the two-event solver on this page and enter P(A | B) directly.

What is the difference between probability and odds?

Probability compares successes with all outcomes; odds compare successes with failures. A 25.00% probability (1 in 4) is odds of 1 : 3 in favour — one win for every three losses. Convert odds a : b back with a ÷ (a + b). Bookmakers quote odds; scientists quote probability; they are the same fact in two dialects.

What is the complement of an event?

Everything the event is not. P(complement) = 100% − P(event), so a 25.00% chance has a 75.00% complement. Complements are the master key to “at least one” questions: instead of adding up many winning cases, compute the single losing case — P(at least one) = 100% − P(none). For the default events, P(neither) = 42.00%, so P(at least one) = 58.00%.

More tools for data, spread and averages.

Disclaimer

This calculator is for learning and quick reference. Single-event mode assumes every outcome is equally likely, and two-event mode follows the relationship you pick for the events — independent or mutually exclusive; real-world events (weather, health, markets) are often neither, so treat the results as exact math on stated assumptions, not as predictions.

↑