Probability Calculator Statistics

What are the exact odds of your event occurring?

Enter your event outcomes and total possible outcomes to calculate exact probabilities — as a fraction, decimal, and percentage. Covers single events, combined events (AND/OR), conditional probability, and complements. Useful for statistics homework, game odds, quality control, and any decision where you need a number you can trust.

Updated July 2026 · How this works

Example calculation — edit any field to use your own numbers

Worth knowing
How It Works
The formula, explained simply

Imagine a bag holding 6 marbles, exactly 3 of them red. You reach in blind and pull one out. The probability of drawing red is not a guess — it is a ratio. Three outcomes work in your favor, six outcomes are possible, so the probability is 3 out of 6. That ratio is the entire foundation of classical probability theory.

This calculator extends that ratio to cover four related questions you are likely to face together. First, the basic probability of Event A — your core answer. Second, the complement — how likely is it that Event A does not happen? Third, the combined AND probability — if you run two independent events at once, what is the chance both succeed? Fourth, the OR probability — what is the chance at least one of the two events occurs? Each of these answers a distinct decision question, and they are all derived from the same favorable-outcomes-over-total-outcomes logic.

The fraction form the tool also shows — 1 / 2 for the example inputs — is mathematically equivalent to the percentage but is often easier to communicate to others or use in further calculations. A probability of 50% is not more precise than the fraction; it is the same number in a different register, scaled by 100.

When To Use This
Right tool, right situation

Use this calculator whenever your outcomes are discrete, countable, and equally likely. Classic situations include card games, dice mechanics, lottery odds, multiple-choice guessing, randomized A/B test assignments, and sampling from a known population with replacement. Quality control inspectors use it to compute defect rates. Educators use it to verify textbook answers. Game designers use it to validate that trigger probabilities match their intended balance.

The tool is also well-suited to quick sanity checks in business settings: if you are evaluating two independent risks, each with a known failure rate, the AND and OR outputs immediately show the combined exposure without any spreadsheet setup.

Do not use this calculator when outcomes are not equally likely (weighted dice, biased coins, skewed distributions), when events are dependent and the conditional probabilities are unknown, or when you are working with continuous distributions (normal, binomial, Poisson). In those cases, the classical favorable-over-total ratio does not apply and the results here will be wrong, not just approximate. For unequal-probability problems, you need a weighted probability model or a distribution-specific tool.

Common Mistakes
Why results sometimes look wrong

Mistake 1 — Forgetting to subtract the overlap in P(A or B). The most common error is writing P(A or B) as simply P(A) plus P(B). This inflates the result because any outcome satisfying both A and B gets counted twice. If you enter an overlap of 0 when overlap actually exists, your OR probability will be too high. Always ask: can an outcome satisfy both conditions simultaneously? If yes, count those outcomes and enter them in the overlap field.

Mistake 2 — Treating dependent events as independent. The P(A and B) formula here multiplies P(A) by P(B), which is only correct when the two events do not influence each other. Drawing cards without replacing them is the classic trap: after the first card is removed, the total outcomes for the second draw change. Using this calculator for dependent events underestimates the true probability when the first event makes the second more likely, and overestimates it when the first event depletes the favorable pool.

Mistake 3 — Miscounting the sample space. Total possible outcomes must include every equally-likely result, even undesirable ones. A student calculating the probability of rolling a sum of 7 with two dice sometimes divides by 6 instead of 36 because they think only about one die. The sample space for two dice is 36 combinations, not 6. If your total outcomes number does not reflect every possible result, the entire probability chain — complement, AND, OR — inherits the error.

The Math
Worked examples and deeper derivation

The core formula is P(A) = favorable outcomes divided by total possible outcomes. For the example where favorable outcomes for Event A equals 3 and total outcomes equals 6, P(A) equals 3 divided by 6, which gives 0.50. Multiply by 100 to express as a percentage: 50%.

The complement formula is P(not A) = 1 minus P(A). With P(A) = 0.50, the complement equals 50%. These two values always sum to 1 — a built-in check that your math is consistent.

