Probability Calculator
Calculate the probability of a single event from favorable and total outcome counts. Get the probability as a decimal, as a percentage, and as odds in favor.
How It's Calculated
Formula
P(E) = \frac{\text{favorable outcomes}}{\text{total possible outcomes}}Probability measures how likely a single event is to occur, expressed as a number between 0 (impossible) and 1 (certain) — or, equivalently, between 0% and 100%. For a simple event where every outcome is equally likely, probability is just a ratio: the number of outcomes that count as a "favorable" result, divided by the total number of possible outcomes. Rolling a 4 on a six-sided die has 1 favorable outcome out of 6 total, so P = 1/6 ≈ 16.67%. This calculator takes a favorable-outcome count and a total-outcome count and returns the probability as both a decimal and a percentage, plus the equivalent odds in favor — a common alternative way probability gets reported, especially in betting and gaming contexts.
Worked Examples
Standard case: 3 favorable outcomes out of 10 total
- Apply the formula: P(E) = favorable / total = 3 / 10 = 0.3
- Convert to a percentage: 0.3 × 100 = 30%
- Odds in favor: favorable:against = 3:(10-3) = 3:7 (already in lowest terms)
Reducible odds: 4 favorable outcomes out of 10 total
- Apply the formula: P(E) = favorable / total = 4 / 10 = 0.4
- Convert to a percentage: 0.4 × 100 = 40%
- Odds in favor: favorable:against = 4:(10-4) = 4:6, which simplifies (divide both by GCD 2) to 2:3
Frequently Asked Questions
Why doesn't this calculator handle combined events ("A and B" or "A or B")?
This calculator covers a single simple event — one favorable-outcome count against one total-outcome count. Combining two events correctly requires knowing HOW they relate: whether they're independent, mutually exclusive, or conditional on each other changes the formula entirely (P(A and B) for independent events is P(A) × P(B), but that formula is wrong if the events aren't independent). Rather than guess at that relationship or bolt on a mode switch that could produce a mathematically incorrect answer, compound-event probability is intentionally left for a separate, dedicated calculator.
What does "odds in favor" mean, and how is it different from probability?
Probability compares favorable outcomes to ALL possible outcomes (favorable / total). Odds in favor instead compares favorable outcomes to UNfavorable outcomes (favorable / against, written as "favorable:against"). For 3 favorable outcomes out of 10 total, probability is 3/10 (30%), while odds in favor are 3:7 — 3 ways to succeed for every 7 ways to fail. The two describe the same situation but answer slightly different questions, and odds are the more common phrasing in betting and gaming.
Can favorable and total be decimal (non-whole) numbers?
Yes. Ordinary counting scenarios — marbles, cards, dice faces — always use whole numbers, but the probability formula itself is well-defined for any non-negative values where favorable is no greater than total. If you enter non-whole numbers, the probability and percentage are calculated normally; the odds-in-favor ratio is reported unsimplified in that case, since simplifying a ratio to lowest terms is only a defined operation for whole numbers.
What happens if favorable outcomes equal total outcomes, or equal zero?
Both are valid boundary cases, not errors. Favorable equal to total means the event is certain — probability 100%, odds in favor 1:0. Favorable equal to zero means the event is impossible — probability 0%, odds in favor 0:1.