๐Ÿ‡บ๐Ÿ‡ธ USC
Math & Conversion
๐ŸŽฒ

Probability Calculator

Single events, A and B, A or B, conditional probability, and the chance of at least once

โœ…

Last updated October 2026

Method: Standard probability rules: single-event P = favorable / total; the multiplication rule P(A and B) = P(A) × P(B) for independent events and P(A) × P(B given A) in general; the addition rule P(A or B) = P(A) + P(B) − P(A and B); conditional probability P(A given B) = P(A and B) / P(B); and the complement rule P(at least once) = 1 − (1 − p)n. Fractions are computed exactly; results are shown as a reduced fraction, a decimal and a percent.

Included: Single events with odds in favor and against; two events that are independent, mutually exclusive or dependent (and, or, exactly one, neither, and both conditional probabilities); and the chance an event happens at least once over n trials, with the number of tries needed for a 50%, 90% or 99% chance.

Not included: The binomial probability of exactly k successes, Bayes' theorem with more than two events, and continuous distributions. These need their own tools.

๐ŸŽฒ What do you want to find?

๐ŸŽฏ Single event

Assumes every outcome is equally likely, like the faces of a fair die.

๐Ÿ“ˆ P(event)

16.67%
Fraction
1/6
Decimal
0.166667

๐Ÿงฎ Breakdown

Probability it happens16.67%
Probability it does not (complement)83.33%
Odds in favor1 : 5
Odds against5 : 1
As a frequency1 in 6
๐Ÿงพ Formula: P = favorable รท total = 1 รท 6 = 1/6 = 0.166667 = 16.67%
The single-event mode assumes equally likely outcomes. In the two-event mode you choose how the events are related; the repeated-trials mode assumes independent tries with the same probability. For the chance of exactly k successes, use a binomial calculation.

Probability calculator: everything you need to know

A probability calculator finds the chance an event happens by dividing favorable outcomes by total outcomes: P = favorable ÷ total. Rolling a 4 on a six-sided die gives P = 1/6 = 0.1667 = 16.67%. This tool also computes combined events (A and B, A or B) and the odds of something happening at least once over many trials, returning every answer as a fraction, a decimal and a percent.

To count the outcomes behind a probability (how many poker hands or lottery tickets there are), use the Permutation & Combination Calculator; to weigh each outcome by what it pays, the Expected Value Calculator; and for the chance of a value under a bell curve, the Z-Score Calculator.

The core formulas

Probability is a number between 0 and 1. A 0 means the event is impossible; a 1 means it is certain. The four rules this tool uses are:

Single event:  P = favorable ÷ total Both (and):    P(A and B) = P(A) × P(B given A) Independent:   P(A and B) = P(A) × P(B) Either (or):   P(A or B) = P(A) + P(B) − P(A and B) Given:         P(A given B) = P(A and B) ÷ P(B) At least once: P = 1 − (1 − p)n

When the events are independent (one does not change the other), P(B given A) is simply P(B), and the multiplication rule becomes P(A) × P(B). When they are mutually exclusive, P(A and B) is 0 and the addition rule reduces to P(A) + P(B). The "at least once" rule uses the complement: instead of adding every way the event could happen, it works out the single probability that it never happens and subtracts that from 1.

How to use this probability calculator

Pick the mode that matches your question, then fill in the inputs:

  1. Choose a mode: "Single event," "Two events," or "Repeated trials" at the top.
  2. Single event: enter how many outcomes count as a success (favorable) and how many outcomes are possible in total. The quick buttons load common setups like a coin or a die.
  3. Two events: enter P(A) and P(B) as a decimal (0.25), a percent (25%) or a fraction (1/4), then choose whether the events are independent, mutually exclusive or dependent. For dependent events, also enter P(B given A). Each field shows its percent equivalent so you can double-check.
  4. Repeated trials: enter the probability per try and how many tries (n), and read the chance it happens at least once.

The result updates instantly. The large number at the top is the headline answer, and the cards beneath it give the fraction (or a "1 in N" frequency), the decimal and a full breakdown of the related probabilities.

