Everyday tools ↗

Study & statistics / FREE BROWSER TOOL

Conditional probability / Bayes.

Combine a prior/base rate with event likelihoods to compute the posterior probability.

YOUR EVERYDAY DESKKeep your
next task close.
Switch between tools ↗
Conditional probability / Bayes
See result ↓● Live result
01 / YOUR INPUTS

Processed on this device.

02 / YOUR RESULT

Your answer

ON YOUR DEVICE

Your result will appear here.

Adjust a field to calculate.

LOCAL INPUTS / CLEAR WORKING / USEFUL OUTPUTNothing to sign in to.

Built and maintained by Operance Labs · Report a calculation or documentation issue

A LITTLE KNOW-HOW

How to use
this tool.

  1. Enter the values for your task.
  2. Adjust the settings and inspect the live result and working.
  3. Copy the result or save a local report.

What the inputs mean

P(A): prior/base rate
Enter p(a): prior/base rate. Minimum: 0. Maximum: 1.
P(B|A): true-event likelihood
Enter p(b|a): true-event likelihood. Minimum: 0. Maximum: 1.
P(B|not A): false-event likelihood
Enter p(b|not a): false-event likelihood. Minimum: 0. Maximum: 1.
A WORKED STARTING POINT

See the working.

Inputs used in this example

These are example values, not a current price, tariff or personal recommendation. Reset example restores them in the workspace.

InputExample value
P(A): prior/base rate0.01
P(B|A): true-event likelihood0.95
P(B|not A): false-event likelihood0.05

P(A|B): posterior probability

0.1610169492 probability

(0.01 × 0.95) ÷ (0.01×0.95 + (1−0.01)×0.05)

  • P(A and B): 0.0095; P(not A and B): 0.0495; P(B): 0.059.
  • Floating-point probabilities are numerical approximations. Interpret tests with their sampling/model assumptions; a p-value is not the probability that a hypothesis is true.

Method references

Background reading for the calculation. These sources do not endorse PixelDesk or verify an individual result.

Your inputs stay here

Your input is processed on this device. PixelDesk does not upload it to a calculation or file-processing server. Copying and downloading are deliberate actions. Closing the page clears the in-memory inputs; the app remembers only its theme and public reference-rate cache.

Methods and public data ↗

Keep a useful
thing close.

All study & statistics ↗

Questions, answered.

What can I do with conditional probability / bayes?

Combine a prior/base rate with event likelihoods to compute the posterior probability.

What does the conditional probability / bayes example show?

With P(A): prior/base rate: 0.01; P(B|A): true-event likelihood: 0.95; P(B|not A): false-event likelihood: 0.05, the example returns 0.1610169492 probability. The workspace shows the substituted formula and its assumptions; Reset example restores these inputs.

What should I check before using the result?

P(A and B): 0.0095; P(not A and B): 0.0495; P(B): 0.059. Floating-point probabilities are numerical approximations. Interpret tests with their sampling/model assumptions; a p-value is not the probability that a hypothesis is true.