01
NNT formula
ARR = control event rate − treated event rate
NNT = 1 ÷ ARR
RRR = ARR ÷ control event rate
ARR is the absolute risk reduction, as a proportion. The NNT is rounded up to the next whole person. When the ARR is negative the treatment did harm, and 1 ÷ |ARR| is the number needed to harm (NNH).
02
Worked example
In a trial, 40 of 200 control patients and 24 of 200 treated patients have the event.
control rate = 20%, treated rate = 12%
ARR = 0.20 − 0.12 = 0.08, NNT = 1 ÷ 0.08 = 12.5 → 13
The 95% CI of the ARR is 0.9 to 15.1 percentage points, so the NNT interval is 6.6 to 116.6. The relative risk reduction is 40%.
03
Reading an NNT
- An NNT belongs to a specific outcome, comparison and follow-up time. Quote all three with it.
- It depends on the baseline risk. The same relative reduction gives a much larger NNT in low-risk patients.
- When the interval of the risk difference includes zero, the NNT interval runs through infinity and the result should be reported as not significant.
04
Common mistakes with the NNT
- Quoting the relative risk reduction as the benefit. The same 40% reduction from a 2% control rate to 1.2% gives an ARR of 0.008 and an NNT of 125, against 13 in the example.
- Rounding down. Treating 12 people at an ARR of 0.08 prevents 0.96 events, less than one; round 12.5 up to 13.
- Reporting an NNT when the risk difference is not significant. With 40 of 200 and 30 of 200 the NNT is 20, but the ARR interval runs from −2.4 to 12.4 percentage points, so the NNT interval passes through infinity.
Trust
How this page is checked
- The calculation runs on code with automated tests against worked reference values. Every number in the examples on this page was produced by that same code, not typed by hand.
- The formulas and conventions used are stated on the page, so you can reproduce the result yourself or compare it with your own software.
- Last reviewed by the Sciloom team, Zebra Nine Studio Inc. It is a tool for research and teaching, not a substitute for a statistician, a validated lab method or medical advice.
Cite this page
Sciloom. (2026). NNT calculator (number needed to treat). Zebra Nine Studio Inc. https://sciloom.si/nnt-calculator
Frequently asked questions
How do I calculate the number needed to treat?
Subtract the treated event rate from the control event rate to get the absolute risk reduction, then take its reciprocal. Rates of 20% and 12% give 1 ÷ 0.08 = 12.5, reported as 13.
What is a good NNT?
Lower is better, but it depends on how serious the outcome is and on the cost and side effects of treatment. An NNT of 50 can be worthwhile to prevent a death and poor for a minor symptom.
Why round the NNT up?
You cannot treat a fraction of a person, and rounding up avoids overstating the benefit. For a number needed to harm, some authors round down for the same cautious reason.
What is the difference between ARR and RRR?
ARR is the difference in event rates, in percentage points. RRR is that difference as a share of the control rate. A fall from 2% to 1% is an RRR of 50% but an ARR of 1 point, an NNT of 100.