Designed by a physician–epidemiologist for real-world field surveys.
Estimate sample size for cross-sectional studies including community surveys and hospital-based research (SRHR, MNCH, community-based studies)
🔒 This calculator runs entirely in your own browser, on your own device. The numbers you enter never leave your device, and nothing is stored.
To estimate a proportion (for example, the percentage of mothers who exclusively breastfeed) with a chosen precision, the base sample size for simple random sampling is:
n = Z² × p(1 − p) ÷ e²
where Z depends on the confidence level (1.645 for 90%, 1.96 for 95%, 2.576 for 99%), p is the expected proportion, and e is the margin of error. The calculator then:
With an expected proportion of 50%, a 5% margin of error and 95% confidence: n = 1.96² × 0.5 × 0.5 ÷ 0.05² = 384.2, rounded up to 385. With a design effect of 1.5 this becomes 577; allowing for 10% non-response gives 641 completed interviews; and at 40% eligibility about 1,601 people would need to be screened. Using 50% gives the largest, most conservative sample when the true proportion is unknown.
It covers a single proportion. Studies that compare groups (case-control, cohort or trial designs) need a power-based calculation instead, and the design effect for cluster sampling should come from published data or a pilot rather than a guess.
Prefer the simpler original version? Open Calculator V1
Need help with survey design or sampling strategy?
Services include survey design, sampling planning, data analysis, and dashboards.
For project or consulting inquiries, please mention in your message.
Contact: abdulwajid.healthdata@gmail.com