Worked example 1: a single die roll

What is the probability of rolling an even number on a die? The even faces are 2, 4, and 6: 3 favorable outcomes out of 6. So P = 3/6, which reduces to 1/2 = 0.5 = 50%. The complement (rolling an odd number) is also 50%, because the two possibilities cover every outcome and must add to 1.

Worked example 2: two coins (and / or)

Flip two fair coins. Each has a 0.5 chance of heads. The probability that both land heads is P(A and B) = 0.5 × 0.5 = 0.25 (25%). The probability that at least one is heads is P(A or B) = 0.5 + 0.5 − 0.25 = 0.75 (75%). Notice we subtracted the 0.25 overlap; without that subtraction you would wrongly get 100%, which would mean heads is guaranteed. It is not: there is a 25% chance both coins come up tails.

Worked example 3: at least once over n tries

Suppose a game has a 10% (p = 0.1) drop chance each time you play. Over 10 plays, your intuition might say 100%, but that is wrong. The chance of never getting the drop is 0.910 = 0.349, so the chance of getting it at least once is 1 − 0.349 = 0.651, about 65%. You would actually need around 22 plays to cross 90%, and rare events never truly reach 100% no matter how many tries you make.

At-least-once probability table: chance per try vs. number of tries

Read across a row for a fixed per-try chance and down a column for the number of attempts. Every cell is 1 − (1 − p)n, the probability the event happens at least once, computed and rounded to one decimal.

Chance per try (p) 1 try 2 tries 3 tries 5 tries 10 tries 25 tries
1%1.0%2.0%3.0%4.9%9.6%22.2%
5%5.0%9.8%14.3%22.6%40.1%72.3%
10%10.0%19.0%27.1%41.0%65.1%92.8%
20%20.0%36.0%48.8%67.2%89.3%99.6%
50%50.0%75.0%87.5%96.9%99.9%>99.9%

Notice how a 1% per-try chance is still only about 22% after 25 tries, while a 50% chance is already near-certain by 5 tries. This is the "at least once" pattern that also answers or questions across several equal events.

Quick reference table

Common single-event probabilities, shown three ways:

Event Fraction Decimal Percent
Coin lands heads1/20.550%
Roll a specific number on a die1/60.166716.67%
Roll an even number1/20.550%
Draw an ace from a deck1/130.07697.69%
Draw a specific card1/520.01921.92%
Both of two coins are heads1/40.2525%
At least one head in two flips3/40.7575%

Who this calculator is for

  • Students checking homework on basic probability, the and/or rules, and the complement.
  • Gamers and hobbyists working out drop rates, loot odds, or the chance of a result over many attempts.
  • Anyone making decisions under uncertainty: estimating the chance that at least one of several things goes wrong (or right).
  • Teachers who want a clean way to show the same probability as a fraction, decimal, and percent.

Key probability terms

  • Outcome: a single possible result, such as rolling a 4.
  • Sample space: the full set of possible outcomes, such as {1, 2, 3, 4, 5, 6} for a die.
  • Favorable outcome: an outcome that counts as a success for the event you are measuring.
  • Independent events: events where one result has no effect on the other.
  • Complement: the event "this does not happen," with probability 1 − P.
  • Conditional probability: the chance of one event given that another has happened, P(A given B) = P(A and B) ÷ P(B).
  • Mutually exclusive: events that cannot both occur at once; for those, P(A or B) = P(A) + P(B) with nothing to subtract.

Independent vs. dependent events

The simple product P(A) × P(B) assumes independence. That holds for coins, dice, and spinners. It breaks down when one event changes the next, for example drawing two cards without replacing the first. There, the probability of the second draw depends on what you drew first, so you need conditional probability, P(B given A). For two aces in a row the chance is 4/52 × 3/51 = 1/221, about 0.45%, slightly less than the 1/169 (0.59%) you would get by wrongly treating the draws as independent. Choose Dependent in the two-event mode, or load the "Two aces, no replacement" example, to get this directly.

