Sample Size Calculator

Works out how many specimens a sensitivity or specificity target needs.Enter the expected performance and the target lower bound. Open the accordion for a single calculation.

A tool for drafting a study plan. Its output is meant to be reviewed by the person responsible, who remains accountable for the sample size.

Regulatory basis

Driven by power. Secures the chance of clearing a target lower bound.

Conditions shared by every row

Coefficient applied

7.84

Sensitivity

Press a row to add that condition to the total below. The ↗ button does not select — it opens the single calculation.

One row per candidate condition, showing the minimum sample size, the collected size, and how many errors it tolerates. Press a row to count it towards the total.
Estimate %Target lower bound %Minimum nCollectedErrors toleratedRow actions

Copy two columns out of a spreadsheet and paste into a cell to fill several rows at once.

Specificity

Press a row to add that condition to the total below. The ↗ button does not select — it opens the single calculation.

One row per candidate condition, showing the minimum sample size, the collected size, and how many errors it tolerates. Press a row to count it towards the total.
Estimate %Target lower bound %Minimum nCollectedErrors toleratedRow actions

Copy two columns out of a spreadsheet and paste into a cell to fill several rows at once.

Total for the conditions chosen

💡 Choose one row in each table and the two are added together.

Source documents

Ministry of Food and Drug Safety, Guideline on Clinical Performance Studies of In Vitro Diagnostic Medical Devices

안내서-0640-03 (2020-11-26) · Checked 2026-07-29 · Program v1.0

The final judgement rests with the responsible reviewer.

How to use

  1. Choose the basis first. MFDS if your protocol states a target lower bound and the power to clear it; estimate precision if it fixes how wide the confidence interval may be instead.
  2. Enter the sensitivity or specificity you expect, with the conditions beside it. The number of specimens appears as you type.
  3. Add a dropout rate if some collected specimens will not be evaluable, and the count rises to cover it.
  4. Open the comparison table to see how the count moves as the expected value or the bound changes, and copy it into the protocol.

Worth knowing

  • The count is per measure. Sensitivity and specificity are sized separately, so a study reporting both needs enough positive specimens and enough negative ones — the larger of the two is not the answer for both.
  • This is a planning figure, not an approval. It reports what the conditions you entered imply; choosing them, and reviewing the result, stay with you.
  • Rounding is always upward. Half a specimen cannot be collected, so the count is the next whole number.
  • Everything the count depends on is shown beside it. When a number looks wrong, compare those conditions first — the confidence level and the test direction move it more than most people expect.

FAQs

References

Where the sample size equations and the reference values come from.

  1. Ministry of Food and Drug Safety (MFDS, Korea). 체외진단의료기기 임상적 성능시험 가이드라인(민원인 안내서) [Guideline on clinical performance studies of in vitro diagnostic medical devices], 안내서-0640-03 (2020-11-26), Ch. IV §2 and Ch. V §2.The equation of the power-based (MFDS) track, and the reproduction of its worked example (estimate 0.80, lower bound 0.70, power 90 % → 168)
  2. Clopper CJ, Pearson ES. (1934) The use of confidence or fiducial limits illustrated in the case of the binomial. Biometrika 26(4):404–413.doi:10.1093/biomet/26.4.404The definition of the exact (Clopper–Pearson) lower bound used for the error allowance, as a beta quantile. The values were checked against 199 reference points computed in arbitrary precision (mpmath, 60 digits)

The precision track cites no particular standard; it applies the general principle of fixing the half-width of a single proportion's confidence interval. CLSI EP12 (3rd ed.) is not cited because the document could not be obtained, and EP24-A2 is out of scope (continuous measurands only).

Often used together