# False Positive Calculator

URL: https://speedycalculator.com/calculators/statistics/false-positive/
Last updated: 2026-11-08

> The false positive calculator estimates how many false positives and true negatives a test produces in a population from the prevalence and the specificity, gives the false positive rate and, with the sensitivity, the share of all positive results that are false.

## Inputs

- Population tested (N)
- Prevalence (%)
- Specificity (%)
- Sensitivity (for the share of false positives) (%)

## Results

- False positives
- True negatives
- False positive rate
- True positives
- False negatives
- Share of positive results that are false
- Share of positive results that are true (PPV)
- Total positive results

## Formula

```
False positives = N × (1 − prevalence) × (1 − specificity)
True negatives = N × (1 − prevalence) × specificity
False positive rate = 1 − specificity = FP ÷ (FP + TN)
```

## Explanation

A false positive is a positive test result in someone who does not have the condition: a healthy patient flagged by a screening test, a legitimate email sent to spam, an innocent bag stopped at airport security. How many there are depends on two things: how many people without the condition are tested, and the test’s specificity, the share of them it correctly clears.

The false positive rate is the complement of specificity: a test with 95% specificity wrongly flags 5% of unaffected people. In a population of 10,000 with 2% prevalence, 9,800 people are unaffected, so the test produces 490 false positives and 9,310 true negatives. Note that this is a rate among the unaffected, not among the positives.

Add the sensitivity and the calculator also counts the true positives and missed cases and works out the false discovery rate, the share of all positive results that are false. That share is often surprisingly high for rare conditions: here 490 of 670 positives (73%) are false even though the test is 95% specific.

### How to use the False Positive Calculator

- **Population tested (N)**
- **Prevalence**
- **Specificity**
- **Sensitivity (for the share of false positives)**

Results update as you type, and everything is calculated in your browser.

### How it works

The number unaffected is N × (1 − prevalence). Multiplying by 1 − specificity gives the false positives and by the specificity the true negatives. With sensitivity, true positives are N × prevalence × sensitivity, and the false discovery rate is FP ÷ (FP + TP).

### Worked example

10,000 people are screened; prevalence is 2%, specificity 95% and sensitivity 90%. Unaffected: 9,800, giving 9,800 × 0.05 = 490 false positives and 9,310 true negatives. Affected: 200, giving 180 true positives and 20 false negatives. Of the 670 positive results, 490 (73.13%) are false.

### False positives per 10,000 tested (2% prevalence)

SpecificityFalse positivesFalse share of positives (90% sensitivity)90%98084.48%95%49073.13%99%9835.25%99.9%9.85.16%

### Inputs explained

FieldWhat to enterPopulation tested (N)A numberPrevalenceIn %SpecificityIn %Sensitivity (for the share of false positives)In %

### What each result means

- **False positives** = [Population tested (N)]×(100 - [Prevalence])÷100×(100 - [Specificity])÷100
- **True negatives** = [Population tested (N)]×(100 - [Prevalence])÷100×[Specificity]÷100
- **False positive rate** = 100 - [Specificity]
- **True positives** = [Population tested (N)]×[Prevalence]÷100×[Sensitivity (for the share of false positives)]÷100
- **False negatives** = [Population tested (N)]×[Prevalence]÷100×(100 - [Sensitivity (for the share of false positives)])÷100
- **Share of positive results that are false** = [False positives]÷([False positives] + [True positives])×100
- **Share of positive results that are true (PPV)** = 100 - [Share of positive results that are false]
- **Total positive results** = [False positives] + [True positives]

## Worked example

Inputs: Population tested (N): 10,000; Prevalence: 2 %; Specificity: 95 %; Sensitivity (for the share of false positives): 90 %.

Results: **False positives = 490**; True negatives = 9,310; False positive rate = 5 %; True positives = 180; False negatives = 20; Share of positive results that are false = 73.1343 %; Share of positive results that are true (PPV) = 26.8657 %; Total positive results = 670.

## Key terms

- **False positive**: A positive result in someone without the condition.
- **True negative**: A negative result in someone without the condition.
- **False positive rate**: FP ÷ (FP + TN) = 1 − specificity.
- **False discovery rate**: FP ÷ (FP + TP), the share of positives that are false.

## FAQ

**How do I calculate the number of false positives?**
Multiply the number of people without the condition by (1 − specificity). 9,800 unaffected × 5% = 490.

**What is the false positive rate?**
1 − specificity, or FP ÷ (FP + TN). A 95% specific test has a 5% false positive rate.

**Is the false positive rate the share of positive results that are wrong?**
No. That is the false discovery rate, FP ÷ (FP + TP), which here is 73.13%.

**How can I reduce false positives?**
Use a more specific test or a higher threshold, confirm positives with a second test, or test groups where the condition is more common.

**Is a false positive a type I error?**
Yes, it means rejecting a true "no condition" null hypothesis. A false negative is a type II error.

**Why do rare conditions give so many false positives?**
Almost everyone tested is unaffected, so even a small false positive rate applies to a very large group.


## Sources

- [CDC: Sensitivity, specificity and predictive values (Principles of Epidemiology)](https://www.cdc.gov/csels/dsepd/ss1978/lesson5/section1.html)
- [NCBI Bookshelf: Diagnostic testing accuracy: sensitivity, specificity, predictive values and likelihood ratios](https://www.ncbi.nlm.nih.gov/books/NBK557491/)
