Skip to main content

Calcu.fit

Probability Calculator: Find the Chance of Single and Multiple Events

Use this free probability calculator to find the chance that something happens. Enter the number of favorable outcomes and total outcomes for a single event, or enter the probabilities of two events to find the chance of both (A and B), either (A or B), neither, and a conditional probability (A given B). You can also calculate binomial probabilities for repeated trials, and convert between probability and odds. No signup needed.

How to Use This Probability Calculator

For one event:

  1. Enter the number of favorable outcomes and the total number of equally likely outcomes.
  2. Click Calculate to see the probability and the probability that it does not happen.

For two events:

  1. Enter P(A) and P(B), as decimals (0.3), percentages (30%), or fractions (3/10).
  2. Choose whether the events are independent, mutually exclusive, or if you know P(A and B).
  3. Click Calculate.

For repeated trials (binomial):

  1. Enter the number of trials (n), the number of successes (k), and the probability of success in one trial (p).
  2. Click Calculate to see the chance of exactly k, at most k, and at least k successes.

What You’ll See in Your Results

  • Probability as a decimal, a percentage, and a fraction
  • Probability that the event does not happen
  • P(A and B), P(A or B), P(neither), and P(A given B)
  • Binomial results: exactly, at most, and at least k successes
  • Odds in favor and odds against
  • Steps and the formula used

What Is Probability?

Probability is a number from 0 to 1 that tells you how likely something is. 0 means it cannot happen, and 1 means it is certain. You can also write it as a percentage (0% to 100%) or a fraction. A fair coin landing heads has a probability of 0.5, or 50%, or 1/2.

Probability Formulas

SituationFormula
Probability of an eventP(A) = favorable outcomes ÷ total outcomes
Complement (event does not happen)P(not A) = 1 − P(A)
Independent events, both happenP(A and B) = P(A) × P(B)
Either event happens (general)P(A or B) = P(A) + P(B) − P(A and B)
Mutually exclusive events, either happensP(A or B) = P(A) + P(B)
Conditional probabilityP(A given B) = P(A and B) ÷ P(B)
Dependent events, both happenP(A and B) = P(A) × P(B given A)
Bayes’ theoremP(A given B) = P(B given A) × P(A) ÷ P(B)
Binomial probabilityP(X = k) = C(n, k) × pᵏ × (1 − p)ⁿ⁻ᵏ
At least one success in n trials1 − (1 − p)ⁿ
Combinations (order does not matter)C(n, k) = n! ÷ (k! × (n − k)!)
Permutations (order matters)P(n, k) = n! ÷ (n − k)!
Odds in favorP ÷ (1 − P)
Probability from oddsodds ÷ (1 + odds)
Expected valueΣ (value × probability)

Independent events do not affect each other, such as two coin flips. Mutually exclusive events cannot both happen, such as rolling a 1 and a 2 on one die at the same time.

Probability Examples

Example 1: A Single Event

You roll one fair die.

  • P(rolling a 6) = 1 ÷ 6 = 16.67%
  • P(not rolling a 6) = 1 − 1/6 = 83.33%

Example 2: Independent Events (AND)

You flip a fair coin.

  • P(2 heads in a row) = 0.5 × 0.5 = 25%
  • P(3 heads in a row) = 0.5³ = 12.5%
  • P(at least 1 head in 3 flips) = 1 − 0.5³ = 87.5%

Example 3: Either Event (OR)

You draw one card from a standard 52-card deck.

  • P(heart) = 13/52, P(ace) = 4/52, P(ace of hearts) = 1/52
  • P(heart or ace) = 13/52 + 4/52 − 1/52 = 16/52 = 30.77%

For mutually exclusive events, add the probabilities. P(rolling a 1 or a 2) = 1/6 + 1/6 = 33.33%.

Example 4: Two Events from Their Probabilities

P(A) = 0.3, P(B) = 0.4, and P(A and B) = 0.12.

  • Are they independent? 0.3 × 0.4 = 0.12, so yes.
  • P(A or B) = 0.3 + 0.4 − 0.12 = 0.58
  • P(neither) = 1 − 0.58 = 0.42
  • P(A given B) = 0.12 ÷ 0.4 = 0.30, the same as P(A), because they are independent

Example 5: Cards Without Replacement (Dependent Events)

You draw 2 cards from a 52-card deck without putting the first back.

  • P(2 aces) = 4/52 × 3/51 = 0.4525%
  • If you put the first card back, P(2 aces) = (4/52)² = 0.5917%
  • P(3 aces without replacement) = 4/52 × 3/51 × 2/50 = 0.0181%

Example 6: Marbles

A bag has 5 red and 3 blue marbles. You draw 2 without replacement.

  • P(both red) = 5/8 × 4/7 = 35.71%
  • P(exactly one red) = 5/8 × 3/7 + 3/8 × 5/7 = 53.57%
  • With replacement, P(both red) = (5/8)² = 39.06%

Example 7: Two Dice

You roll two fair dice. There are 36 equally likely outcomes.

  • P(sum of 7) = 6/36 = 16.67%
  • P(sum of 10 or more) = 6/36 = 16.67%
  • P(sum of 8, given the first die is 3) = 1/6 = 16.67%, because the second die must be a 5

Example 8: Binomial Probability

You flip a fair coin 10 times.

  • P(exactly 6 heads) = C(10, 6) × 0.5⁶ × 0.5⁴ = 210 × 0.0009766 = 20.51%
  • P(6 or more heads) = 37.70%

