Last updated: March 2026
What is Probability?
Probability is a branch of mathematics that quantifies how likely an event is to occur. It is expressed as a number between 0 (impossible) and 1 (certain), or equivalently as a percentage from 0% to 100%. The concept underpins everything from weather forecasts and insurance premiums to game design and medical diagnoses.
The formal study of probability began in 1654, when Blaise Pascal and Pierre de Fermat exchanged a series of letters about gambling problems posed by the French nobleman Antoine Gombaud. Their correspondence laid the groundwork for probability theory, which has since grown into one of the most important branches of mathematics, with applications in statistics, physics, finance, computer science, and artificial intelligence.
Basic Probability Formula
The fundamental probability formula is straightforward: P(Event) = Number of favorable outcomes / Total number of possible outcomes. For example, the probability of rolling a 4 on a standard six-sided die is 1/6, because there is one favorable outcome (rolling a 4) out of six equally likely outcomes.
This formula assumes all outcomes are equally likely, which is known as classical probability. It applies perfectly to fair dice, shuffled cards, and balanced coins. When outcomes are not equally likely, such as predicting weather or sports results, you need empirical probability based on observed frequencies or subjective assessments.
Combined Probability: AND vs OR
When working with multiple events, two key rules govern how probabilities combine. The multiplication rule (AND) calculates the probability that both events occur: P(A AND B) = P(A) x P(B) for independent events. The probability of flipping two heads in a row is 0.5 x 0.5 = 0.25, or 25%.
The addition rule (OR) calculates the probability that at least one event occurs: P(A OR B) = P(A) + P(B) - P(A AND B). You subtract the overlap to avoid counting it twice. The probability of drawing a heart or a king from a standard deck is 13/52 + 4/52 - 1/52 = 16/52, approximately 30.8%. The king of hearts appears in both groups, so it must be subtracted once.
Common Probability Scenarios
Dice: A standard six-sided die produces outcomes 1 through 6 with equal probability. The most common sum when rolling two dice is 7, which can occur in six ways out of 36 total combinations (1+6, 2+5, 3+4, 4+3, 5+2, 6+1), giving a probability of 16.7%. Tabletop RPGs often use d4, d8, d10, d12, and d20 dice, each with their own probability distributions.
Cards: A standard 52-card deck provides rich probability problems. The probability of being dealt a royal flush in 5-card poker is approximately 1 in 649,740. The probability of drawing any specific card is 1/52, or about 1.92%.
Coins: A fair coin has a 50% chance of landing heads on any single flip. The probability of getting exactly 5 heads in 10 flips is about 24.6%, calculated using the binomial formula. Perhaps surprisingly, the probability of getting at least one head in 10 flips is 99.9%, because the only way to avoid heads entirely is to flip 10 consecutive tails, which has a probability of just 0.098%.
Frequently Asked Questions
What is the difference between probability and odds?
Probability is the ratio of favorable outcomes to total outcomes, expressed as a number between 0 and 1 (or 0% to 100%). Odds are the ratio of favorable outcomes to unfavorable outcomes. For example, rolling a 6 on a standard die has a probability of 1/6 (about 16.7%), but the odds are 1:5 (one favorable outcome versus five unfavorable outcomes). This calculator shows both formats.
How do I calculate the probability of two events happening together?
For independent events (where one does not affect the other), multiply the individual probabilities: P(A AND B) = P(A) × P(B). For example, the probability of flipping heads twice in a row is 0.5 × 0.5 = 0.25 (25%). For dependent events, you need the conditional probability: P(A AND B) = P(A) × P(B|A). Use the Combined Events tab to calculate both.
What is the difference between permutations and combinations?
Permutations count arrangements where order matters. Combinations count selections where order does not matter. Choosing a president, vice president, and secretary from 10 people is a permutation (10P3 = 720). Choosing a 3-person committee from 10 people is a combination (10C3 = 120). The permutation count is always greater than or equal to the combination count.
How accurate are the dice probability calculations?
For up to 10 dice, the calculator enumerates every possible outcome using dynamic programming, so results are mathematically exact. For 2d6, there are 36 total outcomes. For 10d6, there are over 60 million outcomes. The calculator handles all of these in milliseconds because it tracks sum frequencies rather than listing individual rolls.
What is the binomial probability formula?
The binomial formula is P(X = k) = C(n, k) × p^k × (1-p)^(n-k), where n is the number of trials, k is the number of successes, and p is the probability of success on each trial. It applies when each trial is independent and has exactly two outcomes (success/failure). Coin flips are the classic example: n flips, probability 0.5, calculating the chance of exactly k heads.
Can this calculator handle large numbers?
Yes. The permutation and combination calculator uses BigInt arithmetic to handle factorials of numbers up to 170 without overflow. For example, 170! has 307 digits, and the calculator computes it exactly. The coin flip calculator handles up to 100 flips, and the dice calculator supports up to 10 dice with up to 20 sides each.