Conditional Probability Calculator

Calculate a conditional probability from a joint event, or update an entered prior using Bayes’ rule.

Inputs stay on your device No sign-up Free to use
How this works

The tool runs in this browser. Your file or text is not uploaded to UseFreeTools. Check this tool's limits for anything it may save on your device.

Privacy details

Calculate result controls

Showing an example. Edit to see your own.

Used by joint mode. A probability from 0 to 1.

Used by joint mode. Must be greater than zero and at least P(A and B).

Used by Bayes mode. A probability from 0 to 1.

Used by Bayes mode. A probability from 0 to 1.

Used by Bayes mode. A probability from 0 to 1.

Processed in your browser. Your inputs stay on this device.

How to use Conditional Probability Calculator

  1. Choose joint-event calculation or Bayes update.
  2. Enter probabilities from zero through one.
  3. Review the numerator, denominator and resulting conditional probability.

Example: Conditional Probability Calculator

Conditional Probability Calculator: P(A given B) = 0.4.

You add
Calculation: joint P(A and B): 0.2 P(B): 0.5 Prior P(A): 0.1 P(B given A): 0.8 P(B given not A): 0.05
You get
P(A given B) = 0.4. P(A given B): 0.4 Percent: 40% Numerator: 0.2 P(B), denominator: 0.5 Results follow the supplied probabilities; this tool does not measure or verify them. P(A given B) | 0.4 Percent | 40% Numerator | 0.2

Options

Joint-event mode
Divide the entered P(A and B) by P(B). The joint probability cannot exceed the conditioning probability.
Bayes inputs
Enter the prior and the likelihood of the evidence under both alternatives. These inputs are assumptions supplied by you.

Supported inputs and limits

Strict probabilities 0–1, plain decimals (64 chars, 25 digits, 12 fractional places); joint must not exceed P(B); zero denominator refuses. Entered probabilities only. Joint probability cannot exceed the conditioning probability. A zero conditioning event is undefined and refused. Bayes mode uses two exhaustive alternatives and your supplied likelihoods; it does not estimate them from evidence.

Where your input is processed

This tool processes your input in this browser. Your text and files are not uploaded to UseFreeTools. Check this tool's limits for anything it may save on your device.

Reverse conditional probabilities are different questions

P(B given A) is not usually P(A given B). The prior and alternative likelihood affect the Bayes result. A zero conditioning probability makes the ratio undefined; the page refuses it instead of returning a misleading zero.

Questions about Conditional Probability Calculator

Why does a zero conditioning probability fail?

Division by zero cannot define this conditional probability. The result is undefined rather than zero.

Are likelihood and posterior the same?

No. Likelihood describes the evidence under a hypothesis. The posterior also depends on the prior and alternative likelihood.

Can this assess a real-world claim for me?

It applies the probabilities you enter. Choosing credible inputs and checking the model remain separate tasks.

Project manager: Tony Hines · Content updated 4 October 2026 · Report a problem