How to Use the Number Needed to Treat Calculator
This calculator allows you to calculate the number needed to treat (NNT) or number needed to harm (NNH) using the observed frequencies or event rates from a treatment and control group.
To use the calculator:
- Choose the data entry method. You can either select the 2 × 2 Table option if you have the number of individuals who experienced the event and those who did not, or the Event Rates option if you have the event rates and sample sizes for both groups.
- Enter your data in the input fields.
- Set the confidence level, such as 90%, 95%, or 99%, and select the number of decimal places.
- Click Calculate.
The calculator will instantly return the number needed to treat or harm, confidence interval, control and treatment event rates, absolute risk reduction, and relative risk reduction. It also provides a step-by-step solution showing how to calculate each of those measures.
What Is Number Needed to Treat (NNT)?
The number needed to treat (NNT) is a statistical measure used to determine how many patients need to receive a treatment, compared with a control, for one additional patient to benefit over a specified period.
For example, suppose a treatment has an NNT of 10 for preventing a particular disease. This means that, on average, 10 patients would need to receive the treatment instead of the control for one additional case of the disease to be prevented.
NNT is commonly used in randomized controlled trials, clinical research, and evidence-based medicine to assess the effectiveness of treatments.
Number Needed to Treat Formula
To help you understand the number needed to treat formula, consider the following 2 × 2 contingency table of observed frequencies.
| Group | Event (Yes) | Event (No) | Total |
|---|---|---|---|
| Treatment | a | b | a + b |
| Control | c | d | c + d |
In the above table:
- a denotes the number of individuals who experienced the event in the treatment group.
- b denotes the number of individuals who did not experience the event in the treatment group.
- c denotes the number of individuals who experienced the event in the control group.
- d denotes the number of individuals who did not experience the event in the control group.
The number needed to treat (NNT) is derived from the absolute risk reduction (ARR), which is the difference between the event rates in the control and treatment groups.
Therefore, you need to understand these formulas to calculate the NNT.
- Control Event Rate, CER = c / (c + d)
- Experimental Event Rate, EER = a / (a + b)
- Absolute risk reduction, ARR = CER − EER
By definition, the number needed to treat is the reciprocal of the absolute risk reduction.
Therefore, the number needed to treat formula is:
NNT = 1 / ARR or NNT = 1 / (CER − EER)
Note. The event rates (ARR, CER, and EER) should be in proportions rather than percentages when using the above NNT formula. For example, if the absolute risk reduction is 10%, we use ARR = 0.10.
However, if you want to calculate NNT when event rates are in percentages, we use the formula: NNT = 100 / (CER% − EER%).
Remember. You should always round up the NNT to the next whole number because patients cannot be in fractions
Want to round up NNT using an online tool? Use the rounding calculator.
Relative Risk Reduction Formula
Besides absolute risk reduction, we can also calculate the relative risk reduction (RRR), which expresses the reduction in risk relative to the control group.
The formula is: RRR = (ARR / CER) × 100% or RRR = [(CER − EER) / CER] × 100%
This formula applies when the control event rate is greater than zero.
How to Calculate Number Needed to Treat: An Example
Example. A researcher conducted a hypothetical clinical trial involving 200 patients to investigate whether a new treatment reduced the recurrence of a particular illness over a 12-month period. The patients were divided into treatment and control groups, and the results were summarized as follows:
| Group | Illness Recurred | No Recurrence | Total |
|---|---|---|---|
| Treatment | 10 | 90 | 100 |
| Control | 20 | 80 | 100 |
| Total | 30 | 170 | 200 |
Calculate the absolute risk reduction (ARR), number needed to treat (NNT), and relative risk reduction (RRR).
Solution
i) Absolute Risk Reduction (ARR)
By definition, ARR = CER-EER
Where:
- CER = c / (c + d)
- EER = a / (a + b)
Thus, to find NNT, we first need to calculate CER and EER.
From the table:
- a = 10
- b = 90
- c = 20
- d = 80
Therefore:
CER = 20/(20+80)
=20/100
= 0.20
EER = 10/(10+90)
= 10/100
= 0.10
Since we now have CER and EER, we can compute ARR.
Recall. ARR = CER – EER
= 0.20 – 0.10
= 0.10
ii) Number Needed to Treat (NNT)
Recall. NNT = 1 / ARR
Substituting the values, we have:
NNT = 1/0.10
= 10
Therefore, 10 patients would need to receive the new treatment instead of the control for one additional recurrence to be prevented over the 12-month period.
iii) Relative Risk Reduction (RRR)
Recall. RRR = (ARR / CER) × 100%
Substituting the values into the formula:
RRR = (0.10/0.20) × 100%
= 50%
This means the treatment was associated with a 50% reduction in the risk of recurrence compared with the control group.
How to Interpret Number Needed to Treat
The NNT indicates the number of patients who need to receive a treatment for one additional patient to benefit compared with the control group.
A lower NNT generally indicates a larger absolute treatment benefit, provided the outcome, comparison group, and follow-up period are the same.
For example, an NNT of 5 means that five patients need to receive the treatment for one additional patient to benefit. An NNT of 20 means that 20 patients need to receive the treatment for the same additional benefit.
However, a lower NNT does not necessarily mean that a treatment is better. We also need to consider the severity of the outcome, treatment costs, possible side effects, and duration of treatment.
How to Calculate Number Needed to Harm (NNH)
The number needed to harm (NNH) is used when a treatment increases the risk of an undesirable outcome compared with the control group.
In this case, the absolute risk reduction (ARR) is negative. Rather than reporting a negative NNT, we calculate the number needed to harm instead using the formula: NNH = 1 / (EER − CER)
Example. Suppose 30% of patients in the treatment group experienced an adverse event compared with 10% in the control group.
The absolute risk increase is: ARI = EER − CER
= 0.30 − 0.10
= 0.20
Substituting into the NNH formula,
NNH = 1 / 0.20
= 5 patients
Therefore, for every five patients receiving the treatment instead of the control, approximately one additional patient would experience the adverse event over the specified follow-up period.
The NNT Calculator on this page automatically reports NNH when the treatment event rate is greater than the control event rate.
How to Calculate the Confidence Interval for NNT
The confidence interval for the number needed to treat helps us assess the precision of the estimated treatment benefit.
To calculate the confidence interval, we first construct a confidence interval for the absolute risk reduction (ARR) and then convert these limits to the NNT scale by taking their reciprocals.
When both confidence limits for ARR are positive, the NNT confidence interval formula is:
NNT CI = (1 / Upper ARR Limit, 1 / Lower ARR Limit)
Notice. We use the upper ARR limit to calculate the lower NNT limit and vice versa.
Example
Consider the previous clinical trial, where the control event rate was 20%, and the treatment event rate was 10%, giving an absolute risk reduction of 0.10 and an NNT of 10. Using the Newcombe-Wilson method, the approximate 95% confidence interval for the absolute risk reduction is: 95% CI for ARR = (0.000149, 0.199474).
To find the confidence interval for the NNT, we substitute the unrounded confidence limits into the NNT confidence interval formula.
Therefore:
Lower confidence limit = 1 / 0.199474
= 5.01
Upper confidence limit = 1 / 0.000149
≈ 6,710.28
Therefore, the 95% confidence interval for NNT is approximately (5.01, 6,710.28).
Although the estimated NNT is 10, the confidence interval is very wide. The large upper limit occurs because the lower confidence limit for the absolute risk reduction is very close to zero. This indicates considerable uncertainty about the size of the treatment benefit.
What If the NNT Confidence Interval Includes Infinity?
If the confidence interval for the absolute risk reduction includes zero, taking the reciprocals does not give a single finite NNT interval. Instead, the confidence interval extends through infinity, indicating that the data are compatible with treatment benefit, no difference, or treatment harm.
In such cases, we report the interval using:
- NNTB: Number needed to treat for an additional benefit.
- NNH: Number needed to harm.
For example, a confidence interval may extend from an NNT for benefit through infinity to an NNH for harm. The number needed to treat calculator handles this automatically rather than displaying a misleading finite confidence interval.
Number Needed to Treat vs. Relative Risk Reduction
Number needed to treat and relative risk reduction are both used to describe treatment effectiveness, but they provide different information.
Relative risk reduction expresses the percentage reduction in risk compared with the control group, while NNT shows how many patients need to receive treatment for one additional patient to benefit.
To help you understand these two concepts, consider the following two treatments:
| Measure | Treatment A | Treatment B |
|---|---|---|
| Control Event Rate | 20% | 2% |
| Treatment Event Rate | 10% | 1% |
| Absolute Risk Reduction | 10% | 1% |
| Relative Risk Reduction | 50% | 50% |
| Number Needed to Treat | 10 | 100 |
Although both treatments have a relative risk reduction of 50%, their NNT values are different because their absolute risk reductions differ. This illustrates why the absolute risk reduction is important when assessing treatment effectiveness.
If you want to compare the probability of an outcome between two groups, use the Relative Risk Calculator. However, for studies reporting odds ratios, you can use the Odds Ratio Calculator.
Frequently Asked Questions
It is an online tool used to calculate the number needed to treat (NNT), which is the number of patients who must receive a treatment for one additional patient to benefit compared with a control group. It uses event rates or observed frequencies to calculate NNT, absolute risk reduction, relative risk reduction, and confidence intervals.
There is no universally accepted NNT value that indicates a good treatment. A lower NNT generally suggests a greater absolute benefit, but its clinical importance depends on the outcome being prevented, the treatment’s risks and costs, and the follow-up period.
A negative value may arise when the treatment event rate exceeds the control event rate. However, when the event is undesirable, we report a positive number needed to harm (NNH) rather than a negative NNT.
We round up NNT because patients cannot be treated in fractions. For example, an NNT of 8.2 is reported as 9 patients, while an NNT of exactly 8 remains 8.
Report the NNT together with its confidence interval, the outcome being studied, and the follow-up period.
For the example on this page, you would report: “The estimated number needed to treat to prevent one additional recurrence over 12 months was 10 patients (95% CI [5.01, 6,710.28]).”
An infinite NNT occurs when the treatment and control event rates are equal, giving an absolute risk reduction of zero. This means there is no observed difference in risk between the two groups.
