Toolvito

Works on this device

Number Needed to Treat Calculator

Find the number needed to treat: how many people must get a treatment for one more of them to avoid the outcome. When the treatment raises the risk, you get the number needed to harm. This page is for learning and for checking arithmetic. It is not medical advice.

Enter your values

Type the four cells of the table, or the people with the outcome and the size of each group. Group 1 is the treated group, group 2 the control group.

Your values

Choose the second way when you know how many people were in each group and how many of them had the outcome.

People in group 1 who had the event or outcome.

People in group 2 who had the event or outcome.

The level of the interval. 95% is the most common.

The Wald method is the simple textbook one. It can be too narrow, or go past 100%, when a group is small or a risk is near 0% or 100%.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose Calculate.

How to use this calculator

  1. Choose the 2×2 table, two risks in percent, or an absolute risk reduction that a study reports.
  2. Group 1 is the treated group. Group 2 is the control group. Type the people of each group with and without the outcome, or the people with the outcome and the size of each group.
  3. Choose the confidence level and the interval method for the absolute risk reduction.
  4. Choose Calculate. You get the NNT (or NNH), the value before rounding, its interval and the working.

The formulas

  • Absolute risk reduction (ARR) = risk in the control group − risk in the treated group, as a fraction (10 percentage points is 0.10).
  • Number needed to treat (NNT) = 1 ÷ ARR, rounded up to the next whole person. Rounding up is the usual way, so that the number is not too hopeful.
  • Number needed to harm (NNH) = 1 ÷ |ARR| when the ARR is below 0, also rounded up.
  • Interval: 1 ÷ (upper limit of the ARR) to 1 ÷ (lower limit of the ARR). The ARR interval is by Newcombe’s hybrid score method or by the Wald method.

Worked example

In the treated group, 30 of 300 people had the outcome (10%). In the control group, 60 of 300 had it (20%). ARR = 0.20 − 0.10 = 0.10, so NNT = 1 ÷ 0.10 = 10. On average, 10 people must be treated for one more of them to avoid the outcome.

The 95% Newcombe interval of the ARR is 4.305 to 15.69 percentage points, so the NNT interval is 1 ÷ 0.1569 = 6.4 to 1 ÷ 0.04305 = 23.2. It is written NNTB 6.4 to 23.2.

When the interval of the ARR holds 0

Then the data fit a benefit, no effect and a harm. 1 ÷ 0 has no value, so the NNT interval cannot be one plain range. Altman (1998) proposes to write it in two parts, with infinity for no effect in the middle.

For example, an ARR of 3 percentage points with an interval of −1 to 7 points gives an NNT of 34 (1 ÷ 0.03 = 33.3, rounded up) and the interval NNTB 14.3 to infinity to NNTH 100.0. NNTB means the number needed to treat for one more person to benefit; NNTH, for one more person to be harmed.

Other measures from the same table

The result also shows the same table as an odds ratio, a risk ratio, an absolute risk reduction and a relative risk reduction. Each has its own calculator, and they all give the same numbers for the same table: the Odds Ratio Calculator, the Relative Risk Calculator, the Absolute Risk Reduction Calculator and the Relative Risk Reduction Calculator.

Limits you should know

  • An NNT holds for the people in the study and for its length of follow-up. People with a higher or lower risk have another NNT.
  • Risks need groups that were followed forward in time, as in a cohort study or a trial.
  • The limits of the NNT interval are shown with one decimal place and are not rounded up.
  • This page is for learning and for checking arithmetic. It is not medical advice. Talk about results that concern your own health or treatment with a clinician.

Related tools