Math calculators

Probability Calculator

Enter the probabilities of events A and B (as percentages) and a number of tries. The calculator assumes the events are independent.

Quick answer: P(A and B) = P(A) × P(B). For example, with probability of A of 50%, probability of B of 30% and number of tries (for A) of 5, the A and B is 15%.

How the Probability calculation works

  • P(A and B) = P(A) × P(B)
  • P(A or B) = P(A) + P(B) − P(A and B)
  • P(not A) = 1 − P(A)
  • P(A at least once in n tries) = 1 − (1 − P(A))ⁿ

The rules behind the calculator

  • And (both happen): multiply. A 50% and a 30% independent event both happen 15% of the time.
  • Or (at least one): add, then subtract the overlap: 50% + 30% − 15% = 65%.
  • Not: subtract from 1. A 50% event fails 50% of the time.
  • At least once in n tries: 1 minus the chance it never happens. A 50% event happens at least once in five tries 96.9% of the time.

Common mistakes

Adding probabilities for “at least once” overcounts: six tries at 1/6 each do not make a six certain — the chance is about 66.5%. And past results do not change independent future ones; a coin that landed heads five times is still 50 : 50 next time. Spread and averages of results are covered by the Standard Deviation Calculator.

What you need for the Probability Calculator

Probability of AA percentage.
Probability of BA percentage.
Number of tries (for A)A whole number.

How to use the Probability Calculator

  1. Check the Region line at the top of the calculator. Your country, currency and units are detected automatically; change them if needed.
  2. Enter probability of A, probability of B and number of tries (for A). Example values are filled in so you can see how it works.
  3. Read your result: the A and B appears instantly, with A or B (at least one), not A and exactly one of A or B underneath.
  4. Use Copy result, Share link or Print to keep the answer. Nothing you type is sent to our servers.

Probability calculation example

Using the calculator’s example values (shown in US dollars and metric units — the calculator itself adapts to your country):

Inputs
Probability of A50%
Probability of B30%
Number of tries (for A)5
Results
A and B15%
A or B (at least one)65%
Not A50%
Exactly one of A or B50%
A at least once in n tries96.875%
A never in n tries3.125%

What affects the probability result most

We re-ran the example with each input 10% higher to see which ones move the A and B most:

  1. If probability of a is 10% higher, the a and b rises by 10% to 16.5%.
  2. If probability of b is 10% higher, the a and b rises by 10% to 16.5%.

Focus on the first of these when you want to change the result. The calculator shows the biggest lever for your own numbers under the result.

Assumptions and limitations of the Probability Calculator

  • A and B are independent: one happening does not change the chance of the other.

Limitations

  • Results are estimates based on the numbers you enter. Check important decisions with a qualified professional.

Probability Calculator FAQs

What is the chance of rolling a six at least once in four rolls?

1 − (5/6)⁴ ≈ 51.8%. Enter 16.67% for A and 4 tries.

What are independent events?

Events where one outcome does not affect the other, such as two coin tosses. Drawing cards without putting them back is not independent.

How do I convert odds to probability?

Odds of 3 to 1 against mean a probability of 1 ÷ (3 + 1) = 25%.

How do I enter a probability like 1 in 6?

As a percentage: 1 ÷ 6 = 16.67%.

What formula does the Probability Calculator use?

P(A and B) = P(A) × P(B). P(A or B) = P(A) + P(B) − P(A and B). P(not A) = 1 − P(A). P(A at least once in n tries) = 1 − (1 − P(A))ⁿ.

What do I need to use the Probability Calculator?

You need probability of A, probability of B and number of tries (for A). Example values are pre-filled, and the calculator converts between metric and imperial units and any currency.

What affects the probability result most?

If probability of a is 10% higher, the a and b rises by 10% to 16.5%. If probability of b is 10% higher, the a and b rises by 10% to 16.5%.

Embed this calculator on your website

Free for any website or blog. Paste this code where the calculator should appear — it resizes itself and needs no sign-up.