Probability calculator

Choose the kind of question, enter probabilities as decimals, percentages or fractions, and read the result as a decimal and a percentage. Events A and B are treated as independent.

A decimal, percentage or fraction: 0.3, 30% or 3/10. From 0 to 1.
Used by the A and B and A or B questions only.
Used by the at-least-one and binomial questions. A whole number up to 1,000.
Used by the binomial question only. From 0 to n.
Probability0.3
As a percentage
30%
Probability it does not happen
0.7
Odds in favor
0.42857143 : 1
Happens about 1 time in
3.3333333

Runs in your browser: nothing you enter is sent anywhere.

How to use it

  1. Pick the question from the drop-down.
  2. Enter the probability or probabilities. Fractions such as 3/10 and percentages such as 30% are accepted.
  3. For the trial-based questions, add the number of trials n and, for binomial, the number of successes k.

How it works

All values are probabilities between 0 and 1, shown with up to 10 significant digits. Single events report the complement and odds. A and B and A or B use the independent-event formulas. At least one uses 1 − (1 − p)^n. The binomial rows sum the exact probability mass from the relevant end, so tiny tail probabilities do not lose precision to subtraction.

Worked example

Ten fair coin flips (n = 10, p = 0.5, k = 3):

  • P(X = 3) = 120 / 1024 = 0.1171875
  • P(X ≤ 3) = (1 + 10 + 45 + 120) / 1024 = 0.171875
  • P(X ≥ 3) = 1 − 56/1024 = 0.9453125
  • Expected heads: 5.

Tips

  • Trials must be independent with the same p each time. Drawing cards without replacement is not binomial.
  • “At most k” is P(X ≤ k). “More than k” is P(X > k).
  • The binomial questions accept n up to 1,000.

Frequently asked questions

How do you find the probability of A and B?

For independent events, multiply. P(A and B) = P(A) × P(B). Two fair coins both landing heads is 0.5 × 0.5 = 0.25. This tool assumes independence; if one event changes the other's chances you need conditional probability instead.

How do you find the probability of A or B?

Add and subtract the overlap, which is P(A) + P(B) − P(A and B). For independent events that is P(A) + P(B) − P(A) × P(B). With 0.2 and 0.3 it is 0.2 + 0.3 − 0.06 = 0.44.

How do you calculate "at least one" in n trials?

Take the complement. The chance of no success in n independent trials is (1 − p)^n, so at least one is 1 − (1 − p)^n. Rolling a six at least once in 4 rolls is 1 − (5/6)^4 = 0.5177, about 51.8%.

What is the binomial probability?

For n independent trials with success chance p each, P(X = k) = C(n, k) × p^k × (1 − p)^(n − k). Exactly 3 heads in 10 fair coin flips is 120 × 0.5^10 = 0.1171875. The cumulative P(X ≤ k) adds this up from 0 to k.

What do odds mean here?

Odds in favor compare the chance of the event with the chance of it not happening, p : (1 − p). A probability of 0.3 gives odds of 0.4286 : 1, or about 3 : 7.

More in Math

All tools in this category: Math ·Updated November 3, 2026

Privacy choices

Google Analytics shows us which tools are used and whether they work. It may set cookies. Your choice is kept in this browser.