Skip to main content
Calcimator

Probability Calculator

Calculate probability of single events, combined events (AND/OR), permutations, and combinations.

This calculator runs five genuinely different formulas behind one Result field, switched entirely by the Calculation Type dropdown, and which inputs actually matter changes completely depending on which mode is selected. In Single Event mode, the default, Result is just Probability A read straight through — Probability B, Total Items, Chosen Items, and Number of Trials are all present on the page but none of them are referenced anywhere in that branch of the formula, so moving any of them leaves Single Event's Result exactly unchanged. Switch to A AND B and Result becomes the product of both probabilities, assuming independence; switch to A OR B and it becomes their sum minus that same product, which is the inclusion-exclusion formula that avoids double-counting the overlap between the two events. Permutations and Combinations mode abandon probabilities altogether and instead compute n! / (n − r)! or n! / (r!(n − r)!) from Total Items and Chosen Items, which is why Result switches from a percentage-like figure to a plain count in those two modes — the Result field is reused for two conceptually different kinds of number depending on the mode. Separately from whichever mode is active, At Least Once in N Trials always uses the binomial formula 1 minus (1 minus Probability A) raised to the Number of Trials, regardless of what Calculation Type is selected, which means it can report a meaningful figure even while the mode above it is set to Permutations or Combinations and has nothing to do with probability at all.

Inputs

%
%

Results

Result

50

Complement (NOT)50%
Odds1 in 2
At Least Once in N Trials99.9%
How to Use This Calculator
  1. For a single event, enter the number of favorable outcomes and the total number of equally likely outcomes.
  2. Probability = favorable / total; the result is displayed as a decimal, fraction, and percentage.
  3. For combined events, enter probabilities of event A and B, then choose AND (intersection) or OR (union).
  4. P(A and B) = P(A) × P(B) for independent events; P(A or B) = P(A) + P(B) − P(A and B).
  5. The pie chart shows the probability vs. complement (1 − P) split visually.
  6. All probabilities must be between 0 and 1 (or 0% and 100%); total outcomes must be at least 1.

How the result changes with Probability A

Probability AResult
10%10
35%35
65%65
90%90

What each input means

Calculation Type
Calculation mode to use.

How this is calculated

Worked example, using the default values

  1. Identify Input Parameters
    4 parameters
    Calculation Type = 0, Probability A = 50, Probability B = 30, Total Items (n) = 10 = 6 input(s) provided
  2. Calculate Result
    50 = 50
  3. Calculate Complement
    Complement
    50 = 50
  4. Calculate Odds
    1 in 2 = 1 in 2

Engine last updated . Checked against 5 independently-derived tests how we verify calculators.

Frequently Asked Questions

In Single Event mode, do Total Items and Number of Trials do anything?

No. That branch of the formula reads only Probability A and passes it straight through to Result, so Probability B, Total Items, Chosen Items, and Number of Trials can all be changed with zero effect on Result while Single Event mode is selected.

Why does Result look like a percentage in some modes and a plain count in others?

Single Event, AND, and OR modes all produce a probability between 0 and 100 percent. Permutations and Combinations mode compute a count of possible arrangements instead, using factorials of Total Items and Chosen Items, so the same field switches from a percentage figure to a raw number.

Does At Least Once in N Trials change based on the selected Calculation Type?

No. It always applies the binomial formula to Probability A and Number of Trials, independent of whichever mode the dropdown is set to. It will still show a value even when the mode above it is Permutations or Combinations, which have nothing to do with probability.

What's the difference between the AND and OR formulas?

AND multiplies the two probabilities together, which only gives the right answer when the two events are independent of each other. OR adds the two probabilities and then subtracts that same product, which corrects for double-counting the overlap where both events happen at once.

The questions that sit next to this one — chosen by subject, including calculators filed under a different category.

More in Math & Statistics.