Why "at least once" surprises people

People routinely overestimate how fast a rare event becomes near-certain. A 1% chance per attempt does not reach 50% until about 69 attempts, and never quite hits 100%. The complement rule, 1 − (1 − p)n, is the cleanest way to see this. Whenever a question contains the phrase "at least one," reach for the complement rather than trying to add up every individual case; it is faster and far less error-prone.

Tips for getting it right

  • Always sanity-check that your answer sits between 0% and 100%.
  • For "and" think "smaller": combining requirements makes an event rarer, so P(A and B) is never larger than either piece.
  • For "or" think "bigger": P(A or B) is at least as large as the larger of the two.
  • When multiplying by hand, convert percentages to decimals (divide by 100) first; the calculator accepts 25% as typed.
  • Use the complement for any "at least one" question.

Related concepts and tools

Probability sits next to several other math topics. For exactly k successes in n trials (like "exactly 3 heads in 5 flips"), you need the binomial distribution, which builds on the counting methods in our Permutation & Combination Calculator. To turn a probability into a percentage of a quantity, the Percentage Calculator helps; to simplify the fraction form of a result, the Fraction Calculator does the reducing; and powers like (1 − p)n are exactly what the Exponent Calculator evaluates. If you want to summarise the spread of many outcomes rather than the chance of one, the Standard Deviation Calculator measures how far results stray from the average. This page focuses on the everyday rules (single, combined, and "at least once") that cover the large majority of probability questions.

Theoretical vs. experimental probability

There are two ways to arrive at a probability. Theoretical probability is what you get from reasoning about a fair setup: a coin "should" land heads half the time, so P = 1/2. That is what this calculator computes. Experimental (empirical) probability comes from actually running trials and dividing the number of successes by the number of attempts. If you flip a real coin 100 times and get 54 heads, the experimental probability is 0.54. The two converge as the number of trials grows, a result known as the law of large numbers. Small samples can stray a long way from the theoretical value, which is exactly why a coin landing heads five times in a row does not mean the coin is "due" for tails. Each flip is still 50/50; the past results carry no memory.

This distinction matters when you read claims in the real world. A basketball player's free-throw percentage is counted from shots actually taken (experimental), while the chance of drawing a red card from a full deck (26/52 = 50%) is pure theory. When a stated probability does not match what you observe over many repetitions, the underlying assumption (usually "fair" or "equally likely") is what is wrong, not the arithmetic.

Worked example: estimated probability from a frequency table

Suppose a number cube is rolled 250 times with the tally below. The estimated (experimental) probability of each outcome is its count ÷ 250. To find the estimated probability of an even number, add the counts for 2, 4 and 6 and divide by 250.

Number rolled Times rolled Estimated probability
13232/250 = 0.128 = 12.8%
25858/250 = 0.232 = 23.2%
34545/250 = 0.180 = 18.0%
43636/250 = 0.144 = 14.4%
52222/250 = 0.088 = 8.8%
65757/250 = 0.228 = 22.8%

The even faces total 58 + 36 + 57 = 151 rolls, so the estimated probability of an even number is 151/250 = 0.604 = 60.4%. The odd faces make up the remaining 99/250 = 39.6%. This is experimental probability: with a truly fair cube the theoretical value is exactly 50%. A gap this large is not ordinary noise, though: a fair cube lands 26 or more rolls away from the expected 125 even rolls in only about 0.12% of 250-roll experiments (roughly 1 in 800), so a real tally like this would be good evidence that the cube is not fair.

The gambler's fallacy and independence

The single most common probability error in everyday life is the gambler's fallacy: believing that a run of one outcome makes the opposite outcome more likely. After five reds on a roulette wheel, red and black are still equally likely on the next spin, because the spins are independent. The wheel has no memory. The "at least once" formula in this tool quietly relies on the same independence assumption: each trial is treated as a fresh event with the same probability p. If your trials are not independent (cards drawn without replacement, or a machine that wears out and changes its failure rate), the simple powers of (1 − p) no longer hold, and you have to track how the probability shifts from one trial to the next.

