Saved

Press the star next to a tool's name to save it.

All my tools

Probability Calculator

Enter your outcomes or chances, and this probability calculator works out the likelihood of one event, of two events together, or of repeated tries such as coin flips.

Restored your last values ·

Chances can be typed as a decimal, a percentage or a fraction.

–

Enter your values to calculate.

A probability calculator tells you how likely something is to happen. Choose one of three modes, and this probability calculator finds the chance of a single event, the chance of two events happening together or separately, or the chance of a given number of successes in repeated tries. Results are shown as a percentage and as a decimal. It's useful for homework, games, risk estimates and everyday questions, such as the chance of rolling a six within four throws of a die.

What is probability?

Probability describes how likely an event is to occur. It is a number between 0 and 1, where a larger number means that the event is more likely, and it's often written as a percentage from 0% to 100%. A simple example is tossing a fair coin. Heads and tails are equally likely and no other outcomes are possible, so the probability of heads is 1/2, which is the same as 0.5 or 50%. Probability theory is used in statistics, science, finance, gambling, artificial intelligence and computer science.

How to use the probability calculator

  1. Choose a mode: one event, two events, or repeated tries.
  2. Enter your values. Chances can be typed as 0.5, 50% or 1/2.
  3. Press Calculate to see the results.

Probability formulas

  • One event: P(A) = outcomes you want ÷ total outcomes
  • Not A: P(not A) = 1 − P(A)
  • Independent events, both: P(A and B) = P(A) × P(B)
  • Either event, or both: P(A or B) = P(A) + P(B) − P(A and B)
  • Exactly k in n tries: P = C(n, k) × p^k × (1 − p)^(n − k)

Single event example

A fair die has six faces, and just one of them shows a six. The probability of rolling a six is 1 ÷ 6, which is about 16.67%. The probability of not rolling a six is 5 ÷ 6, or about 83.33%. The odds in favor are 1 : 5, which means one way to win for every five ways to lose. Be careful not to confuse odds with probability: odds of 1 : 5 aren't the same as a probability of one in five.

Two events example

Suppose event A has a probability of 0.5, event B has a probability of 0.25, and the two are independent, so neither one affects the other. The chance of both is 0.5 × 0.25 = 12.5%. The chance of at least one is 0.5 + 0.25 − 0.125 = 62.5%. The chance of neither is 37.5%. If two events can't happen at the same time, such as a single card being both a heart and a spade, they are called mutually exclusive. In that case, the chance of both is zero, and you can simply add the two probabilities to find the chance of either one.

Repeated tries example

When the same event is repeated, and each try is independent with the same chance of success, the results follow a binomial distribution. Toss a fair coin 10 times, and the chance of exactly 5 heads is about 24.61%. That may be lower than you expected, even though 5 is the single most likely result. To find the chance of rolling at least one six in four throws, it's easier to work out the opposite. The chance of no six at all is (5/6)^4, so the chance of at least one is 1 − (5/6)^4, which is about 51.77%.

Independent or not?

Events are independent when one result doesn't change the chance of the other. Successive coin tosses are independent, and so are rolls of a die. Drawing cards without replacing them isn't, because each card removed changes what remains. If your events are dependent, multiply the chance of the first by the chance of the second given that the first has happened. Treating dependent events as independent is one of the most frequent errors in probability.

The gambler's fallacy

A coin doesn't remember its previous results. After five heads in a row, the chance of heads on the next toss is still 50% with a fair coin. Many people feel that tails is "due", but each independent try starts afresh. Over a very large number of tries, the proportion of heads will tend toward one half, but this doesn't happen because the coin corrects itself. The earlier results are simply swamped by the many later ones.

Using probability in everyday decisions

A probability can help you to compare options, but it doesn't predict a single result. A 70% chance of rain means that it may very well stay dry, and a small risk repeated many times can add up to a large one. The "at least once" figure shows exactly this effect. Even a 1% chance becomes about 63% over 100 independent tries.

Common mistakes

  • Adding probabilities that overlap. Subtract the chance of both.
  • Multiplying dependent events. Adjust for what has already happened.
  • Confusing odds with probability. They are written differently.
  • Forgetting the complement. "At least one" is often easier to find from "none".

Count arrangements with the combination calculator, measure spread with the standard deviation calculator, and convert values with the percentage calculator.

What next

Use this often? Add Probability to your Home screen.

Frequently asked questions

How does the probability calculator work?

It applies the standard formulas for a single event, for two events, and for repeated independent tries.

How do I calculate the probability of two events?

For independent events, multiply the two chances. For either one, add them and subtract the chance of both.

What is the difference between odds and probability?

Probability compares successes with all outcomes. Odds compare successes with failures.

Can I enter a percentage?

Yes. Chances can be typed as a decimal, a percentage or a fraction.

What are independent events?

Events where the result of one doesn't change the chance of the other, such as two coin tosses.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Math Tools