Free calculatorLive resultsSteps and sourcesEmbed on your site, free

Compute Probability Calculator

Compute probability calculator works out P(not A) and P(not B) from Probability of event A, Probability of event B and Probability of A and B together. The default figures on this page give P(not A) of 0.5; change any entry and the result, the working and the sources update together.

P(not A)
0.5
Probability Calculator
Odds for A (X to 1)
1
Odds against A (X to 1)
1
P(A never happens)
0.5
P(A happens at least once)
0.5
P(A happens every time)
0.5
Independence
Only one event was given.
Worked out from Kolmogorov axioms and the addition rule: P(A or B) = P(A) + P(B) - P(A and B) and 3 other sources.

Your figures

Updates as you type
A probability between 0 and 1. Enter 0.25, not 25.
Leave blank for single-event questions.
Optional. Supply this when the events are not independent; it overrides the independence assumption.
Optional. Used to derive the joint probability and, with Bayes, to invert to P(B|A).
Each repetition has probability A of occurring.
The values a discrete random variable can take.
One probability per outcome value. They must add up to 1.

How this is worked out

1 step
  1. P(not A) = 1 - 0.5 = 0.5.

Its 5 worked examples are re-run on every release, last on 15 September 2026. What changed

Sources and references

4 sources
Kolmogorov axioms and the addition rule: P(A or B) = P(A) + P(B) - P(A and B)
With the multiplication rule P(A and B) = P(A|B) P(B), which reduces to P(A) P(B) when A and B are independent.
OpenStax, Introductory Statistics 2e, chapter 3 "Probability Topics"
Complement, addition and multiplication rules, conditional probability and independence.
Bayes' theorem: P(A|B) = P(B|A) P(A) / P(B)
Used here to invert a stated conditional probability.
NIST/SEMATECH e-Handbook of Statistical Methods, 1.3.6.2 Related Distributions
Mean E[X] = sum(x p(x)) and variance E[(X - mu)^2] of a discrete distribution.

What the compute probability calculator calculates

Computes the probability of single and combined events: the complement, the union and intersection of two events, neither and exactly one, conditional probability and Bayes' theorem, the chance of at least one occurrence over repeated trials, and the mean and variance of a discrete distribution.

How to use this compute probability calculator

Enter Probability of event A, Probability of event B, Probability of A and B together and Probability of A given B. P(not A) updates as you type, and “Use a worked example” loads checked figures you can adjust. Change one figure at a time to see what drives the result.

How the result is worked out

Open “How this is worked out” beside the result for the step-by-step calculation behind P(not A), P(not B) and P(A and B).

The method follows Kolmogorov axioms and the addition rule: P(A or B) = P(A) + P(B) - P(A and B), OpenStax, Introductory Statistics 2e, chapter 3 "Probability Topics", Bayes' theorem: P(A|B) = P(B|A) P(A) / P(B) and NIST/SEMATECH e-Handbook of Statistical Methods, 1.3.6.2 Related Distributions.

Two independent events with probabilities 0.5 and 0.4 example

With Probability of event A: 0.5, Probability of event B: 0.4, Treat A and B as independent: true, the calculator returns P(A and B): 0.2, P(A or B): 0.7, P(neither A nor B): 0.3. This example is checked against an independent source in the test suite.

What you can compare

Change one input at a time to see how it affects P(not A), P(not B) and P(A and B). The inputs you can vary are Probability of event A, Probability of event B, Probability of A and B together, Probability of A given B, Number of independent repetitions and Outcome values.

Results are general information, not financial, tax, legal, medical or engineering advice. Check any decision that matters with a qualified professional.

Embed this calculator on your website

Copy this code into any page. The calculator appears with the figures currently entered, sizes itself to fit, and a small credit line links back here. Free, no account, no ads inside it, no tracking of your readers. Set your own figures and fixed fields; Personal removes the credit line, sets your colour and shows you which sites use it.

Preview

See something wrong? Report a problem with this calculator

Frequently asked questions

How to compute probability formula?

Computes the probability of single and combined events: the complement, the union and intersection of two events, neither and exactly one, conditional probability and Bayes' theorem. Open “How this is worked out” beside the result to see each step for your own figures.

How to use TI-84 to calculate probability?

It needs Probability of event A, Probability of event B, Probability of A and B together, Probability of A given B, Number of independent repetitions and Outcome values. Nothing else is required, and the figures stay in your browser.

How do you calculate the probability of something happening multiple times?

The result gives P(not A), P(not B), P(A and B), P(A or B), P(neither A nor B) and P(exactly one of A, B), each labelled with its unit so the figure can be read on its own.

How to calculate probability with a calculator?

The page opens with worked default figures: P(not A) of 0.5. Replace them with your own and every figure updates as you type.

What information do I need for the compute probability calculator?

You need Probability of event A, Probability of event B, Probability of A and B together, Probability of A given B, Number of independent repetitions, Outcome values, Outcome probabilities and Question asked. The page opens with default figures that give P(not A) of 0.5, so you can see the scale before entering your own.

What does this compute probability calculator show?

It shows P(not A), P(not B), P(A and B), P(A or B), P(neither A nor B), P(exactly one of A, B), P(A given B) and P(B given A), with the working and any warnings for your entries.

Related calculators

View all related calculators9 more