Skip to content
CalculatorZilo Logo
  • Home
  • CalculatorsExpand
    • Browse all calculators
    • Education
    • Real Estate
    • Chemistry
  • Finance
  • Math
  • Health & Fitness
  • Science
  • About
  • Contact
CalculatorZilo Logo
Home / Positive Predictive Value Calculator
Statistics Calculators

Positive Predictive Value Calculator

Published onOctober 4, 2025 Updated onOctober 25, 2026 12:57 am

If a test comes back positive, how likely is the disease really present? Enter the test’s sensitivity, specificity, and the prevalence in the tested population. The calculator returns the positive predictive value (PPV) and negative predictive value (NPV), plus a natural-frequency breakdown: out of 1,000 people tested, how many get each result.

Positive Predictive Value Calculator

Educational tool only. Predictive values depend on the prevalence in the specific tested population; clinical decisions need a qualified professional.

Quick Answer

PPV = (sensitivity x prevalence) / (sensitivity x prevalence + (1 – specificity) x (1 – prevalence)) (according to StatPearls). A 90/95 test at 1% prevalence has a PPV of just 15.38%: out of 1,000 tested, 50 of the 59 positives are false alarms. At 50% prevalence the same test reaches 94.74% PPV.

Key takeaways
  • Prevalence decides the answer. The same 90/95 test gives 15.38% PPV at 1% prevalence and 94.74% at 50%.
  • Negatives are reassuring here. At 1% prevalence the NPV is 99.89%: a negative result is almost always right.
  • Counts beat percentages. Out of 1,000 tested at 1% prevalence, 50 of the 59 positives are false alarms.
  • Likelihood ratios travel. LR+ 18.00 and LR− 0.11 do not depend on prevalence, so they compare tests across settings.
On this page
  • Quick Answer
  • Worked example, checked against this exact tool
  • The formulas
  • Why prevalence dominates
  • Reading the natural frequencies
  • Likelihood ratios: how much a result shifts the odds
  • The 1 percent prevalence example that surprises everyone
  • What a second test does to the odds
  • What competing calculators miss
  • Frequently asked questions
  • Add This Calculator to Your Website
  • References

Worked example, checked against this exact tool

A test with 90% sensitivity and 95% specificity used where 1% of people have the condition: PPV = 15.38%, NPV = 99.89%. Out of 1,000 tested: 10 are truly ill (9 true positives, 1 false negative) and 990 are healthy (941 true negatives, 50 false positives). Most positive results are false alarms.

The formulas

PPV = (sensitivity × prevalence) ÷ (sensitivity × prevalence + (1 − specificity) × (1 − prevalence)) (StatPearls). NPV = (specificity × (1 − prevalence)) ÷ (specificity × (1 − prevalence) + (1 − sensitivity) × prevalence). Both are Bayes’ theorem applied to test results: they convert the test’s accuracy into the probability that a result is right, given how common the condition is.

Why prevalence dominates

The same 90/95 test at 50% prevalence gives a PPV of 94.74%: nearly every positive is real. At 1% prevalence it is 15.38%. This is the base-rate fallacy: a “95% accurate” test sounds decisive, but when the condition is rare, the healthy majority generates far more false positives than the sick minority generates true ones. Screening low-risk populations always produces this pattern (WHO screening guide).

The table below is the same tool formula at three prevalences, holding sensitivity at 90% and specificity at 95%:

PrevalencePPVNPV
1%15.38%99.89%
10%66.67%98.84%
50%94.74%90.48%

Reading the natural frequencies

Percentages confuse; counts clarify. The tool’s per-1,000 breakdown shows the four cells: true positives, false positives, true negatives, false negatives. PPV is true positives ÷ all positives; NPV is true negatives ÷ all negatives. If you only remember one habit from this page, convert every test claim into natural frequencies before believing it. If you are evaluating the test itself rather than interpreting its results, our inter-rater reliability calculator measures how consistently a test classifies cases. For a clinical risk score rather than a diagnostic test, our ASCVD risk calculator estimates 10-year cardiovascular risk from patient data.

At the worked example (90% sensitivity, 95% specificity, 1% prevalence), the per-1,000 table is:

Condition presentCondition absentTotal
Test positive9 true positives50 false positives59
Test negative1 false negative941 true negatives942
Total109901,000

Likelihood ratios: how much a result shifts the odds

PPV and NPV answer “is this result right?” A likelihood ratio answers the sharper question: how much does this result change the odds? LR+ = sensitivity ÷ (1 − specificity): how many times more likely a positive result is in a sick person than in a healthy one. LR− = (1 − sensitivity) ÷ specificity: the same for negative results (StatPearls). The default example gives LR+ 18.00 and LR− 0.11.

Likelihood ratios multiply your pre-test odds directly: post-test odds = pre-test odds × LR. At 1% prevalence the pre-test odds are 1:99; a positive result (LR+ 18) makes them 18:99, which is 15.4% probability, exactly the PPV the tool shows. As a rule of thumb, LR+ above 10 is strong evidence to rule a condition in, LR− below 0.1 is strong evidence to rule it out, and values near 1 barely move the needle. Unlike PPV, likelihood ratios do not depend on prevalence, which makes them the portable number when comparing tests across settings.

The 1 percent prevalence example that surprises everyone

A test that is 90% sensitive and 95% specific sounds excellent, yet at 1% prevalence it produces about six false alarms for every true positive. Out of 10,000 people tested, 100 have the condition: the test catches 90 and misses 10. Of the 9,900 who do not have it, 5% test positive anyway, which is 495 false positives. The same error rate is what our false-positive-rate calculator measures. PPV is 90 / (90 + 495) = 15.4%, exactly what the calculator shows(StatPearls). This is the base-rate fallacy in action: when a condition is rare, most positives are false, no matter how good the test looks on paper.

What a second test does to the odds

A positive result becomes the new starting point: run the calculator again with prevalence set to your first PPV. Take the 15.4% from the example above and retest with the same 90%/95% test, and the new PPV is about 76.6%. Nothing about the test changed; the population being tested did, because the first positive already concentrated the risk(StatPearls). This is why clinicians repeat or confirm a positive screen instead of acting on one result alone.

What competing calculators miss

Rival tools compute PPV and stop. This page adds NPV (the question every negative result asks), the per-1,000 natural-frequency table that makes the base-rate effect visible, likelihood ratios (the prevalence-independent numbers clinicians use to update odds), and the explicit warning that screening low-prevalence populations manufactures false positives.

Named against the field: Omni Calculator gives PPV, NPV and likelihood ratios from sensitivity and specificity, but it frames the answer in percentages and leaves the reader to picture the false alarms. MedCalc’s diagnostic test calculator is the professional reference, with 95% confidence intervals, but it starts from counted cases in a 2×2 table rather than from prevalence, so a reader with only a test’s published accuracy has to convert first. Worth the Test is the closest rival: it shows the 2×2 table, a prevalence curve and a Fagan nomogram, but its entry model is the table, not prevalence-first inputs. OnlyCalculators’ post-test probability tool walks through the odds conversion step by step for one prevalence at a time. The Tech Edvocate page is formula only, with no working tool. This page’s winning moves are prevalence-first inputs, the per-1,000 table on every result, both likelihood ratios, and the explicit second-test reuse instruction.

Frequently asked questions

(Sensitivity × prevalence) ÷ (sensitivity × prevalence + (1 − specificity) × (1 − prevalence)).

Sensitivity is the chance a sick person tests positive; PPV is the chance a positive test means sickness. They answer opposite questions.

Yes, when the condition is rare. At 1% prevalence, a 90/95 test’s positives are mostly false.

The probability that a negative result is correct: true negatives ÷ all negatives.

Enormously. The same test goes from 15% PPV at 1% prevalence to 95% at 50% prevalence.

Counts instead of percentages: “9 of 59 positives are truly ill” instead of “PPV 15.38%”. Easier to reason about correctly.

Low prevalence. Most screened people are healthy, so even a specific test’s small false-positive rate yields many false alarms.

PPV for ruling in (a positive should trigger action); NPV for ruling out (a negative should reassure). Both come from the same inputs.

Higher specificity helps most at low prevalence. But no test fully escapes the base rate.

