ExampleMethodology & analyticsMedicine & healthcare

Example sample size calculation: peak expiratory flow rate in school children (annotated)

An annotated model sample size section for a cross-sectional study of peak expiratory flow in children aged 8 to 13, corrected from a proportion formula to the formula for a mean. It helps PhD and MD scholars state inputs, show the arithmetic and allow for clustering and non-response.

What you will learn

  • Match the sample size formula to the objective and outcome type
  • State every input with its source or as an assumption
  • Calculate the sample size for estimating a mean with given precision
  • Adjust for clustering with a design effect and inflate for non-response
  • Show how the result depends on the assumed standard deviation

What you will unlearn

  • Any sample size formula will do if the number is large.The formula must match the outcome: a mean needs a standard deviation, a proportion needs P.
  • Allowing for non-response means reducing the sample.Non-response increases the number you must invite.
  • Children sampled through schools count as a simple random sample.Clustering reduces the information per child, so a design effect is needed.
  • Planning values can be left unstated.Every input must be stated so examiners can reproduce the number.

Skills you will practise

  • Sample size for a mean
  • Precision planning
  • Design effect
  • Non-response adjustment
  • Sensitivity analysis

About this example

This page is the sample size section of an example research protocol for a cross-sectional study that will measure peak expiratory flow rate (PEFR) in healthy school children aged 8 to 13 years in Puducherry (Pondicherry), India. PEFR is the highest flow of air a person can produce in a forced breath out, measured in litres per minute (L/min) with a peak flow meter. The page shows how to choose the right formula, state every input, do the arithmetic and adjust for non-response and for sampling children through schools.

It is an illustrative teaching example, not a real student's work, and the standard deviation and clustering values are stated assumptions for teaching. Do not submit any part of it as your own work; your university's academic integrity rules apply.

The example: objective and the formula error

3.4.1 Objective that drives the calculation

The primary objective is to estimate the mean PEFR of healthy children aged 8 to 13 years attending schools in Puducherry, with a 95% confidence interval narrow enough to be useful for comparison with published reference values. Because the objective is to estimate a mean with a given precision, the sample size is chosen so that the 95% confidence interval will have a stated half-width, not to achieve power for a hypothesis test (Lakens, 2022; Hulley et al., 2013).

3.4.2 Why the earlier formula was wrong

This formula estimates a proportion, such as the percentage of children with asthma symptoms. PEFR is not a proportion: it is a continuous measurement in L/min. The value of P was never stated; working backwards, the reported 683 corresponds to P = 0.2 (1.962 × 0.2 × 0.8 / 0.032 = 682.9). The number therefore answers a question the study does not ask.

The example: the calculation

3.4.3 Formula and inputs

For estimating a mean with a 95% confidence interval of half-width d, the required number of children is n = Z2 SD2 / d2, where SD is the expected standard deviation of PEFR in the population (Hulley et al., 2013). Note that the formula uses the standard deviation of individual measurements, not the standard error of the mean (Altman & Bland, 2005).

Table 3.4. Inputs to the sample size calculation (SD, ICC and non-response are stated assumptions for this teaching example).
InputValueSource or assumption
Confidence level95% (Z = 1.96)Conventional choice for an estimate
Expected SD of PEFR70 L/minStated assumption for teaching; replace with the SD from a pilot of about 30 children or from a verified local reference study
Half-width of the 95% CI (d)10 L/minJudged precise enough to compare with reference values; agreed with the clinical supervisor
Children measured per school (m)30Planned from school class sizes
Intraclass correlation (ICC) between children in the same school0.02Stated assumption; children in one school share environment and measurement sessions
Expected non-response10%Stated assumption; absence, refusal or unusable readings

3.4.4 Step-by-step arithmetic

  1. Simple random sample: n = 1.962 × 702 / 102 = 3.8416 × 4,900 / 100 = 188.2, rounded up to 189 children.
  2. Design effect for sampling through schools: DEFF = 1 + (m − 1) × ICC = 1 + 29 × 0.02 = 1.58. Children needed: 189 × 1.58 = 298.6, rounded up to 299.
  3. Non-response: because about 10% of invited children are not expected to provide a usable measurement, the number invited must be larger: 299 / (1 − 0.10) = 332.2, rounded up to 333.
  4. Practical plan: measure 30 children in each of 10 schools (300 children, at least 299), inviting about 34 children per school (340 in total, at least 333).