The flip side is just as important. A long run of the same result does not prove the events are dependent or the setup is rigged; streaks are completely normal in random data. Getting ten heads in a row has a probability of (1/2)10 = 1/1024, which is small for a specific person on a specific evening but is expected to happen now and then across thousands of people flipping coins. Rare-but-not-impossible is the default state of randomness.

Combining more than two events

The "and" and "or" rules extend naturally to three or more independent events. For "all of them happen," multiply every probability: P(A and B and C) = P(A) × P(B) × P(C). For "at least one of them happens," the cleanest route is again the complement: work out the chance that none happen and subtract from 1: P(at least one) = 1 − (1 − P(A)) × (1 − P(B)) × (1 − P(C)). Notice that when all the probabilities are equal to p and there are n of them, this collapses straight into the familiar 1 − (1 − p)n formula. That is why the "repeated trials" mode is really just the multi-event "or" rule in disguise: rolling at least one six in four dice throws is the same calculation as "six on throw 1 or throw 2 or throw 3 or throw 4."

Worked example 4: the birthday-style surprise

Imagine a small lottery ticket with a 1 in 1,000 (p = 0.001) chance of winning, and you buy 500 tickets over a year. It feels like you should be roughly halfway to a guaranteed win, but the complement rule tells the real story. The chance of never winning is 0.999500 ≈ 0.606, so the chance of winning at least once is only about 1 − 0.606 = 0.394, or 39%. To get past a coin-flip 50% chance you would need about 693 tickets. This same math explains why "one in a million" events still happen to someone every day once you multiply by a large enough population, and why repeated small risks add up faster than intuition suggests.

How to read a probability as a real-world frequency

Decimals and percentages can feel abstract, so it often helps to restate a probability as a frequency. A probability of 0.02 is "about 1 in 50," 0.001 is "about 1 in 1,000," and 0.0001 is "about 1 in 10,000." To convert any decimal to a "1 in N" form, divide 1 by the probability: 1 ÷ 0.04 = 25, so 0.04 is roughly 1 in 25. Many people find a natural frequency ("4 out of 100 patients") easier to picture than a bare percentage ("4%"), even though the two are identical. When you read off a result from this calculator, try both framings and use the one that makes the size of the chance click for you.

Convert a probability to percent, odds and "1 in N"

The same probability written five ways. Odds in favor compare favorable to unfavorable outcomes (reduced), and 1 in N is 1 divided by the decimal, handy for turning a fraction or an odds statement into a percentage.

Fraction Decimal Percent Odds in favor 1 in N
3/40.750075.00%3:11 in 1.33
2/30.666766.67%2:11 in 1.50
1/20.500050.00%1:11 in 2
1/30.333333.33%1:21 in 3
1/40.250025.00%1:31 in 4
1/50.200020.00%1:41 in 5
1/60.166716.67%1:51 in 6
1/100.100010.00%1:91 in 10
1/130.07697.69%1:121 in 13
1/200.05005.00%1:191 in 20
1/520.01921.92%1:511 in 52
1/1000.01001.00%1:991 in 100

Frequently confused: probability vs. odds vs. expected value

Three ideas get mixed up constantly, so it is worth keeping them separate. Probability is favorable outcomes over total outcomes, always between 0 and 1. Odds compare favorable to unfavorable: a 1/4 probability is "1 to 3" odds (one win for every three losses), which is why a result that "sounds" like 1:4 is actually a probability of 1/5. Expected value takes it one step further by weighting each outcome by its payoff: if a $1 bet pays $5 on a 1/6 event, the expected value is (1/6 × $5) + (5/6 × −$1) = $0.83 − $0.83 = $0, a fair bet. Most casino and lottery games carry a negative expected value by design, which is the mathematical reason the house wins over time even though any single player can get lucky. This calculator gives you the probability; converting that to odds or feeding it into an expected-value sum is the natural next step for any decision involving stakes.

