Positive Predictive Value Calculator

See what a positive test result actually means, from sensitivity, specificity and prevalence — and why a 99% accurate test can still mislead.

%
%
%
Only affects the worked-example counts.
Positive predictive value 33.22 %
PPV = (sens × prev) ÷ (sens × prev + (1 − spec) × (1 − prev))
Negative predictive value 99.99 %
In a group of this size 495 true positives, 995 false positives, 98505 true negatives, 5 missed cases
True positives 495
False positives 995
What a positive result means A positive result is more likely to be wrong than right in this group.

Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.

What the Positive Predictive Value Calculator does

The positive predictive value calculator on this page will see what a positive test result actually means, from sensitivity, specificity and prevalence — and why a 99% accurate test can still mislead. Fill in all 4 fields and the result updates as you type — there is no Calculate button to press and no page reload. It is most often used for seeing why a screening programme generates many false positives even with an accurate test. Companion tools to this one live on FreeToolsWorld.org.

How to use it

  1. Enter the test's sensitivity and specificity from its documentation.
  2. Enter how common the condition is in the group being tested.
  3. Read the predictive value, and the worked counts underneath it.

How it works

Sensitivity and specificity describe a test. Positive predictive value describes a result, and the difference between those two things is the most consistently misunderstood idea in diagnostic statistics. A test with 99% sensitivity and 99% specificity sounds close to certain. Apply it to a condition that affects one person in two hundred and a positive result is right about a third of the time, because the 1% of a large healthy group that tests falsely positive outnumbers the 99% of a tiny affected group that tests truly positive.

That is all Bayes' theorem is doing here. Prevalence is the prior; the test result updates it. The arithmetic is easier to feel in counts than in percentages, which is why this calculator spells out a worked group: how many people actually have the condition, how many of those the test catches, and how many healthy people it flags anyway. Compare those last two numbers and the predictive value is obvious without any algebra.

The practical consequence is that the same test means different things in different settings. Used on people with symptoms, where prevalence is high, a positive result is strong evidence. Used to screen a whole population, where prevalence is low, the same positive result is a reason for a second, more specific test rather than a conclusion. This is a general statistical point about test characteristics, not medical advice about any particular test or decision — what a result means for a person is a question for the clinician who ordered it.

When to use it

  • Seeing why a screening programme generates many false positives even with an accurate test.
  • Working out how much a positive result should shift your belief, given how common the condition is.
  • Comparing the same test used on a symptomatic group against a general population.
  • Teaching or checking a Bayes' theorem problem in its clinical form.

Common mistakes to avoid

  • Reading sensitivity as the chance a positive result is correct. Sensitivity is the chance an affected person tests positive — the reverse conditional, and usually a very different number.
  • Ignoring prevalence. It is the single biggest driver of predictive value and the one most often left out of "99% accurate" claims.
  • Quoting one "accuracy" figure. A test can hit 99% accuracy on a rare condition by calling everyone negative, which has zero sensitivity.
  • Using population prevalence for a group selected by symptoms. Testing people who already have reason to be tested raises the prior substantially.

Frequently asked questions

What is the positive predictive value formula?

PPV = (sensitivity × prevalence) ÷ (sensitivity × prevalence + (1 − specificity) × (1 − prevalence)). It is Bayes' theorem written in diagnostic terms.

How can a 99% accurate test be wrong most of the time?

Because of the base rate. With 0.5% prevalence in 100,000 people, 500 have the condition and 495 test positive, while 99,500 do not and 995 of them still test positive. That is 1,490 positives of which only a third are real.

What is the difference between PPV and sensitivity?

Sensitivity asks: given that someone has the condition, how likely is a positive test? PPV asks the reverse: given a positive test, how likely is the condition? Only PPV depends on prevalence.

Does PPV change if the test does not?

Yes. Sensitivity and specificity are properties of the test; PPV and NPV depend on who is being tested. The same test has a much higher PPV in a high-prevalence group.

What is negative predictive value?

The chance that a negative result is correct: specificity × (1 − prevalence) divided by all negatives. For rare conditions it is usually very high, which is why a negative screening result is reassuring even when a positive one is not conclusive.

Related tools

See all health & fitness calculators →