NNT calculator (number needed to treat)

This NNT calculator turns trial results into the number needed to treat: how many people must receive the treatment for one of them to avoid the event. Enter the events and totals for the control and treated groups. If the treatment raises the event rate, it reports the number needed to harm.

Your numbers are calculated in your browser and are not sent or stored.

An event is the bad outcome the treatment is meant to prevent, such as a death, relapse or infection.

Number needed to treat

13

Treat 13 people to prevent one event (exact value 12.5).

Control event rate
20%
Treated event rate
12%
Absolute risk reduction
8 points (95% CI 0.86 to 15.14)
Relative risk reduction
40%
Relative risk
0.6
95% CI of the NNT
6.6 to 116.6

To report

ARR = 8% (95% CI 0.9 to 15.1), NNT = 13 (95% CI 6.6 to 116.6)

Check your result: the absolute risk reduction must equal the control rate minus the treated rate (0.20 − 0.12 = 0.08 in the example), and 1 ÷ ARR gives the NNT before rounding up: 1 ÷ 0.08 = 12.5, reported as 13. If the ARR interval includes zero, the NNT is not significant.
NNT in the worked example
13
NNT in the worked example
its 95% interval
6.6 to 116.6
its 95% interval
relative risk reduction in the same trial
40%
relative risk reduction in the same trial
counts to enter
4
counts to enter
  • NNT or NNH, rounded up
  • Absolute and relative risk reduction
  • 95% confidence intervals
  • Flags a non-significant result
  • Runs in your browser, free

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).

abcdoutcome: yesoutcome: nogroup 1group 2risk in group 1 = a ÷ (a + b)
The four cells of a 2 × 2 table. Rows are the two groups you compare; columns are the two outcomes. Every measure on this page is a way of combining a, b, c and d. Check which way round your table is before reading the result: swapping rows or columns inverts ratios.

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

Read the full methodology · Who makes Sciloom

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.

Need the odds ratio or relative risk with its interval? Use the odds ratio calculator.
Free to start, no sign-up.
Back to the tool ↑

More research tools