Relative Risk Calculator

Compare the risk in an exposed group with an unexposed one.

πŸ”’ Runs in your browser⚑ Instant resultsπŸ†“ Free, no sign-up

How to use the Relative Risk Calculator

  1. Fill in Events in exposed group, Size of exposed group, Events in unexposed group and Size of unexposed group. Sensible sample values are already there, so you will see a result immediately.
  2. The answer updates as you type. Nothing to submit.
  3. Compare a couple of scenarios by changing one number at a time. It is the quickest way to see what really matters.

What is it good for?

Compare the risk in an exposed group with an unexposed one. The formula is the standard one, so you can double-check the answer against a bank, a textbook or a spreadsheet.

A calculator is only as good as its inputs, so it helps to try a few different values and see how much each one changes the result. People most often reach for it when preparing for a statistics exam, checking a project for school or college and sizing a sample for a study.

See it in action

With the sample values already filled in, this is what the calculator shows. Change any number and the answer updates straight away.

InputsEvents in exposed group: 30 Size of exposed group: 200 Events in unexposed group: 15 Size of unexposed group: 220
ResultsRelative risk: 2.200 Absolute risk difference: 8.18%
Good to know. A relative risk of 1 means no difference. This is a maths tool, not medical advice.

What happens when you change the inputs?

The best way to understand a calculator is to move one number at a time. Starting from the sample values, where Relative risk comes to 2.200, here is how that first result responds:

ChangeRelative risk
Size of exposed group = 1004.400
Size of exposed group = 4001.100
Size of unexposed group = 1101.100
Size of unexposed group = 4404.400

Notice which input moves the answer the most. That is the one worth getting exactly right when you use real figures.

Mistakes to avoid

Watch for impossible inputs such as a negative length or a probability above 1. They produce results that look fine and mean nothing.

A calculator gives you the digits, not the meaning. After you get a result, ask whether the size of it makes sense, for example whether an area could really be that large.

Rounding too early spoils the final digits. Keep the full number until the last step and round only the answer.

Privacy

The numbers you type are used only to do the calculation, in your browser. Nothing is sent to us.

Frequently asked questions

Is Relative Risk Calculator free to use?

Yes, completely free. There is no sign-up, no watermark and no limit on how many times you use it.

Is my data safe when I use Relative Risk Calculator?

The numbers you type are used only for the calculation in your browser. Nothing is sent or stored.

How accurate is Relative Risk Calculator?

It uses the standard formula, so the arithmetic is exact. The real-world answer depends on whether your inputs match your real situation, so check anything important with a professional.

Any tips for using Relative Risk Calculator?

A relative risk of 1 means no difference. This is a maths tool, not medical advice.