Positive and Negative Predictive Value (PPV & NPV)
Published on September 25, 2026
Concept Category | Diagnostic test performance metrics |
Core Question Answered | PPV: "If my patient tests positive, what is the probability they truly have the disease?" NPV: "If my patient tests negative, what is the probability they are truly disease-free?" |
Dependent Variables | Sensitivity, specificity, and prevalence (pre-test probability) of the disease in the tested population |
Why It Is Tested | Exam-writers use PPV/NPV to test whether students understand that a test's clinical usefulness changes depending on the population being screened, even when the test's intrinsic accuracy stays the same |
Classic Exam Setup | A screening test with known sensitivity and specificity is applied to a low-prevalence population; the student is asked why so many positives are false |
Keywords | Pre-test probability, post-test probability, Bayes' theorem, false positive rate in screening, prevalence-dependent, 2x2 table, prior probability |
01Core Definitions and the 2x2 Contingency Table
Every question on this topic begins with the 2x2 contingency table. You must be able to reconstruct it from memory and populate it rapidly. The four cells represent all possible outcomes when a diagnostic test is applied to a population.
Test Positive
DISEASE PRESENT
True Positive (TP)
DISEASE ABSENT
False Positive (FP)
TOTAL
TP + FP
Test Negative
DISEASE PRESENT
False Negative (FN)
DISEASE ABSENT
True Negative (TN)
TOTAL
FN + TN
Total
DISEASE PRESENT
TP + FN
DISEASE ABSENT
FP + TN
TOTAL
N
DISEASE PRESENT | DISEASE ABSENT | TOTAL | |
|---|---|---|---|
Test Positive | True Positive (TP) | False Positive (FP) | TP + FP |
Test Negative | False Negative (FN) | True Negative (TN) | FN + TN |
Total | TP + FN | FP + TN | N |
From this table, the four foundational metrics are derived:
Sensitivity (True Positive Rate) is the proportion of truly diseased individuals whom the test correctly identifies as positive. It answers: "Among all sick people, how many tested positive?"
Specificity (True Negative Rate) is the proportion of truly healthy individuals whom the test correctly identifies as negative. It answers: "Among all healthy people, how many tested negative?"
These two metrics are intrinsic properties of the test itself. They do not change when you move the test from one population to another. This is the critical distinction that exam questions exploit.
Positive Predictive Value (PPV) is the proportion of all positive test results that are true positives. It answers: "Given that this patient tested positive, what is the probability they actually have the disease?"
Negative Predictive Value (NPV) is the proportion of all negative test results that are true negatives. It answers: "Given that this patient tested negative, what is the probability they are truly disease-free?"
PPV and NPV are not intrinsic to the test. They shift with the prevalence of disease in the population being tested. This is the single most tested concept in this topic.
02Bayes' Theorem and Prevalence Dependency
The relationship between predictive values and prevalence is formalized through Bayes' theorem. This is the mathematical backbone of every exam question that asks you to calculate or reason about PPV and NPV.
The denominator of the PPV formula contains the term , which represents the false positive fraction. When prevalence is low, is large, meaning the pool of healthy individuals is enormous. Even a small false positive rate applied to this large pool generates many false positives, which dilute the PPV.
The core exam principle:
Prevalence increases
EFFECT ON PPV
PPV increases
EFFECT ON NPV
NPV decreases
Prevalence decreases
EFFECT ON PPV
PPV decreases
EFFECT ON NPV
NPV increases
PREVALENCE CHANGE | EFFECT ON PPV | EFFECT ON NPV |
|---|---|---|
Prevalence increases | PPV increases | NPV decreases |
Prevalence decreases | PPV decreases | NPV increases |
Think of it this way: in a population where almost nobody has the disease, a positive result is more likely to be a false alarm. Conversely, in that same low-prevalence population, a negative result is extremely reassuring because there was very little disease to miss in the first place.
Sensitivity and specificity also influence predictive values, but through a different mechanism:
TEST PROPERTY CHANGE | PRIMARY EFFECT |
|---|---|
Increase specificity | PPV increases (fewer false positives enter the numerator's denominator) |
Increase sensitivity | NPV increases (fewer false negatives slip through) |
A useful mnemonic: Specificity drives PPV upward (SPin = SPecificity rules In = confirms disease when positive). Sensitivity drives NPV upward (SNout = SeNsitivity rules Out = excludes disease when negative).
03Worked Calculation for Exam Application
This section walks you through a complete example the way exam questions present it. Being able to populate the 2x2 table from a word problem is the skill being tested.
Scenario: A screening test has 90% sensitivity and 95% specificity. It is applied to a population of 100,000 people where the disease prevalence is 1%.
Step 1: Determine the number of truly diseased and truly healthy.
Step 2: Apply sensitivity to the diseased group.
Step 3: Apply specificity to the healthy group.
Step 4: Populate the 2x2 table.
Test Positive
DISEASE PRESENT
900
DISEASE ABSENT
4,950
TOTAL
5,850
Test Negative
DISEASE PRESENT
100
DISEASE ABSENT
94,050
TOTAL
94,150
Total
DISEASE PRESENT
1,000
DISEASE ABSENT
99,000
TOTAL
100,000
DISEASE PRESENT | DISEASE ABSENT | TOTAL | |
|---|---|---|---|
Test Positive | 900 | 4,950 | 5,850 |
Test Negative | 100 | 94,050 | 94,150 |
Total | 1,000 | 99,000 | 100,000 |
Step 5: Calculate PPV and NPV.
Interpretation: Despite the test having excellent sensitivity (90%) and specificity (95%), the PPV is only about 15%. This means that roughly 5 out of every 6 positive results are false positives. The reason is that the 1% prevalence makes the healthy population overwhelmingly large, and even the 5% false positive rate applied to 99,000 healthy people generates 4,950 false positives, which swamp the 900 true positives.
This is the exact reasoning pattern that exam-writers want you to demonstrate.
04Strategies to Improve PPV in Clinical Practice
When a screening test yields a low PPV in a low-prevalence population, clinicians and public health systems use several strategies to raise the post-test probability before acting on the result. These strategies are frequently tested.
Confirmatory testing (serial/sequential testing)
MECHANISM
A second, independent, highly-specific test is applied only to those who tested positive on the first test; this reduces false positives
EXAM RELEVANCE
Most commonly tested; the Indonesian HIV testing algorithm is a real-world example
Restricting screening to high-risk groups
MECHANISM
By testing only individuals with a higher pre-test probability, the effective prevalence in the tested cohort rises, which raises PPV
EXAM RELEVANCE
Tested in cancer screening and STI screening questions
Using a more specific test
MECHANISM
Replacing the initial test with one that has higher specificity directly reduces the FP count
EXAM RELEVANCE
Tested in comparison questions (e.g., ELISA vs. Western blot)
Raising the cutoff threshold
MECHANISM
Moving the diagnostic threshold to require a higher value for a "positive" result increases specificity at the cost of sensitivity
EXAM RELEVANCE
Tested in ROC curve questions
STRATEGY | MECHANISM | EXAM RELEVANCE |
|---|---|---|
Confirmatory testing (serial/sequential testing) | A second, independent, highly-specific test is applied only to those who tested positive on the first test; this reduces false positives | Most commonly tested; the Indonesian HIV testing algorithm is a real-world example |
Restricting screening to high-risk groups | By testing only individuals with a higher pre-test probability, the effective prevalence in the tested cohort rises, which raises PPV | Tested in cancer screening and STI screening questions |
Using a more specific test | Replacing the initial test with one that has higher specificity directly reduces the FP count | Tested in comparison questions (e.g., ELISA vs. Western blot) |
Raising the cutoff threshold | Moving the diagnostic threshold to require a higher value for a "positive" result increases specificity at the cost of sensitivity | Tested in ROC curve questions |
Serial testing is the most commonly examined strategy. Indonesian national guidelines for HIV diagnosis recommend serial testing (using two or three rapid tests sequentially) to reduce the risk of false-positive results. Research from a West Java referral hospital calculated that dual-testing algorithms nearly eliminate false-positive HIV results and are likely as accurate as three-test protocols, even in low-prevalence settings.
The logic is straightforward: after the first test identifies a pool of positives (which includes many false positives if prevalence is low), applying a second independent test to only that pool effectively raises the "prevalence" within the tested subgroup. The individuals entering the second test now have a much higher pre-test probability than the general population, so the second test's PPV climbs.
Indonesia's National Screening Programs and PPV Implications
Indonesia's Ministry of Health launched a free health screening program starting in 2025, offering age-appropriate medical check-ups at Puskesmas (community health centers) on each citizen's birthday. The program covers early detection of congenital diseases in infants, obesity and diabetes screening for adolescents, cancer screening for adults, and Alzheimer's screening for elderly patients.
From a biostatistics perspective, this is a textbook case of population-level screening. When you screen the entire population rather than high-risk subgroups, the prevalence in the tested population is lower, which means the PPV for any given test will be lower. This is why confirmatory testing protocols and risk-stratified screening algorithms are built into such programs.
A validation study of the NS1 rapid diagnostic test for dengue in Batam, Indonesia (2022 to 2024), found a PPV of 62.7% and an NPV of 88.9% when compared against RT-PCR as the gold standard. This illustrates a real-world example where a screening test in an endemic region yields a moderate PPV because not every febrile patient with a positive NS1 actually has dengue, and the specificity of the rapid test (81.2%) allows a meaningful number of false positives.
05Relationship to Other Diagnostic Metrics
PPV and NPV do not exist in isolation. Exam questions often require you to distinguish them from related concepts or to understand how they connect.
Sensitivity
WHAT IT MEASURES
Proportion of diseased correctly identified
DEPENDS ON PREVALENCE?
No
DIRECTION OF READING
Rows: from disease status to test result
Specificity
WHAT IT MEASURES
Proportion of healthy correctly identified
DEPENDS ON PREVALENCE?
No
DIRECTION OF READING
Rows: from disease status to test result
PPV
WHAT IT MEASURES
Proportion of test-positives who truly have disease
DEPENDS ON PREVALENCE?
Yes
DIRECTION OF READING
Columns: from test result to disease status
NPV
WHAT IT MEASURES
Proportion of test-negatives who are truly healthy
DEPENDS ON PREVALENCE?
Yes
DIRECTION OF READING
Columns: from test result to disease status
Accuracy
WHAT IT MEASURES
Overall proportion of correct results:
DEPENDS ON PREVALENCE?
Yes
DIRECTION OF READING
Whole table
Likelihood Ratio (+)
WHAT IT MEASURES
DEPENDS ON PREVALENCE?
No
DIRECTION OF READING
Ratio of probabilities
Likelihood Ratio (-)
WHAT IT MEASURES
DEPENDS ON PREVALENCE?
No
DIRECTION OF READING
Ratio of probabilities
Pre-test probability
WHAT IT MEASURES
Prevalence or clinical estimate before testing
DEPENDS ON PREVALENCE?
It is prevalence
DIRECTION OF READING
Before the test
Post-test probability
WHAT IT MEASURES
Probability of disease after a test result
DEPENDS ON PREVALENCE?
Yes
DIRECTION OF READING
After the test; equivalent to PPV for a positive result
METRIC | WHAT IT MEASURES | DEPENDS ON PREVALENCE? | DIRECTION OF READING |
|---|---|---|---|
Sensitivity | Proportion of diseased correctly identified | No | Rows: from disease status to test result |
Specificity | Proportion of healthy correctly identified | No | Rows: from disease status to test result |
PPV | Proportion of test-positives who truly have disease | Yes | Columns: from test result to disease status |
NPV | Proportion of test-negatives who are truly healthy | Yes | Columns: from test result to disease status |
Accuracy | Overall proportion of correct results: | Yes | Whole table |
Likelihood Ratio (+) | No | Ratio of probabilities | |
Likelihood Ratio (-) | No | Ratio of probabilities | |
Pre-test probability | Prevalence or clinical estimate before testing | It is prevalence | Before the test |
Post-test probability | Probability of disease after a test result | Yes | After the test; equivalent to PPV for a positive result |
Post-test probability is conceptually identical to PPV when the test is positive, and conceptually identical to when the test is negative. Questions may use the term "post-test probability" instead of "PPV" to test whether you recognize they are the same concept.
Likelihood ratios are prevalence-independent and are used to convert pre-test probability into post-test probability via Fagan's nomogram or the odds form of Bayes' theorem:
Where:
06Differential Concepts and Distractors
Sensitivity
WHY IT IS CONFUSING
Students confuse "the test is 95% sensitive" with "a positive result is 95% accurate." Sensitivity tells you about the test's behavior among the diseased, not the meaning of a positive result in the general population
KEY DISCRIMINATOR
Sensitivity is calculated from the column of diseased patients (TP / (TP + FN)); PPV is calculated from the row of positive results (TP / (TP + FP))
Specificity
WHY IT IS CONFUSING
Students assume that high specificity guarantees that a positive result is correct
KEY DISCRIMINATOR
High specificity reduces false positives but does not eliminate them; in a low-prevalence population, even few false positives can outnumber true positives
Accuracy
WHY IT IS CONFUSING
Students equate overall accuracy with clinical usefulness
KEY DISCRIMINATOR
A test can be 99% accurate yet have a terrible PPV if the disease is rare (most of that accuracy comes from correctly classifying the overwhelming number of healthy people)
False Positive Rate
WHY IT IS CONFUSING
Students confuse FPR with (1 - PPV)
KEY DISCRIMINATOR
FPR = FP / (FP + TN), which is the proportion of healthy people who test positive; (1 - PPV) = FP / (TP + FP), which is the proportion of all positives who are false. They use different denominators
Pre-test vs. Post-test probability
WHY IT IS CONFUSING
Students fail to recognize that PPV is simply the post-test probability given a positive result
KEY DISCRIMINATOR
If the question says "after a positive screening test, what is the probability the patient has disease?" it is asking for PPV, not sensitivity
CONCEPT CONFUSED WITH PPV/NPV | WHY IT IS CONFUSING | KEY DISCRIMINATOR |
|---|---|---|
Sensitivity | Students confuse "the test is 95% sensitive" with "a positive result is 95% accurate." Sensitivity tells you about the test's behavior among the diseased, not the meaning of a positive result in the general population | Sensitivity is calculated from the column of diseased patients (TP / (TP + FN)); PPV is calculated from the row of positive results (TP / (TP + FP)) |
Specificity | Students assume that high specificity guarantees that a positive result is correct | High specificity reduces false positives but does not eliminate them; in a low-prevalence population, even few false positives can outnumber true positives |
Accuracy | Students equate overall accuracy with clinical usefulness | A test can be 99% accurate yet have a terrible PPV if the disease is rare (most of that accuracy comes from correctly classifying the overwhelming number of healthy people) |
False Positive Rate | Students confuse FPR with (1 - PPV) | FPR = FP / (FP + TN), which is the proportion of healthy people who test positive; (1 - PPV) = FP / (TP + FP), which is the proportion of all positives who are false. They use different denominators |
Pre-test vs. Post-test probability | Students fail to recognize that PPV is simply the post-test probability given a positive result | If the question says "after a positive screening test, what is the probability the patient has disease?" it is asking for PPV, not sensitivity |
07Traps and High-Yield Pearls
The single most common way students lose points on PPV/NPV questions is by assuming that a test with high sensitivity and high specificity will always produce reliable positive results. The exam exploits this by placing a good test in a low-prevalence screening scenario and asking "what is the PPV?" or "what proportion of positive results are false positives?" Students who do not account for prevalence will pick an answer close to 90% or 95% and be wrong.
The second trap involves confusing the direction of the conditional probability. Sensitivity asks: "Given disease, what is the probability of a positive test?" PPV asks the reverse: "Given a positive test, what is the probability of disease?" These are not the same question. Reversing the conditional without applying Bayes' theorem is known as the prosecutor's fallacy or the base rate fallacy, and it is a concept exam-writers deliberately exploit.
A third trap appears in questions about serial versus parallel testing. Serial (sequential) testing increases overall specificity and therefore raises PPV, but it decreases overall sensitivity because each additional test adds another chance to miss a true positive. Parallel testing (running two tests simultaneously) increases overall sensitivity and NPV but decreases specificity and PPV. Students who reverse these effects lose the point.
Finally, remember the directional rules as anchors for rapid elimination of wrong answers:
When prevalence goes up, PPV goes up and NPV goes down.
When prevalence goes down, PPV goes down and NPV goes up.
Sensitivity and specificity do not change with prevalence.
A "screening" test prioritizes sensitivity (you want to catch everyone, accepting more false positives).
A "confirmatory" test prioritizes specificity (you want to be sure a positive is real, accepting that you might miss a few).
The core competency being tested is whether you understand that the clinical meaning of a test result depends on the context in which the test is applied, not just on the test's technical performance.