The math is the same for any binary test, but use the prevalence in your actual tested population, not the general population.

A multiplier on the odds of disease. LR+ = sensitivity ÷ (1 − specificity) raises the odds after a positive result; LR− = (1 − sensitivity) ÷ specificity lowers them after a negative one. Post-test odds = pre-test odds × LR.

LR+ above 10 strongly rules a condition in; LR− below 0.1 strongly rules it out. The default 90/95 test gives LR+ 18 (strong) and LR− 0.11 (moderately good). Values near 1 barely change the odds.

Because each positive result raises the pre-test probability for the next test. A second positive on the same test can lift the predictive value from 15% to over 75%, which is why confirmation testing is standard practice before treatment or invasive follow-up.

Add This Calculator to Your Website

Put this Positive Predictive Value Calculator on your own website or blog. Copy the code below and paste it into your page HTML. The embedded calculator updates automatically whenever we improve it.

Preview size: (click a size to show)

Powered by Calculator Zilo – the embedded calculator links back to this page.

References

  1. National Library of Medicine (StatPearls). “Sensitivity, Specificity, Positive Predictive Value, and Negative Predictive Value” StatPearls on test accuracy. Accessed October 25, 2026.
  2. U.S. Food and Drug Administration. “Statistical Guidance on Reporting Results from Studies Evaluating Diagnostic Tests” FDA diagnostic test guidance. Accessed October 25, 2026.
  3. World Health Organization. “Screening programmes: a short guide” WHO screening guide. Accessed October 25, 2026.
  4. National Cancer Institute. “Tumor Markers” NCI on tumor markers. Accessed October 25, 2026.
  5. U.S. Preventive Services Task Force. “Methods and Processes” USPSTF methods. Accessed October 25, 2026.
  6. U.S. Preventive Services Task Force. “Breast Cancer: Screening recommendation” USPSTF breast cancer screening. Accessed October 25, 2026.
  7. American Cancer Society. “ACS Prevention and Early Detection Guidelines” ACS screening guidelines. Accessed October 25, 2026.
  8. National Library of Medicine. “MedlinePlus: Laboratory Tests” MedlinePlus lab tests. Accessed October 25, 2026.
  9. Radiological Society of North America. “Screening” RadiologyInfo on screening. Accessed October 25, 2026.
  10. National Health Service (UK). “NHS screening” NHS screening guide. Accessed October 25, 2026.

Related calculators

Statistics CalculatorsSample Mean Calculator: Free Stats Tool OnlineThe sample mean is the average of a subset: add the values, divide by how many there are.Statistics CalculatorsStandard Deviation Probability CalculatorGiven a normal distribution's mean and standard deviation, this calculator finds the probability of falling...Statistics CalculatorsLinear Regression CalculatorLinear regression finds the straight line that fits your paired data best: the line whose squared misses, added up, are smaller than any other line's.Statistics CalculatorsStatistics CalculatorPaste a dataset and this calculator returns the full descriptive picture: count, sum, mean, median, mode,...Statistics CalculatorsMean Median Mode Calculator Give this calculator any list of numbers and it returns the mean, median and mode together, with every step...Statistics CalculatorsCorrelation Coefficient Calculator Paste two columns of numbers into a spreadsheet and you can see they move together, but your eye cannot tell you how strongly, whether the pattern could be luck, or what line best fits it.

We use cookies to analyze traffic. You can accept or decline cookies below. Learn more

calculatorzilo

CalculatorZilo

Free calculators for everyday life. No signup, no cost, just answers.

Categories

Finance Math Health & Fitness Education Science Real Estate Chemistry Browse all calculators

Popular tools

Mortgage Payment Calculator BMI Walking Calculator Salary Per Minute Calculator Percentage Off Calculator

Company

About Us Contact Us Privacy Policy Terms and Conditions
Disclaimer Cookie Policy DMCA Policy Affiliate Disclosure FAQ Accessibility Statement

© 2026 CalculatorZilo • Free calculators for everyone

  • Home
  • Calculators
    • Browse all calculators
    • Education
    • Real Estate
    • Chemistry
  • Finance
  • Math
  • Health & Fitness
  • Science
  • About
  • Contact
Search