Probability Calculator

A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call

Free probability calculator for two independent events: A and B, A or B, not A, neither, exactly one, plus the chance of at least once in a number of tries.

A and B
0
A or B
0
Exactly one
0
Neither
0
Not A
0
Odds for A
0
A at least once
0
A every time
0

Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.

How to use the probability calculator

  1. Enter the probability of event A. Type it as a percentage (30) or switch "Entered as" to decimals and type 0.3.
  2. Optionally enter the probability of event B. With two events, the probability calculator works out A and B, A or B, exactly one, and neither.
  3. Optionally enter a number of tries. The calculator then shows the chance that A happens at least once, and the chance it happens every time.
  4. Read the results. You also get the probability that A doesn't happen, and the odds for A.

All results assume the events are independent: one happening doesn't change the chance of the other. Everything is worked out in your browser.

What probability means

Probability measures how likely something is, on a scale from 0 (impossible) to 1 (certain). It can be written as a decimal (0.25), a percentage (25%) or a fraction (1/4). If every outcome is equally likely, the probability of an event is:

P(event) = number of ways it can happen ÷ total number of outcomes

A fair six-sided die has six outcomes, so the chance of rolling a 4 is 1/6, about 16.67%. The chance of rolling an even number is 3/6 = 50%.

When outcomes aren't equally likely, probabilities come from data or experience: a 2% defect rate, a 30% chance of rain, a 20% email reply rate. The probability calculator accepts any of these.

The rules the probability calculator uses

Not A (the complement). The chance that A doesn't happen is 1 − P(A). If there's a 30% chance of rain, there's a 70% chance of no rain.

A and B (both happen). For independent events, multiply: P(A and B) = P(A) × P(B). A 30% chance and a 20% chance together give 0.3 × 0.2 = 0.06, or 6%.

A or B (at least one happens). Add, then subtract the overlap so it isn't counted twice: P(A or B) = P(A) + P(B) − P(A and B). With 30% and 20%: 0.3 + 0.2 − 0.06 = 0.44, or 44%.

Exactly one. Either A without B or B without A: P(A) + P(B) − 2 × P(A and B) = 38% in the same example.

Neither. Multiply the complements: (1 − P(A)) × (1 − P(B)) = 0.7 × 0.8 = 56%. Check: 44% (at least one) + 56% (neither) = 100%.

At least once in n tries. The easiest route is through the complement: the chance it never happens is (1 − P(A))ⁿ, so the chance it happens at least once is 1 − (1 − P(A))ⁿ.

Every time in n tries. Multiply the probability by itself n times: P(A)ⁿ.

Independent and dependent events

Independence is the key assumption. Two coin flips are independent: the first doesn't affect the second. Drawing two cards from a deck without putting the first one back is dependent: after drawing an ace, there are only three aces left in 51 cards, so the chance of a second ace drops from 4/52 to 3/51.

For dependent events, use the conditional probability: P(A and B) = P(A) × P(B given A). For two aces, that's 4/52 × 3/51 = 1/221, about 0.45%. You can enter the conditional probability as B in the probability calculator to get the right "and" result, but the "or" and "neither" figures assume independence, so treat them with care.

Independence is also why the "gambler's fallacy" is wrong: after five reds in a row on a roulette wheel, the chance of red on the next spin is unchanged.

Mutually exclusive events