In the protocol, the calculation is summarised in one sentence that a reader can check: "Assuming a standard deviation of 70 L/min, 189 children are needed to estimate mean PEFR with a 95% confidence interval of plus or minus 10 L/min; allowing a design effect of 1.58 for sampling 30 children in each school (ICC 0.02) and 10% non-response, at least 333 children (about 34 per school) will be invited from 10 schools."

The example: sensitivity and subgroups

3.4.5 How the answer depends on the assumptions

Table 3.5. Sample size for a 95% CI half-width of 10 L/min under different assumed SDs (illustrative planning values; arithmetic as in 3.4.4).
Assumed SD (L/min)Simple random sampleAfter design effect (1.58)To invite (10% non-response)
60139220245
70 (planning value)189299333
80246389433

The required number rises with the square of the SD, so a poor guess of the SD matters more than any other input. With an SD of 70 L/min, halving the precision required (d = 15 L/min) would need only 84 children before adjustment, while d = 7 L/min would need 385. For this reason the SD will be checked in the first two schools and the plan revised before the remaining schools are visited.

PEFR depends strongly on height, age and sex. If the study also aims to report means separately for boys and girls, the calculation applies to each group, roughly doubling the total. If the aim is to derive reference equations from height and age, the planning question becomes how precisely the regression can predict PEFR across the range of heights, which needs children spread evenly across that range and is a separate calculation.

The example: ethics and reporting

3.4.6 Ethics, response and reporting

The participants are children, so the protocol will obtain written informed consent from a parent or guardian and assent from each child, in a language they understand, after approval by an institutional ethics committee, in line with national guidance on research with children (Indian Council of Medical Research, 2017). Children with current respiratory symptoms or known respiratory disease will be excluded, and any child with an unexpectedly low reading will be referred to the school health service. Reminders to parents and simple, well-explained consent materials are among the methods shown to improve response (Edwards et al., 2023). The final report will state the planned and achieved sample sizes, the number of schools, the reasons for non-participation and the observed SD and ICC, following STROBE for cross-sectional studies (von Elm et al., 2007), and will present the mean PEFR with its 95% confidence interval rather than a p-value (Greenland et al., 2016), rounded sensibly (to the nearest L/min) (Cole, 2015).

How to adapt this to your own study

  1. Write down your primary objective and the type of outcome: a mean, a proportion, a difference or an association.
  2. Choose the formula that matches that outcome and objective (precision or power).
  3. List every input with its value and source, and label assumptions as assumptions.
  4. Show the arithmetic, round up at each step, and check it with software.
  5. Adjust for clustering if you sample through schools, clinics or villages, and inflate for non-response.
  6. Add a sensitivity table for the inputs you are least sure about.

Common mistakes in sample size sections

  • Using a proportion formula for a continuous measurement, or the reverse.
  • Leaving inputs such as P or SD unstated, so nobody can check the result.
  • Reducing, rather than increasing, the sample to allow for non-response.
  • Ignoring clustering when participants are recruited through schools or clinics.
  • Planning for an overall mean and then reporting many subgroup estimates.
  • Claiming a sample is "satisfactory" without saying for what purpose.
How this sample size section meets common examiner expectations.
What examiners look forWhere this example does itCheck in your own draft
A formula that fits the objective and outcome3.4.1 and 3.4.3Does your formula match your outcome type?
Every input stated and sourcedTable 3.4Could a reader reproduce your number?
Transparent arithmetic3.4.4Have you shown each step and rounded up?
Allowance for design and non-response3.4.4Have you used a design effect and inflated for non-response?
Sensitivity to assumptionsTable 3.5Do you show how the result changes?
Ethics for the population studied3.4.6Are consent and assent arrangements specific?

Key takeaways

  • Start from the objective: estimating a mean calls for a precision-based calculation (Lakens, 2022).
  • Use n = Z2 SD2 / d2 for a mean, with SD from a pilot or a verified study (Hulley et al., 2013).
  • Multiply by the design effect for clustered sampling and divide by the expected response rate.
  • Show a sensitivity table, because the result depends on the square of the SD.
  • Report planned and achieved samples and the observed SD and ICC (von Elm et al., 2007).
Your next step

Want to apply this to your own study?

  1. 1Tell us your topic, data and deadline
  2. 2A subject mentor reviews your work with you
  3. 3You get a plan and a quote
Research proposal

