Sensitivity & Specificity Simulator

See how test accuracy, reliability, and disease rarity interact in medical testing.

Test Parameters

5%

How common is the disease in this group?
50 sick vs 950 healthy.

95%

If someone is sick, how likely is the test to find it?

90%

If someone is healthy, how likely is the test to be clear?

PPV - Positive Predictive Value

33.6%

If the test is positive, this is the chance the patient is actually sick.

True Positives / (True Positives + False Positives)

NPV - Negative Predictive Value

99.8%

If the test is negative, this is the chance the patient is actually healthy.

True Negatives / (True Negatives + False Negatives)

Population Outcomes

Breakdown of test results for the 1000 people.

Test Result: POSITIVE (+)

The test says these people might be sick.

True Positives48

Sick people correctly identified.

False Positives95

Healthy people given a false alarm.

Total Positive Tests: 143

Test Result: NEGATIVE (-)

The test says these people are likely healthy.

False Negatives2

Sick people who were missed (dangerous!).

True Negatives855

Healthy people correctly cleared.

Total Negative Tests: 857

The Test Accuracy

Total Population1000
Correct Diagnoses903(90.3%)
Incorrect Diagnoses97(9.7%)

PPV vs. Prevalence

Shows how PPV changes as disease becomes more common, holding test accuracy constant.