Last updated:
Probability Calculator
Calculate single event probability, permutations (nPr), combinations (nCr), and Bayes theorem with step-by-step results.
Probability Calculator
Free online probability calculator — single events, permutations, combinations, and Bayes' theorem with step-by-step solutions and AI insights.
Enter values above to see results.
About This Calculator
Related Articles
📚 In-Depth Guide
This calculator is part of a comprehensive guide
Statistics & Data Analysis Guide 2026: Standard Deviation, Probability, Hypothesis Testing & More
Full GuideComprehensive 2026 statistics guide covering mean/median/mode, standard deviation, variance, normal distribution, z-scores, p-values, confidence intervals, correlation, regression, hypothesis testing, Bayes’ theorem, chi-square test, and data visualization — with free statistics calculators for students, researchers, and data professionals.
The 2026 Complete Percentage Guide: Every Formula, Trick & Real-World Application — From Basic to Advanced
Master every percentage calculation in 2026: the 4 core formulas, percentage increase/decrease, reverse percentage, CAGR, markup vs. margin, tip/tax/discount math, GPA percentages, statistics (percentile, z-score), and compounding — with 15 long-tail keyword examples and a free percentage calculator.
Geometry Guide: Area, Volume & Surface Area Formulas for Every Shape (2026)
Complete 2026 geometry reference covering 2D area formulas, 3D volume and surface area calculations, triangles, circles, coordinate geometry, and composite shapes. Includes free area calculator, volume calculator, surface area calculator, and right triangle solver. NIST-aligned, with 25+ shapes, 40+ formulas, and real-world applications for flooring, landscaping, construction, and engineering.
🎲 Probability Calculator — Complete Guide
Combinations vs Permutations
| Type | Formula | Example | Use Case |
|---|---|---|---|
| Permutations nPr | n! / (n−r)! | P(5,3) = 60 | Ordered arrangements (passwords, rankings) |
| Combinations nCr | n! / (r! × (n−r)!) | C(5,3) = 10 | Unordered selection (lottery, committees) |
| Combinations w/ repetition | (n+r−1)! / (r!(n−1)!) | C(5+3−1,3) = 35 | Choosing items that can repeat |
| Derangements | n! × Σ(−1)ᵏ/k! | D(4) = 9 | Permutations where nothing is in original place |
Frequently Asked Questions
What is probability?›
Probability measures the likelihood of an event: P(A) = (favorable outcomes) / (total equally likely outcomes). It ranges from 0 (impossible) to 1 (certain). E.g., P(rolling a 4 on a fair die) = 1/6 ≈ 0.167.
What is the difference between combinations and permutations?›
Permutations count arrangements where ORDER matters (ABC ≠ BAC). Combinations count selections where order doesn't matter (choosing 3 from 5 people for a committee — order is irrelevant). nCr = nPr / r!
What are mutually exclusive events?›
Two events are mutually exclusive if they cannot both occur simultaneously. E.g., rolling a 2 AND a 5 on one die. P(A or B) = P(A) + P(B) for mutually exclusive events.
What are independent events?›
Events are independent if one's occurrence doesn't affect the other's probability. E.g., two coin flips. P(A and B) = P(A) × P(B) for independent events.
What is conditional probability?›
P(A|B) = P(A and B) / P(B) — the probability of A given that B has occurred. E.g., P(second card is ace | first was ace) = 3/51, not 4/52, because the first ace is gone.
What is Bayes' theorem?›
P(A|B) = P(B|A) × P(A) / P(B). It updates prior probability based on new evidence. Classic example: a positive test result for a rare disease — even with a 99% accurate test, the disease may still be unlikely if prevalence is very low.
Related Calculators
Explore All Math Calculators
Reviewed by CalculatorApp.me Math Team
Probability Calculator — Complete Guide
Classical, conditional, and Bayesian probability with permutations, combinations, and distributions.
P(A)
Event probability
nCr
Combinations
nPr
Permutations
P(A|B)
Conditional prob
What Is Probability?
Probability quantifies the likelihood that an event will occur, expressed as a number between 0 (impossible) and 1 (certain). A probability of 0.5 means the event occurs half the time. Probability is the mathematical foundation of statistics, machine learning, insurance, genetics, quantum physics, and decision-making.
Three interpretations exist: Classical (equally likely outcomes: coin flip = 1/2), Frequentist (long-run relative frequency), and Bayesian (degree of belief updated with evidence). All three produce valid mathematics — the difference is philosophical.
Permutations count ordered arrangements (nPr = n!/(n-r)!), while combinations count unordered selections (nCr = n!/(r!(n-r)!)). The distinction matters: winning a lottery requires the right combination (order doesn't matter), but finishing positions in a race are permutations (order matters).
Probability Formulas
Classical Probability:
P(A) = favorable outcomes / total outcomes
Complement:
P(A') = 1 − P(A)
Addition Rule:
P(A or B) = P(A) + P(B) − P(A∩B)
If mutually exclusive: P(A∪B) = P(A)+P(B)
Multiplication Rule:
P(A and B) = P(A) × P(B|A)
If independent: P(A∩B) = P(A) × P(B)
Example: Deck of cards
P(King) = 4/52 = 1/13 ≈ 7.69%
P(Heart) = 13/52 = 1/4 = 25%
P(King of Hearts) = 1/52 ≈ 1.92%
P(King OR Heart) = 4/52 + 13/52
− 1/52 = 16/52The addition rule subtracts P(A∩B) to avoid double-counting. For mutually exclusive events (can't both happen), P(A∩B) = 0.
Permutations (order matters):
nPr = n! / (n−r)!
10P3 = 10! / 7! = 10×9×8 = 720
How many ways to arrange 3 of 10 items
Combinations (order doesn't matter):
nCr = n! / [r!(n−r)!]
10C3 = 10! / (3!×7!)
= 720/6 = 120
How many ways to choose 3 of 10 items
Relationship: nPr = nCr × r!
720 = 120 × 6 ✓
Lottery: Powerball
Main: 69C5 = 11,238,513
Power: ×26
Odds = 1 in 292,201,338Combinations are always ≤ permutations. Divide permutations by r! to remove the ordering. Lottery odds use combinations because drawn order doesn't matter.
Conditional Probability:
P(A|B) = P(A∩B) / P(B)
'Probability of A given B occurred'
Bayes' Theorem:
P(A|B) = P(B|A) × P(A) / P(B)
Medical test example:
Disease prevalence: P(D) = 0.01
Test sensitivity: P(+|D) = 0.99
Test specificity: P(−|~D) = 0.95
False positive rate: P(+|~D) = 0.05
P(D|+) = P(+|D)×P(D) /
[P(+|D)×P(D) + P(+|~D)×P(~D)]
= 0.99×0.01 / (0.99×0.01 + 0.05×0.99)
= 0.0099 / (0.0099 + 0.0495)
= 0.0099 / 0.0594
= 16.7% ← Only 1 in 6!
A positive test ≠ 'you have the disease'
when the disease is rare.Bayes' theorem is perhaps the most important result in probability. The base rate (prevalence) dramatically affects how to interpret test results — a counterintuitive but crucial insight.
Expected Value:
E(X) = Σ xᵢ × P(xᵢ)
Variance:
Var(X) = E(X²) − [E(X)]²
Fair die example:
E(X) = 1(1/6)+2(1/6)+...+6(1/6)
= 21/6 = 3.5
E(X²) = 1(1/6)+4(1/6)+9(1/6)
+16(1/6)+25(1/6)+36(1/6)
= 91/6 ≈ 15.17
Var(X) = 91/6−(21/6)² = 35/12 ≈ 2.92
SD(X) = √2.92 ≈ 1.71
Gambling insight:
Casino edge = E(payout) − bet
Roulette (US): E = −$0.053/dollar
Over 1000 bets: expect to lose $53Expected value is the long-run average. A 'fair' game has E(X) = 0. All casino games have negative expected value for players — the 'house edge.'
Common Probability Distributions
| Distribution | Type | Parameters | Mean | Use Case |
|---|---|---|---|---|
| Binomial | Discrete | n trials, p success | np | Coin flips, pass/fail |
| Normal | Continuous | μ mean, σ SD | μ | Heights, test scores |
| Poisson | Discrete | λ rate | λ | Arrivals per hour |
| Exponential | Continuous | λ rate | 1/λ | Time between events |
| Uniform | Both | a min, b max | (a+b)/2 | Random number gen |
| Geometric | Discrete | p success | 1/p | Trials until 1st success |
| Chi-squared | Continuous | k degrees of freedom | k | Goodness-of-fit tests |
| Beta | Continuous | α, β shape | α/(α+β) | Bayesian priors |
Everyday Probability Examples
| Event | Probability | Odds | Comparison |
|---|---|---|---|
| Coin heads | 50% | 1 in 2 | Fair coin baseline |
| Roll 6 on die | 16.67% | 1 in 6 | Single die |
| Royal flush (poker) | 0.000154% | 1 in 649,740 | 5-card draw |
| Powerball jackpot | 0.00000034% | 1 in 292.2 million | US lottery |
| Lightning strike (year) | 0.00008% | 1 in 1.2 million | US annual risk |
| Identical birthday (23 people) | 50.7% | ~1 in 2 | Birthday paradox |
History of Probability
Dice Games — Earliest Probability
Astragali (knucklebones) were used for games and divination in Mesopotamia. While players developed intuitive probability, no formal theory existed. The historian F.N. David notes this as the origin of random events in human culture.
Pascal & Fermat — Birth of Probability Theory
Blaise Pascal and Pierre de Fermat exchanged letters solving the 'Problem of Points' — how to fairly divide stakes in an interrupted game. Their correspondence established the mathematical foundations of probability, including expected value.
Bernoulli — Ars Conjectandi
Jacob Bernoulli published Ars Conjectandi posthumously, proving the Law of Large Numbers: as trials increase, observed frequency converges to true probability. He also introduced the Bernoulli distribution and binomial probability.
Bayes — An Essay Towards Solving a Problem
Thomas Bayes' posthumous paper introduced what we now call Bayes' theorem — a method for updating probability based on new evidence. It languished for centuries before becoming central to modern statistics, AI, and machine learning.
Kolmogorov — Axiomatic Probability
Andrey Kolmogorov axiomatized probability theory using measure theory, resolving centuries of foundational debates. His three axioms (non-negativity, normalization, countable additivity) remain the rigorous foundation of all modern probability.
Bayesian Revolution in Machine Learning
Bayesian methods became central to ML: spam filters (naive Bayes), recommendation systems, A/B testing, and eventually large language models. Bayesian inference — updating beliefs with data — is now the dominant paradigm in AI/ML.
Key Research & Data
Kolmogorov (1933)
Foundations of Probability Theory
Axiomatized probability using three principles: 1) P(A) ≥ 0, 2) P(Ω) = 1, 3) P(∪Aᵢ) = ΣP(Aᵢ) for disjoint events. This framework unified all prior approaches and remains the mathematical standard.
Kahneman & Tversky (1979) — Econometrica
Prospect Theory: Humans Misjudge Probability
Showed that humans systematically misjudge probabilities: overweighting small probabilities (lottery tickets) and underweighting large ones (insurance). This prospect theory won Kahneman the 2002 Nobel Prize in Economics.
Bernoulli (1713) — Ars Conjectandi
Law of Large Numbers
Proved that as the number of identical trials increases, the average of results approaches the expected value. This is why casinos always profit long-term: the law of large numbers eliminates individual luck at scale.
Laplace (1812) — Théorie Analytique
Classical Probability Framework
Pierre-Simon Laplace systematized probability theory, introducing the 'principle of indifference' (equally likely outcomes), the central limit theorem precursor, and Bayesian methods. His work dominated probability for a century.
Myths vs. Facts
Past coin flips affect future ones (Gambler's Fallacy).
Each coin flip is independent. After 10 heads in a row, the next flip is still 50/50. The coin has no memory. The law of large numbers applies over thousands of flips, not the next single flip.
Rare events don't happen — so low-probability risks can be ignored.
With enough exposure, rare events become likely. A 1-in-million daily risk becomes ~1-in-2,740 over a year. Insurance, safety engineering, and portfolio diversification all exist because rare events DO happen to someone.
A positive medical test means you probably have the disease.
Bayes' theorem shows this depends on the disease prevalence. For a rare disease (1% prevalence) with a 95% accurate test, a positive result means only ~17% chance of having it — because most positives are false positives from the 99% healthy population.
Probability is just for gambling and games.
Probability underpins all of science (quantum mechanics is fundamentally probabilistic), AI/ML (neural networks optimize probabilistic models), medicine (clinical trials, diagnostic tests), finance (risk models), insurance, weather forecasting, genetics, and virtually every field involving uncertainty.
Frequently Asked Questions
What is the difference between permutation and combination?▼
What is the birthday paradox?▼
How do I calculate odds vs probability?▼
What is the Law of Large Numbers?▼
What is independence in probability?▼
How is probability used in machine learning?▼
What is the Monte Carlo method?▼
What is the Central Limit Theorem?▼
How do I handle 'at least one' probability?▼
What is a p-value in hypothesis testing?▼
What is the difference between joint and marginal probability?▼
How does probability relate to entropy?▼
References
Related Calculators
Explore All Math Calculators
Precision math tools for students, teachers, and professionals — CalculatorApp.me.
Browse Math Calculators →