At a Glance
- Category
- Probability
- Best For
- Students, clinicians and analysts interpreting test results
- Privacy
- 100% in your browser: nothing you enter is uploaded
- Time Required
- Under a minute
- Cost
- Free
- Updated
- November 2026
Quick Overview
Combines a prior probability with the likelihood of the evidence to give the updated (posterior) probability.
Students of probability, medical and diagnostic professionals, data scientists.
When interpreting a positive screening test, spam filter or any evidence-based update.
Intuition often ignores how rare the condition is. Bayes' theorem corrects that base rate fallacy.
Key Features & Capabilities
Posterior probability
The updated probability after the evidence.
Marginal probability
The overall chance of a positive result.
Base rate effect
Shows how a rare event dilutes a positive result.
How to Use This Tool
Enter the prior
Type the base rate of the event as a percentage. Tip: Use real prevalence data.
Enter sensitivity
The chance of a positive result when the event is true. Tip: Also called the true positive rate.
Enter the false positive rate
The chance of a positive result when the event is false. Tip: One minus specificity.
Read the posterior
Compare it with the prior and with the sensitivity. Tip: A low prior keeps the posterior low.
Worked Real-World Example
A 95% accurate test for a 1% condition
A condition affects 1% of people. A test has 95% sensitivity and a 5% false positive rate.
How It Works (Math & Calculation Logic)
P(B) = P(B|A) × P(A) + P(B|¬A) × P(¬A). P(A|B) = P(B|A) × P(A) ÷ P(B). Inputs are percentages converted to probabilities.
How to Interpret Your Results
The posterior depends strongly on the prior.
A test with 95% sensitivity is not 95% reliable after a positive result when the base rate is low.
Use real base rates, and confirm positives with a second independent test.
Frequently Asked Questions
What is Bayes' theorem?
What is the base rate fallacy?
What is sensitivity?
Why is the posterior so low?
What is positive predictive value?
Complementary QuickForma Utilities
Percentage Calculator
Calculate percentages, percentage values, percentage increases, decreases, and percentage differences easily.
Fraction Calculator
Add, subtract, multiply, divide, simplify, convert, and compare fractions with step-by-step mathematical precision.
Marks & Percentage Converter
Convert raw test/exam marks into percentage scores, US letter grades, and 4.0 GPA points.
Ratio & Proportion Calculator
Solve for missing variable x in A:B = C:X or simplify complex multi-part ratios into lowest terms.
Average Calculator
Calculate arithmetic mean, total sum, count, min, and max values from a numeric dataset.
Exponent & Logarithm Calculator
Calculate base-10 log (log10), natural log (ln), custom base log (log_b(x)), and power exponentiation.
Probability Calculator
Calculate single-event, joint intersection P(A and B), union P(A or B), and complement probabilities.
Permutation & Combination Calculator
Calculate permutations nPr (order matters) and combinations nCr (order does not matter).
Binomial Probability Calculator
Calculate exact probability P(X = k), at least P(X >= k), and at most P(X <= k) for Binomial distributions.
Chi-Square Goodness-of-Fit & Independence Test
Calculates Chi-Square statistic (chi²), degrees of freedom, and p-value for contingency tables.
Poisson Event Probability & Rate Solver
Online client-side Poisson Event Probability & Rate Solver tool.
Henderson-Hasselbalch Buffer pH Solver
Online client-side Henderson-Hasselbalch Buffer pH Solver tool.