References

  1. Altman, D. G., & Bland, J. M. (2005). Standard deviations and standard errors. BMJ, 331(7521), 903. https://doi.org/10.1136/bmj.331.7521.903
  2. Cole, T. J. (2015). Too many digits: The presentation of numerical data. Archives of Disease in Childhood, 100(7), 608–609. https://doi.org/10.1136/archdischild-2014-307149
  3. Edwards, P. J., Roberts, I., Clarke, M. J., DiGuiseppi, C., Woolf, B., & Perkins, C. (2023). Methods to increase response to postal and electronic questionnaires. Cochrane Database of Systematic Reviews, 2023(11), MR000008. https://doi.org/10.1002/14651858.MR000008.pub5
  4. Greenland, S., Senn, S. J., Rothman, K. J., Carlin, J. B., Poole, C., Goodman, S. N., & Altman, D. G. (2016). Statistical tests, P values, confidence intervals, and power: A guide to misinterpretations. European Journal of Epidemiology, 31(4), 337–350. https://doi.org/10.1007/s10654-016-0149-3
  5. Hulley, S. B., Cummings, S. R., Browner, W. S., Grady, D. G., & Newman, T. B. (2013). Designing clinical research (4th ed.). Wolters Kluwer Health/Lippincott Williams & Wilkins. https://search.worldcat.org/title/830019201
  6. Indian Council of Medical Research. (2017). National ethical guidelines for biomedical and health research involving human participants. ICMR. https://ethics.ncdirindia.org/asset/pdf/ICMR_National_Ethical_Guidelines.pdf
  7. Lakens, D. (2022). Sample size justification. Collabra: Psychology, 8(1), 33267. https://doi.org/10.1525/collabra.33267
  8. von Elm, E., Altman, D. G., Egger, M., Pocock, S. J., Gøtzsche, P. C., & Vandenbroucke, J. P. (2007). The Strengthening the Reporting of Observational Studies in Epidemiology (STROBE) statement: Guidelines for reporting observational studies. The Lancet, 370(9596), 1453–1457. https://doi.org/10.1016/S0140-6736(07)61602-X

How to cite this article

Choose your referencing style, then copy. Check your university's or journal's guide for local variations.

PhD Research Lab Academy. (2025, July 28). Example sample size calculation: peak expiratory flow rate in school children (annotated). PhD Research Lab. https://www.phdassistance.com/sample-work/sample-size-calculation-for-pefr/

PhD Research Lab Academy. “Example Sample Size Calculation: Peak Expiratory Flow Rate in School Children (annotated).” PhD Research Lab, 28 July 2025, www.phdassistance.com/sample-work/sample-size-calculation-for-pefr. Accessed [access date].

PhD Research Lab Academy (2025) Example sample size calculation: peak expiratory flow rate in school children (annotated). PhD Research Lab. Available at: https://www.phdassistance.com/sample-work/sample-size-calculation-for-pefr/ (Accessed: [access date]).

PhD Research Lab Academy. “Example Sample Size Calculation: Peak Expiratory Flow Rate in School Children (annotated).” PhD Research Lab. July 28, 2025. https://www.phdassistance.com/sample-work/sample-size-calculation-for-pefr.

PhD Research Lab Academy, ‘Example Sample Size Calculation: Peak Expiratory Flow Rate in School Children (annotated)’ (PhD Research Lab, 28 July 2025) <https://www.phdassistance.com/sample-work/sample-size-calculation-for-pefr> accessed [access date].

PhD Research Lab Academy. Example sample size calculation: peak expiratory flow rate in school children (annotated) [Internet]. PhD Research Lab; 2025 Jul 28 [cited [access date]]. Available from: https://www.phdassistance.com/sample-work/sample-size-calculation-for-pefr/

PhD Research Lab Academy, “Example sample size calculation: peak expiratory flow rate in school children (annotated),” PhD Research Lab, July 28, 2025. [Online]. Available: https://www.phdassistance.com/sample-work/sample-size-calculation-for-pefr. [Accessed: [access date]].

@online{sample_size_calculation_for_pefr_2025,
  author = {{PhD Research Lab Academy}},
  title = {{Example sample size calculation: peak expiratory flow rate in school children (annotated)}},
  organization = {PhD Research Lab},
  date = {2025-07-28},
  url = {https://www.phdassistance.com/sample-work/sample-size-calculation-for-pefr},
  urldate = {[access date]}
}

This article is for learning. Use it to understand the method and cite the original sources above in your own work; do not copy or submit it as your own.

Example sample size calculationNeed help applying it to your study?
Research proposal