Number Needed to Treat Calculator

Number needed to treat (NNT)20
Absolute risk reduction5.00 percentage points
Unrounded value20.00
Relative risk reduction25.0%
DirectionTreatment benefit
How this was calculated
  1. Absolute risk reduction = |20% - 15%| = 5.00 percentage points (0.0500 as a proportion).
  2. NNT = 1 / 0.0500 = 20.00, and the convention is always to round up to the next whole patient: 20.
  3. Relative risk reduction = 5.00 / 20 = 25.0% - the relative figure looks larger because it ignores how common the event is.
  4. In plain terms: treat 20 patients for one additional patient to benefit compared with the control treatment, over the same period the trial measured.

The number needed to treat calculator turns two event rates into the single number clinicians and readers care about: how many patients must be treated for one to benefit. It uses the standard relationship NNT = 1 / ARR, where ARR is the absolute risk reduction and event rates are entered as proportions. For example, if a treatment lowers events from 20% to 15%, that is an absolute reduction of 5 percentage points, so NNT = 1 / 0.05 = 20: treat 20 patients for one to benefit. The same arithmetic runs in reverse when a treatment raises event rates, giving the number needed to harm. If events rise from 10% to 12%, the absolute increase is 2 points, so NNH = 50. Because NNT is always rounded up to the next whole patient, an unrounded 29.41 from an 8.5% to 5.1% fall is reported as an NNT of 30.

This method is the accepted standard because the absolute risk reduction reflects the actual change in event rates, and its reciprocal states that change in the practical terms of patients treated. Relative figures can mislead: the relative risk reduction in the 20% to 15% example is 25%, which looks larger than the 5-point absolute change because it ignores how common the event is. This page shows the formula, the step-by-step workings, worked examples and sources so you can check every result yourself.

Worked examples

Events fall from 20% to 15%

Number needed to treat (NNT) = 20. Absolute risk reduction: 5.00 percentage points; Unrounded value: 20.00; Relative risk reduction: 25.0%; Direction: Treatment benefit. (20 % · 15 %)

Number needed to treat (NNT)20
Absolute risk reduction5.00 percentage points
Unrounded value20.00
Relative risk reduction25.0%
DirectionTreatment benefit

Events rise from 10% to 12% (harm)

Number needed to harm (NNH) = 50. Absolute risk increase: 2.00 percentage points; Unrounded value: 50.00; Relative risk increase: 20.0%; Direction: Treatment harm. (10 % · 12 %)

Number needed to harm (NNH)50
Absolute risk increase2.00 percentage points
Unrounded value50.00
Relative risk increase20.0%
DirectionTreatment harm

Events fall from 8.5% to 5.1%

Number needed to treat (NNT) = 30. Absolute risk reduction: 3.40 percentage points; Unrounded value: 29.41; Relative risk reduction: 40.0%; Direction: Treatment benefit. (8.5 % · 5.1 %)

Number needed to treat (NNT)30
Absolute risk reduction3.40 percentage points
Unrounded value29.41
Relative risk reduction40.0%
DirectionTreatment benefit

Why absolute numbers beat relative ones

A 50% relative reduction sounds impressive until you ask: 50% of what? Cutting events by half can mean two events in a million become one, or 200 in a thousand become 100. The relative figure is identical in both cases, but the clinical meaning is not. Relative risk reduction describes how far the rate falls compared with itself; it says nothing about how many patients actually avoid an event. Only the absolute version of the change — and its reciprocal, the NNT — tells the clinician what a treatment is worth in practice. That is the gap a number needed to treat calculator is built to close.

The arithmetic is simple once event rates are expressed as proportions. The number needed to treat is the reciprocal of the absolute risk reduction: NNT = 1 / ARR. Suppose a treatment lowers the event rate from 20% to 15%. That is an absolute reduction of 5 percentage points, so NNT = 1 / 0.05 = 20 — treat 20 patients for one to benefit. The same trial's relative risk reduction is 25%, which looks larger than the 5-point absolute change because it ignores how common the event is. When the event is rare, that 25% can shrink to a handful of avoided events per thousand; when it is common, the same 25% moves many more patients. The relative number stays fixed while the absolute number moves with baseline risk, and it is the absolute number that decides whether the effort is worthwhile.

The same arithmetic runs in the other direction. When the treatment raises event rates, the reciprocal gives the number needed to harm. A rise from 10% to 12% is an absolute increase of 2 points, so NNH = 50. Reading benefit and harm side by side in absolute terms is what makes a trade-off visible: an NNT of 20 against an NNH of 50 describes a very different proposition from an NNT of 200 against an NNH of 10, even if the relative figures in the trial report look similar.