Sources and further reading

  • Common Core State Standards for Mathematics, Conditional Probability and the Rules of Probability: independence (HSS-CP.A.2), conditional probability as P(A and B)/P(B) (HSS-CP.A.3), the addition rule (HSS-CP.B.7) and the general multiplication rule P(A and B) = P(A)P(B|A) (HSS-CP.B.8).
  • Common Core State Standards for Mathematics, Grade 7 Statistics and Probability: probability as a number between 0 and 1 (7.SP.C.5), estimating probability from long-run relative frequency (7.SP.C.6) and compound events (7.SP.C.8).
  • NIST/SEMATECH e-Handbook of Statistical Methods, §1.3.6 Probability Distributions.
  • Standard results in elementary probability: the multiplication rule for independent events, the addition rule with the inclusion-exclusion correction, and the law of large numbers.

This calculator is an educational tool. It assumes events are independent and equally likely unless stated otherwise, and it does not constitute financial or gambling advice.

โš ๏ธ Common mistakes & edge cases

Adding probabilities without subtracting the overlap

For "A or B," people often add P(A) + P(B) and stop. With two coins that gives 0.5 + 0.5 = 1.0, implying heads is guaranteed, which it is not. You must subtract P(A and B): 0.5 + 0.5 − 0.25 = 0.75.

Treating dependent events as independent

Drawing two cards without putting the first back is not independent: the second draw's odds change. Multiplying the original probabilities gives the wrong answer; use P(A) × P(B given A) instead, which the calculator's Dependent option does.

Assuming "at least once" reaches 100%

A 10% chance over 10 tries is about 65%, not 100%. Repeated trials raise the odds but never guarantee a rare event. Use 1 − (1 − p)n rather than n × p, which can even exceed 1.

Mixing up percent and decimal

Entering 25 when you mean 25% would make the probability 100 times too large and push it past 1. Type 25% with the percent sign, 0.25, or 1/4; the calculator flags any value outside the valid 0-to-1 range.

Note: The repeated-trial mode assumes independent tries with the same probability. In the two-event mode, choose Dependent whenever one outcome affects the other.

❓ Frequently asked questions

How do you calculate the probability of a single event?

Divide the number of favorable outcomes by the total number of equally likely outcomes: P = favorable / total. For example, rolling a 4 on a fair six-sided die has 1 favorable outcome out of 6, so P = 1/6 = 0.1667 = 16.67%. Probability is always between 0 (impossible) and 1 (certain).

What is the probability of two events both happening?

For two independent events, multiply their probabilities: P(A and B) = P(A) ร— P(B). If P(A) = 0.5 and P(B) = 0.5, then P(A and B) = 0.5 ร— 0.5 = 0.25, or 25%. If the first event changes the odds of the second, use the general rule P(A and B) = P(A) ร— P(B given A): two aces in a row from a shuffled deck, without putting the first card back, is 4/52 ร— 3/51 = 1/221, about 0.45%.

How do you calculate the probability of A or B?

Use the addition rule P(A or B) = P(A) + P(B) โˆ’ P(A and B). You subtract the overlap so you do not count the case where both happen twice. For independent events the overlap is P(A) ร— P(B), so with P(A) = 0.5 and P(B) = 0.5, P(A or B) = 0.5 + 0.5 โˆ’ 0.25 = 0.75, or 75%. For mutually exclusive events the overlap is 0 and you simply add.

What is conditional probability?

Conditional probability is the chance of one event given that another has already happened, written P(A given B) or P(A | B). It equals P(A and B) รท P(B). For example, once an ace has been drawn, the chance the next card is also an ace is 3/51, about 5.88%, because only 3 aces remain among 51 cards. In the calculator's two-event mode, choose Dependent to enter P(B given A); it also reports P(A given B) and P(B given A) for every relationship.

What is the 'at least once' probability over many trials?

