Probability Calculator
How does probability work?
Probability measures the likelihood of an event occurring, expressed as a number between 0 (impossible) and 1 (certain). It is calculated by dividing the number of favorable outcomes by the total number of possible outcomes. For example, the probability of rolling a 6 on a standard die is 1/6 or approximately 16.67%. — also see our standard deviation calculator. — also see our fraction calculator. Use the scientific calculator for related calculations. Continue your calculation with the Standard Deviation Calculator, or check the Average Calculator.
Odds vs Probability
Probability expresses likelihood as a fraction of total outcomes (1 in 6). Odds express the ratio of favorable to unfavorable outcomes (1 to 5). While related, they are different measurements. Odds of 1:5 correspond to a probability of 1/6 or 16.67%.
What do the results actually tell you?
The Probability Calculator is built for people who want a fast answer without losing context. It keeps the calculation simple, shows the result clearly, and helps you understand what the number means before you use it in a real decision.
This calculator is designed to make a specific everyday calculation faster and clearer. It gives a structured result so you can compare options, check assumptions, or plan the next step with less manual work.
What is probability?
Probability measures how likely an event is to occur, expressed as a number between 0 and 1 (or equivalently, 0% to 100%). A probability of 0 means the event is impossible; a probability of 1 means it is certain. Most real-world events fall somewhere in between. Understanding probability is essential for risk assessment, statistics, game theory, finance, and scientific research.
Probability = Number of favourable outcomes ÷ Total number of possible outcomes
What are some basic probability examples?
- Coin flip: P(Heads) = 1/2 = 0.5 = 50%
- Rolling a 4 on a standard die: P(4) = 1/6 ≈ 0.167 = 16.7%
- Drawing a red card from a standard deck: P(Red) = 26/52 = 1/2 = 50%
- Drawing an ace from a standard deck: P(Ace) = 4/52 = 1/13 ≈ 7.7%
How do you calculate AND probability for independent events?
When two events are independent (the outcome of one does not affect the other), the probability that both occur is found by multiplying their individual probabilities.
P(A and B) = P(A) × P(B)
Example: Probability of getting heads twice in two coin flips: P(H and H) = 0.5 × 0.5 = 0.25 (25%)
Example: Probability of rolling 6 three times in a row: P(6 three times) = (1/6)³ = 1/216 ≈ 0.46%
How do you calculate OR probability?
The probability that at least one of two events occurs:
P(A or B) = P(A) + P(B) – P(A and B)
The subtraction avoids double-counting cases where both A and B occur.
Example: Drawing a King or a Heart from a deck: P(King) = 4/52, P(Heart) = 13/52, P(King of Hearts) = 1/52. P(King or Heart) = 4/52 + 13/52 – 1/52 = 16/52 = 4/13 ≈ 30.8%
Complementary probability
The probability that an event does NOT occur is 1 minus the probability that it does.
P(not A) = 1 – P(A)
This is often easier to calculate than the direct probability.
Example: Probability of rolling at least one 6 in four rolls: Direct calculation is complex. Complement approach: P(no 6 in four rolls) = (5/6)^4 = 625/1296 ≈ 0.482. P(at least one 6) = 1 – 0.482 = 0.518 (51.8%)
Conditional probability
Conditional probability is the probability of event A given that event B has already occurred.
P(A|B) = P(A and B) ÷ P(B)
Example: In a class of 30 students, 18 study maths and 12 study science. 8 study both. If a student studies maths, what is the probability they also study science? P(Science|Maths) = P(both) ÷ P(Maths) = (8/30) ÷ (18/30) = 8/18 = 4/9 ≈ 44.4%
Real-world applications of probability
- Insurance: Premium pricing is based on the probability of claims — health, life, and vehicle insurers model thousands of risk factors to estimate claim likelihood
- Finance: Option pricing, portfolio risk assessment, and credit default modelling all use probability distributions
- Medicine: Diagnostic test sensitivity and specificity, drug trial success rates, and disease transmission modelling
- Quality control: Manufacturing uses probability to set acceptable defect rates and determine when to inspect batches
Simple probability: single events
Simple probability = favourable outcomes ÷ total outcomes. Rolling a fair six-sided die: P(getting a 4) = 1/6 ≈ 16.7%. Drawing a red card from a standard deck: P = 26/52 = 1/2 = 50%. Probability always lies between 0 (impossible) and 1 (certain). P = 0.25 means a 25% chance. P = 1 means the event always occurs. P = 0 means it cannot occur.
Compound probability: AND and OR rules
P(A AND B) — both events occur: P(A) × P(B) for independent events. Flipping heads twice: P = 0.5 × 0.5 = 0.25 (25%). P(A OR B) — at least one occurs: P(A) + P(B) − P(A AND B). P(rolling a 3 OR even number): P(3) + P(even) − P(3 AND even) = 1/6 + 3/6 − 0 = 4/6 ≈ 66.7%. Note: 3 is odd so cannot be even simultaneously — no overlap.
Conditional probability: Bayes' theorem
Conditional probability P(A|B) = probability of A given B has already occurred. Formula: P(A|B) = P(A ∩ B) ÷ P(B). Medical testing: a disease test is 95% accurate. Disease prevalence: 1%. P(disease | positive test) ≠ 95%. Using Bayes: P(disease|+) = (0.95 × 0.01) ÷ [(0.95×0.01) + (0.05×0.99)] = 0.0095 ÷ 0.059 ≈ 16.1%. This is why rare disease screening produces many false positives.
What is probability in mathematics?
Frequently asked questions
What is the difference between probability and odds? Probability = favourable outcomes ÷ total outcomes. Odds = favourable outcomes ÷ unfavourable outcomes. P(Head) = 1/2 = 0.5. Odds of head = 1:1. P(Rolling 6) = 1/6. Odds of rolling 6 = 1:5.
What does "mutually exclusive" mean? Two events are mutually exclusive if they cannot both occur simultaneously. Rolling a 3 and rolling a 5 on the same die roll are mutually exclusive. For mutually exclusive events: P(A or B) = P(A) + P(B) (no subtraction needed).
What is expected value? Expected value = Σ (outcome × probability of outcome). It represents the average outcome over many trials. A lottery ticket with a 1/10,000,000 chance of winning $50,000,000 has expected value = 5,00,00,000 × (1/10,000,000) = $50. If the ticket costs $100, the expected loss per ticket is $50.
Common probability examples and values
| Event | Probability | As Fraction |
|---|---|---|
| Heads on a fair coin | 50% | 1/2 |
| Rolling a 6 on a die | 16.67% | 1/6 |
| Drawing an ace from a deck | 7.69% | 4/52 |
| Drawing a spade from a deck | 25% | 13/52 |
| Rolling doubles on two dice | 16.67% | 6/36 |
| Two heads in two coin flips | 25% | 1/4 |
| At least one head in two flips | 75% | 3/4 |
| Winning 6/49 lottery jackpot | 0.0000072% | 1/13,983,816 |
| Being struck by lightning (annual, US) | 0.00028% | 1/360,000 |
Sources & References
Sources: Ross, S. A First Course in Probability; Feller, W. An Introduction to Probability Theory and Its Applications; NIST Probability Distributions.
Related calculator: quadratic formula calculator