One practical rule: NNT is always rounded up to the next whole patient. A calculated value of 29.41 — from a fall of 8.5% to 5.1% — is reported as an NNT of 30. You cannot treat a fraction of a person, and rounding up keeps the estimate honest rather than flattering. Keep event rates as proportions throughout, and check that every rate you enter comes from the same time frame; mixing periods distorts the absolute reduction and therefore the NNT.

Relative risk reduction tells you the size of the change; the absolute risk reduction and its reciprocal, the NNT, tell you how many patients that change touches.

The formula and the round-up rule

The number needed to treat is the reciprocal of the absolute risk reduction: NNT = 1 / ARR, with event rates expressed as proportions. To use the number needed to treat calculator, you first need the absolute risk reduction, or ARR, which is the simple difference between the event rate in the control group and the event rate in the treated group. Express both rates as proportions rather than percentages, then subtract. The result is the ARR, and dividing 1 by that value gives the NNT.

Take the worked example: a fall in events from 20% to 15%. The absolute reduction is 5 percentage points. Written as a proportion, that is 0.05, so NNT = 1 / 0.05 = 20. In plain terms, you would treat 20 patients for one to benefit. Notice that the arithmetic is nothing more than flipping the ARR: a 5-in-100 reduction means one benefit per 20 patients treated.

The same arithmetic works in the other direction. When the treatment raises event rates, you get the number needed to harm. A rise from 10% to 12% is an absolute increase of 2 points, so NNH = 1 / 0.02 = 50. The formula does not change; only the direction of the difference does.

One rule trips people up: NNT is always rounded up to the next whole patient. Suppose a fall from 8.5% to 5.1% gives an unrounded value of 29.41. That is reported as an NNT of 30, not 29. The reason is practical. You cannot treat a fraction of a patient, and rounding down would understate how many people must be treated to expect one benefit. Rounding up keeps the estimate on the conservative side, so 29.41 becomes 30.

It also helps to see why the absolute change and the relative change tell different stories. The relative risk reduction for the 20% to 15% example is 25%, which looks larger than the 5-point absolute change because it ignores how common the event is. The NNT is built on the absolute figure, which is why it tracks the 5-point drop and the resulting NNT of 20 rather than the more dramatic-looking 25%.

NNT = 1 / ARR, using rates as proportions. A fall from 20% to 15% is an ARR of 0.05, so NNT = 20. Always round up: 29.41 is reported as 30.

NNT versus NNH

The number needed to treat describes benefit, but the same arithmetic runs in the opposite direction when a treatment causes events instead of preventing them. The number needed to treat is the reciprocal of the absolute risk reduction: NNT = 1 / ARR, with event rates expressed as proportions. Swap the direction of the change and you get the number needed to harm, or NNH. A number needed to treat calculator handles both cases because the formula does not care which way the risk moves — only the size of the absolute difference matters.

The mirror case is simple to follow. Suppose an event rate rises from 10% to 12% under a treatment. That is an absolute increase of 2 percentage points, or 0.02 as a proportion. The reciprocal is 1 / 0.02 = 50, so the NNH is 50: treat 50 patients over the study period and one additional patient experiences the event because of the treatment. Compare that with the benefit example, where events fall from 20% to 15% — an absolute reduction of 5 percentage points, giving NNT = 1 / 0.05 = 20. The mechanics are identical; only the sign of the change differs. This is why a number needed to treat calculator is really an absolute-risk calculator, and why the harm figure is best read as its mirror image.

Trials that report both outcomes put these two numbers side by side over the same follow-up period, so the comparison is fair. Benefit and harm are counted across the same patients and the same duration; matching the time frame matters because an NNT of 20 measured over five years is not comparable to an NNH of 50 measured over one. When you see the pair reported together, read them as a trade: how many patients must be treated for one to benefit, and how many must be treated for one to be harmed, within the same window. A calculator cannot make that judgment for you, but presenting both numbers on the same footing is what makes the trade visible.

Two reporting conventions are worth keeping in mind. First, NNT is always rounded up to the next whole patient — an unrounded 29.41 from an 8.5% to 5.1% fall is reported as an NNT of 30, because you cannot treat a fraction of a person and rounding up avoids overstating the benefit. Second, relative figures can mislead. The relative risk reduction for the 20% to 15% example is 25%, which looks larger than the 5-point absolute change because it ignores how common the event is. The absolute change is what feeds the number needed to treat calculator, and it is the figure that keeps benefit and harm on the same scale.

  • Benefit example: 20% to 15% is a 5-point absolute fall, so NNT = 1 / 0.05 = 20.
  • Harm example: 10% to 12% is a 2-point absolute rise, so NNH = 1 / 0.02 = 50.
  • Round NNT up to the next whole patient: 29.41 becomes 30.
  • Report benefit and harm NNTs over the same follow-up period so the comparison is fair.
Same formula, opposite direction: a 5-point fall gives an NNT of 20, while a 2-point rise gives an NNH of 50. Read both over the same follow-up period before weighing benefit against harm.