The easiest route is the complement. The chance the event never happens in n independent trials is (1 โˆ’ p)^n, so the chance it happens at least once is 1 โˆ’ (1 โˆ’ p)^n. With p = 0.1 over 10 trials, that is 1 โˆ’ 0.9^10 = 1 โˆ’ 0.349 = 0.651, or about 65%.

What is the probability of rolling at least one six in four rolls?

1 โˆ’ (5/6)^4 = 1 โˆ’ 625/1296 = 671/1296, about 51.77%. The chance of no six in a single roll is 5/6, so the chance of no six in four independent rolls is (5/6)^4 = 625/1296, about 48.23%, and the rest of the time at least one six appears. Load the "A six in 4 rolls" example in the repeated-trials mode to see the exact fraction.

What does 'independent events' actually mean?

Two events are independent when the outcome of one does not change the probability of the other. Flipping a coin twice, or rolling two dice, gives independent events. Drawing two cards without replacing the first does not: the second draw depends on the first, so you multiply by the conditional probability instead (choose Dependent in the calculator).

What is the difference between probability and odds?

Probability is favorable outcomes over total outcomes (for example 1/6). Odds compare favorable to unfavorable outcomes (for example 1 to 5, written 1:5). To convert, odds in favor of A are P(A) : (1 โˆ’ P(A)). A probability of 0.25 is the same as odds of 1:3. The single-event mode shows both the odds in favor and the odds against.

Can a probability be greater than 1 or negative?

No. A valid probability is always between 0 and 1 inclusive (0% to 100%). If a calculation gives a number outside that range, you have either mixed up percent and decimal values or added overlapping events without subtracting their intersection. This calculator flags inputs that fall outside the valid range, and it also flags combinations that cannot happen together, such as mutually exclusive events whose probabilities add up to more than 1.

How do I enter a percentage into the calculator?

Type it with the percent sign, such as 25%. The probability fields also accept a decimal (0.25) or a fraction (1/4), and each field shows its percent equivalent so you can confirm the entry. A bare 25 is flagged, because a probability above 1 is impossible, with a hint to add the percent sign.

Why use the complement rule for 'at least once'?

Adding up the probability of exactly one success, exactly two, and so on is tedious. The opposite of "at least once" is simply "never," which has one clean value: (1 โˆ’ p)^n. Subtracting that from 1 gives the answer in a single step, which is why 1 โˆ’ (1 โˆ’ p)^n is the standard formula.

Does this calculator handle exactly k successes out of n?

No. This tool covers single events, two events (independent, mutually exclusive or dependent), and the at-least-once case over repeated trials. For the probability of exactly k successes in n trials (the binomial distribution), you need a binomial calculation, which uses combinations: C(n, k) ร— p^k ร— (1 โˆ’ p)^(n โˆ’ k).

How do you convert a probability to a percentage?

Multiply the decimal (or the fraction) by 100. A probability of 0.5 is 0.5 ร— 100 = 50%; a spinner with a 0.5 chance of landing on a section is a 50% chance. A fraction like 1/6 is 1 / 6 = 0.1667, then ร— 100 = 16.67%. To go the other way, divide the percent by 100.

What is experimental (estimated) probability?

Experimental probability is the number of times an event actually happened divided by the number of trials, rather than a theoretical count of equally likely outcomes. If a number cube rolled 250 times shows even faces 151 times, the estimated probability of an even number is 151/250 = 0.604 = 60.4%. For a fair cube the theoretical value is 50%, and experimental estimates settle toward the true value as the number of trials grows.

๐Ÿ’ก Good to know

Probability always lives between 0 and 1

0 means impossible, 1 means certain, and everything in between is a chance. If a result lands outside this range, an input or a formula is off, usually a percent entered as a whole number.

"And" shrinks, "or" grows

Requiring two things to both happen (and) makes the outcome rarer than either alone. Accepting either of two things (or) makes it more likely than either alone. Use this as a gut check on every answer.

The complement is your shortcut

Any "at least one" question is easiest as 1 minus the chance of "none." That single step replaces a long sum of every possible success count, especially over many trials.

Related Calculators