Binary study results calculator
Enter events and analyzed participants from two independent groups for one outcome and follow-up. See absolute and relative effects together, choose whether the event is desirable, and inspect the limits of the calculation.
No account required · Local save and file export
The starting values are invented examples, not typical costs, staffing recommendations or credential requirements. Use aggregate figures or research data; do not enter patient identifiers.
Keep and compare scenarios
Saving is optional and stays in this browser. A shared device can expose its local files or saved values. Export a copy for another device; nothing syncs to an account.
Your scenario results
| Measure | Current scenario |
|---|---|
| Intervention event risk | 10% |
| Control event risk | 20% |
| Risk difference (intervention − control) | -10 percentage points |
| Relative risk (intervention / control) | 0.5 |
| Number needed, at entered follow-up | NNT for benefit: 10 |
| Approximate 95% risk-difference interval | -19.8 to -0.2 percentage points |
Current scenario inputs
- Binary outcome being counted
- An example undesirable event
- Follow-up period
- Three months
- Meaning of the counted event
- undesirable
- Intervention participants with event
- 10
- Intervention analyzed participants
- 100
- Control participants with event
- 20
- Control analyzed participants
- 100
| Outcome | Event direction | Follow-up |
|---|---|---|
| An example undesirable event | undesirable | Three months |
Assumptions and interpretation
- Use one binary outcome, the same follow-up, independent participants and two comparable groups. This is not for continuous pain scores, event rates, paired observations, clusters or survival estimates. Enter the analyzed denominator, not an assumed starting sample size.
- The risk-difference interval uses a simple normal approximation, shown only with at least five events and five non-events in each group. That screen does not guarantee coverage; use the study's reported analysis and an appropriate statistical method for decisions. No NNT confidence interval is inferred from a point estimate.
- A relative risk and an NNT depend on baseline risk, outcome direction and follow-up. Neither establishes certainty of evidence, clinical importance, causality or a treatment recommendation.
Use the correct data and direction
For each group, event risk is participants with the event divided by analyzed participants. Risk difference here is intervention risk minus control risk. Relative risk divides intervention risk by control risk. A zero control risk makes that ratio undefined; the tool does not invent a continuity correction.
Whether fewer events are beneficial depends on what you counted. Avoiding an adverse event and achieving an improvement have opposite directions. The point-estimate number needed uses the absolute risk difference and rounds up. Label it with the actual outcome and follow-up rather than presenting one number as a property of a treatment.
Arithmetic does not establish evidence quality
The simple approximate interval for risk difference is withheld when either group has fewer than five events or five non-events. Even above that screen, normal-approximation coverage may be poor; read the study's reported analysis and assumptions. If the interval crosses zero, a finite point-estimate NNT does not establish that benefit is certain.
This calculator is not for continuous scores, paired data, clustered participants, recurrent events or survival outcomes. It does not reconstruct missing participants, correct bias, grade certainty or determine clinical importance. Study quality, applicability, competing outcomes and harms remain part of interpretation.
Worked example
Ten events among 100 intervention participants versus 20 among 100 control participants gives risks of 10% and 20%, a risk difference of −10 percentage points and a relative risk of 0.5. For an undesirable event, the point-estimate NNT for benefit is 10 at the entered follow-up. If that same event is desirable, the interpretation changes to NNH 10.