Reading an NNT critically

A number needed to treat calculator gives you a single, tidy figure, but that figure carries assumptions you need to check before you act on it. The NNT is the reciprocal of the absolute risk reduction: NNT = 1 / ARR, with event rates expressed as proportions. In the standard worked example, a fall in events from 20% to 15% is an absolute reduction of 5 percentage points, so NNT = 1 / 0.05 = 20. Read plainly, that means you treat 20 patients for one to benefit. The arithmetic is simple; the interpretation is where care is needed.

The first caveat is baseline risk. The same relative effect applied to a population with a different starting risk produces a different NNT, because the absolute risk reduction changes even when the relative reduction does not. Follow-up duration matters just as much: an NNT describes events over the period the trial actually observed, and extending or shortening that window changes what the number means. An NNT without a stated time frame and a stated baseline risk is incomplete. This is also why the relative risk reduction for the 20% to 15% example is 25%, which looks larger than the 5-point absolute change because it ignores how common the event is. A big relative number can sit on top of a small absolute difference.

The second caveat is uncertainty. Every NNT is an estimate, and its confidence interval can behave strangely. When the difference between groups is not statistically significant, the confidence interval for the absolute risk reduction includes zero, and because the NNT is the reciprocal of that reduction, the interval for the NNT can cross infinity. A confidence interval that runs from a finite number through infinity to another finite number is not a typo; it is a signal that the data do not establish a benefit. Treat such an interval as evidence of uncertainty, not as a precise range you can quote.

The third caveat is comparability. NNTs from different trials are not directly comparable. They may rest on different baseline risks, different follow-up durations, different definitions of the event, and different populations. Putting two NNTs side by side and picking the smaller one as the better treatment ignores all of that. Compare like with like, and read each NNT alongside the population, the time frame, and the confidence interval that produced it.

One more practical point: NNT is always rounded up to the next whole patient. An unrounded 29.41 from an 8.5% to 5.1% fall is reported as an NNT of 30, because you cannot treat a fraction of a person. The same arithmetic also runs in the other direction: when the treatment raises event rates, you get the number needed to harm. A rise from 10% to 12% is an absolute increase of 2 points, so NNH = 50.

  • Check the baseline risk: the same relative effect gives a different NNT when the starting risk differs.
  • Check the follow-up duration: an NNT describes events over the period observed.
  • Check the confidence interval: when the difference is not significant, it can cross infinity.
  • Do not compare NNTs across trials with different populations, time frames, or event definitions.
  • Round NNT up to the next whole patient.
An NNT is only as good as the risk, time frame, and confidence interval behind it. Quote all three, or quote none.

FAQs

How is NNT calculated?

Divide 1 by the absolute risk reduction expressed as a proportion. If an event rate falls from 20% to 15%, the absolute risk reduction is 0.05 (5 percentage points). The number needed to treat is then 1 divided by 0.05, which equals 20. That means 20 patients must be treated for one to benefit.

Why is NNT always rounded up?

You cannot treat a fraction of a patient, so the result is rounded up to the next whole number. For example, 29.41 becomes 30. Rounding up is the conservative convention: it avoids overstating the benefit, so the reported NNT never promises more than the data support.

What is a good NNT?

Lower is stronger. Single figures are excellent for symptomatic treatments, where few patients need treatment for one to feel a benefit. NNTs of 20 to 100 are common and still worthwhile for preventing serious events like stroke, where avoiding even one event matters a great deal.

What does NNH mean?

NNH stands for number needed to harm. It applies when treatment increases event rates, for example from 10% to 12%. The absolute increase is 0.02, and the reciprocal of that gives an NNH of 50, meaning one extra harm occurs for every 50 patients treated.

What if both rates are the same?

If the treatment and control rates are identical, the absolute difference is zero. Dividing 1 by zero gives an NNT that is infinite. In practical terms, the treatment shows no measurable benefit or harm on that outcome, so no finite number of patients treated would produce one extra benefit.

Is NNT the same as relative risk reduction?

No. A fall from 20% to 15% is a 25% relative reduction but only a 5-point absolute one. NNT uses the absolute figure, not the relative one. That is why NNT stays honest about rare events, where a large relative reduction can still mean very few people are helped.

Sources

Related calculators

Diagnostic Test Calculator
Sensitivity, specificity, predictive values, accuracy and likelihood ratios from a 2x2 table.
Albumin-to-Creatinine Ratio (ACR) Calculator
The urine albumin-to-creatinine ratio in mg/g, graded on the KDIGO A1, A2 and A3 albuminuria categories.
A1C Converter Calculator
Convert A1C to estimated average glucose (eAG) and back with the ADA's ADAG equation — in mg/dL and mmol/L, with the ADA category shown.