You roll a die 5 times.

  • P(exactly two 6s) = C(5, 2) × (1/6)² × (5/6)³ = 16.08%
  • P(at least one 6 in 4 rolls) = 1 − (5/6)⁴ = 51.77%

You flip a coin 5 times.

  • P(exactly 3 heads) = 31.25%

Example 9: Bayes’ Theorem (a Medical Test)

A condition affects 1% of people. A test is positive for 90% of people who have it (sensitivity), and gives a false positive for 5% of people who do not have it.

  • P(positive) = 0.01 × 0.90 + 0.99 × 0.05 = 0.009 + 0.0495 = 0.0585
  • P(has the condition, given a positive test) = 0.009 ÷ 0.0585 = 15.4%

Even with a good test, a positive result for a rare condition often means a low chance of actually having it. This is why doctors confirm with further tests.

Example 10: Repeated Chances

Something has a 5% chance of happening each time, and you try 20 times.

  • P(at least once) = 1 − 0.95²⁰ = 64.15%

Small chances add up over many tries.

Example 11: Combinations

  • Number of different 5-card poker hands: C(52, 5) = 2,598,960
  • Number of ways to choose 6 numbers from 49 (lottery): C(49, 6) = 13,983,816
  • Choose 3 people from 10: C(10, 3) = 120
  • Arrange 3 of 10 people in order: P(10, 3) = 720
  • Arrange 5 people in a row: 5! = 120

Example 12: Odds and Probability

  • Probability 25% means odds in favor of 0.25 ÷ 0.75 = 1 to 3 (written 1:3).
  • Odds of 3:1 in favor mean a probability of 3 ÷ (3 + 1) = 75%.

Example 13: Expected Value

A game pays $10 with a probability of 0.10, and you lose $1 otherwise (probability 0.90).

  • Expected value: 10 × 0.10 − 1 × 0.90 = $0.10 per play

If you play many times, you would win about $0.10 per game on average.

Example 14: The Birthday Problem

In a group of 23 people, the chance that at least two share a birthday is 50.73%. Coincidences are more common than most people expect.

Probability, Percentage, Fraction, and Odds

ProbabilityPercentageFractionOdds in favor
0.055%1/201:19
0.1010%1/101:9
0.2525%1/41:3
0.5050%1/21:1
0.7575%3/43:1
0.9090%9/109:1

Common Mistakes

  • The gambler’s fallacy: thinking a result is “due.” After five heads in a row, the next flip is still 50% heads. Each flip is independent.
  • Adding when you should multiply: use multiplication for “and” with independent events, and addition for “or” with mutually exclusive events.
  • Forgetting the overlap: for “or,” subtract P(A and B) unless the events cannot both happen.
  • Treating dependent events as independent: drawing without replacement changes the odds of the next draw.
  • Confusing P(A given B) with P(B given A): they are different. See the medical test example.
  • Ignoring base rates: a rare event stays rare even after a fairly accurate test.

Tips for Using a Probability Calculator

  • Decide first whether the events are independent, mutually exclusive, or dependent.
  • Check that your outcomes are equally likely before you use favorable ÷ total.
  • For “at least one,” calculate the chance of none, and subtract from 1.
  • Write probabilities as decimals when you multiply.
  • Draw a tree diagram or table for multi-step problems.
  • Remember that probability describes long-run patterns, not guaranteed short-term results.
  • Do not use probability results to justify gambling decisions.

Probability Calculator vs. Other Tools

  • Statistics Calculator: mean, median, standard deviation, and more.
  • Random Number Generator: picks random numbers, dice, and coins.
  • Combination and Permutation Calculator: counting arrangements.
  • Percentage Calculator: percent change and basic percentage math.
  • Number Sequence Calculator: patterns in a list of numbers.
  • Scientific Calculator: general math and functions.

Frequently Asked Questions (FAQ)

How do I calculate probability?

Divide the number of favorable outcomes by the total number of equally likely outcomes. The probability of rolling a 6 on a die is 1 ÷ 6, or 16.67%.

For independent events, multiply their probabilities to find the chance that both happen. For “either,” add them and subtract the chance of both: P(A or B) = P(A) + P(B) − P(A and B).

 Independent events do not affect each other, such as two coin flips. Mutually exclusive events cannot happen at the same time, such as rolling a 1 and a 2 on one die.

The probability of an event given that another event has already happened: P(A given B) = P(A and B) ÷ P(B)

Find the probability that none happen, and subtract it from 1. The chance of at least one 6 in 4 rolls is 1 − (5/6)⁴ = 51.77%.

P(X = k) = C(n, k) × pᵏ × (1 − p)ⁿ⁻ᵏ. It gives the chance of exactly k successes in n independent trials with the same probability p.

 Probability is the chance out of the total, such as 25%. Odds compare the chance of happening with the chance of not happening, such as 1 to 3.

A formula for updating a probability when you have new information: P(A given B) = P(B given A) × P(A) ÷ P(B).

Combinations count groups where order does not matter. Permutations count arrangements where order matters.

0.5¹⁰ = 1 ÷ 1,024, or about 0.098%.

Not for independent events like coin flips or dice rolls. For events without replacement, such as drawing cards, it does.

Yes. It is free, with no registration and no limits.

It uses exact formulas and the numbers you enter. The result is only as good as your assumptions, such as equally likely outcomes and independence.

Disclaimer

This calculator is for general informational and educational purposes only. Results depend on the numbers and assumptions you enter. Probability does not predict individual outcomes, and these results should not be used to make decisions about gambling, medical care, or finances. Consult a qualified professional for important decisions.