Events are mutually exclusive if they can't both happen: rolling a 2 and rolling a 5 on the same die. Then P(A and B) = 0 and P(A or B) = P(A) + P(B). Mutually exclusive events aren't independent (if one happens, the other definitely can't), so for them, use the simple addition rule rather than the calculator's independent-event "and" figure.

Odds and probability

Odds compare the chance something happens with the chance it doesn't. A probability of 20% means odds of 20 to 80, which simplifies to 1 to 4 (or 4 to 1 against). A 75% probability is odds of 3 to 1 for. The probability calculator shows the odds for A in this form.

To turn odds of a to b into a probability: P = a ÷ (a + b). Odds of 1 to 4 give 1 ÷ 5 = 20%. Betting odds also include the bookmaker's margin, so the probabilities implied by all outcomes add up to more than 100%.

The "at least once" calculation

People often underestimate how quickly small chances add up over many tries. A 2% chance of a defect in each part sounds low, but across 50 parts the chance of at least one defect is 1 − 0.98⁵⁰ = 63.58%. A 1-in-6 chance on each roll of a die gives a 51.77% chance of at least one six in four rolls, the basis of a famous 17th-century gambling problem that helped start probability theory.

This is also why multiplying is the wrong shortcut: 2% × 50 = 100% would suggest a defect is certain, which it isn't. Use the complement method, which the probability calculator does for you.

Where probability is used

  • Quality control: the chance a batch contains at least one faulty item.
  • Marketing: if 20% of people open an email and 10% of openers click, the chance a recipient clicks is 0.2 × 0.1 = 2%. The conversion rate calculator and A/B test calculator help with real campaign data.
  • Games: dice, cards and spinners. The dice roller and coin flip let you test probabilities by trying them.
  • Risk and planning: the chance at least one of several suppliers is late, or that a backup and the main system fail together.
  • Statistics: probabilities from the normal distribution, which the z-score calculator works out.
  • Counting outcomes: for lotteries and card hands, the combination calculator counts how many ways things can happen.

Common mistakes

  • Adding probabilities that overlap. 50% + 50% doesn't make 100% for two coin flips showing at least one head; it's 75%.
  • Multiplying dependent events as if independent. Check whether the first event changes the second.
  • Confusing odds with probability. Odds of 1 to 4 are a 20% chance, not 25%.
  • Mixing percentages and decimals. The probability calculator has a switch so you can enter whichever you have.

Probability in spreadsheets

To check the probability calculator's answers in Excel or Google Sheets, put the probabilities as decimals in cells A1 and B1. Then =A1B1 gives "A and B", =A1+B1-A1B1 gives "A or B", =(1-A1)*(1-B1) gives "neither", and =1-(1-A1)^5 gives "at least once in 5 tries". For dice and card questions where you need to count outcomes, the COMBIN and PERMUT functions count combinations and permutations.

A worked example

A small online shop knows that 30% of visitors add something to their basket (A) and, separately, that 20% sign up to the newsletter (B), and the two seem unrelated. The owner enters 30 and 20 into the probability calculator.

  • Both: 30% × 20% = 6% of visitors.
  • At least one: 30% + 20% − 6% = 44%.
  • Exactly one: 38%. Neither: 56%.
  • The odds of adding to basket are 1 to 2.3333 (about 3 to 7).

She also adds 5 tries, imagining a returning customer making five visits. The chance they add something at least once is 1 − 0.7⁵ = 83.19%, while the chance they add something on every visit is only 0.3⁵ = 0.24%.

Need more customers from Google?

This tool is free and runs in your browser. If your business also needs more leads or sales, Google Ads is where people search with their wallet out. DeepRit is a Google Ads agency that does PPC and nothing else: we build the campaigns, block the searches that waste money, write the ads, set up conversion tracking and send you a short report every week. Request a free PPC audit and we will show you, in dollars, what we would fix first.

Frequently asked questions

How do you calculate the probability of two events?

For independent events, multiply for "and" (P(A) × P(B)) and use P(A) + P(B) − P(A) × P(B) for "or". The probability calculator does both at once.

What is the probability of at least one success?

1 − (1 − p)ⁿ, where p is the chance each time and n is the number of tries. With p = 2% and 50 tries, it's 63.58%.

How do I convert odds to probability?

Odds of a to b equal a ÷ (a + b). Odds of 3 to 1 are 3 ÷ 4 = 75%.

What does independent mean in probability?

That one event doesn't change the chance of the other, like separate coin flips. Drawing cards without replacement isn't independent.

Can a probability be more than 100%?

No. Probabilities run from 0 to 1 (0% to 100%). If your answer is higher, you've probably added overlapping events.

Is the probability calculator free?

Yes, it's completely free and works in your browser with no sign-up.

Free PPC audit

See where your ad budget leaks.

We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.

Book a free audit call 30-minute call · Free · The audit is yours to keep