For two independent events, P(A and B) equals P(A) multiplied by P(B). For the example inputs, P(B) = 2 divided by 6. Multiplying P(A) by P(B) gives 16.667%. The OR formula uses the inclusion-exclusion principle: P(A or B) equals P(A) plus P(B) minus P(A and B overlap). Subtracting the overlap prevents double-counting outcomes that satisfy both events at once. With one overlapping outcome, the OR probability for the example is 66.667%.

Rolling a die — what are the odds of getting a number 3 or below?
Event A: 3 favorable outcomes, 6 total outcomes. No Event B.
The probability of Event A is 50%, expressed as the decimal 0.50 or the fraction 1 / 2. The complement — the outcomes not in Event A — is 50%. This is a textbook equal-likelihood problem: each face of a fair die has the same chance of appearing.
Quality control — a batch has defects. What is the chance of drawing a defective item AND a specific reject type?
Event A: 7 favorable outcomes (defective units), 200 total outcomes. Event B: 3 favorable outcomes (type-X rejects), 200 total outcomes. Overlap: 2.
The probability of drawing a defective unit is 3.5%. The chance of getting either a defective unit or a type-X reject (at least one of the two) is 4%. The chance of a unit being both defective and a type-X reject is 0.053%. Tracking these separately helps a quality team prioritize which failure mode matters most.
Board game designer checking card draw odds across two decks
Event A: 13 favorable outcomes (hearts in deck A), 52 total outcomes. Event B: 4 favorable outcomes (aces in deck B), 52 total outcomes. Overlap: 1 (ace of hearts).
The probability of drawing a heart from deck A is 25%, equal to 1 / 4. The probability of drawing an ace from deck B is separate. The chance both events happen — a heart and an ace — is 1.923%. The chance at least one happens is 30.769%. Designers use these figures to balance how often a combined power triggers in playtesting.
Expert Unlock
The thing most explanations skip

The inclusion-exclusion formula used for P(A or B) generalizes to any number of events, but each additional event adds more overlap terms that must be subtracted and then re-added. For three events, you subtract all three pairwise overlaps and then add back the triple overlap. This tool handles the two-event case; for three or more events the algebra grows combinatorially and a manual approach becomes error-prone fast.

The independence assumption embedded in P(A and B) = P(A) x P(B) is structurally equivalent to saying that knowing A occurred gives you zero information about whether B occurred. In Bayesian terms, the posterior probability of B given A equals the prior probability of B. Any time your two events share a common cause, environment, or physical mechanism, that assumption breaks and the multiplicative formula overstates independence.

What do these probability results actually tell you?

What is the difference between P(A and B) and P(A or B)?

P(A and B) is the probability that both events happen simultaneously — every outcome must satisfy both conditions at once. P(A or B) is the probability that at least one of the two events occurs, which includes cases where only A happens, only B happens, or both happen together.

In everyday terms: P(A and B) is the narrow overlap, P(A or B) is the broad union. For independent events, P(A and B) equals P(A) multiplied by P(B). For P(A or B), you add P(A) and P(B) then subtract the overlap to avoid double-counting outcomes that satisfy both conditions.

How do I calculate the probability of an event not happening (the complement)?

The complement of Event A is simply 1 minus P(A). If Event A has a 50% chance of occurring, then the probability it does not occur is 50%. These two values always sum to exactly 1.

The complement rule is useful when the event you care about is harder to count directly. Instead of listing every failure mode, count the successes, compute P(success), and subtract from 1 to get P(failure). It also provides an instant sanity check — if your computed complement is negative or above 1, your inputs contain an error.

Does this calculator work when Event A and Event B are not independent?

The P(A and B) formula this tool uses assumes the two events are independent — that the outcome of one does not affect the other. For truly dependent events, the correct formula requires conditional probability: P(A and B) equals P(A) multiplied by P(B given A has already occurred), which needs additional information about how the events interact.

For most everyday probability problems — dice rolls, card draws with replacement, defect sampling from large populations — independence is a reasonable assumption. If you are working with draws without replacement from a small population (under about 50 items), or with events that share a causal link, treat this result as an approximation and use a hypergeometric or conditional model instead.

Need something this doesn't cover?

Suggest a tool — we'll build it →