Adjust the settings and inspect the live result and working.
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.
Input
Example value
P(A): prior/base rate
0.01
P(B|A): true-event likelihood
0.95
P(B|not A): false-event likelihood
0.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 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.
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.