Editverse Free Calculator
Prevalence Calculator
Enter your case count and population size to calculate point or period prevalence with a Wilson score 95% confidence interval (with continuity correction, as R prop.test) for a simple random sample. A full guide follows below.
In Simple Words
Prevalence measures how common a condition is in a population at a given point or period — it is simply the number of existing cases divided by the total population, regardless of when each case first began. Unlike a rate that tracks new events over time, prevalence is a snapshot: everyone who currently has the condition counts, whether diagnosed yesterday or ten years ago.
This calculator estimates the proportion of a population with a condition at a point or period from the case count and population size you enter, then reports a Wilson score 95% confidence interval with continuity correction, the interval R’s prop.test() gives, so the R snippet reproduces it exactly. It stays inside 0% to 100% and remains usable with few or zero cases. The interval assumes a simple random sample: it does not apply survey weights, clustering or stratification.
When to Use the Prevalence Calculator
Prevalence is the right tool when you want to describe how common a condition is right now, or over a defined period — for example, the proportion of survey respondents currently living with a condition, or the share of a clinic’s patients who have a given diagnosis on a specific date. It answers “how many people currently have this,” not “how fast are new cases appearing.”
Prevalence vs. incidence rate: prevalence reflects both how often a condition starts (incidence) and how long it lasts (duration) — it is not, by itself, a measure of the rate of new cases. A condition that is common but short-lived can have low prevalence despite high incidence, while a condition that is rare to develop but lifelong can have high prevalence despite low incidence. If you specifically need to measure how quickly new cases are occurring, use an incidence rate instead (see Related Calculators below).
Prevalence is also commonly confused with risk (cumulative incidence) in cross-sectional data. If you are comparing two groups’ proportions for a statistical difference — rather than simply estimating one group’s prevalence — you may want a Chi-Square Test, or check our Test Selector if you are unsure which comparison fits your data.
cases <- {cases}; pop <- {pop}
prop.test(cases, pop)User guide
When to use. Estimate the proportion of a population with a condition at a point or period.
Assumptions. Cases and population are measured over the same window.
Common mistakes. Prevalence reflects both incidence and duration, not the rate of new cases.
Worked example
Click Load example data above, then Run Analysis to see a fully worked result with figure, formula and interpretation for this test.
References
- Rothman KJ, Greenland S, Lash TL. Modern Epidemiology. 3rd ed. 2008.
Worked Examples
Example 1: Survey — Point Prevalence
A survey found 150 cases among a population of 2,000 people. Dividing cases by population gives 150 ÷ 2,000 = 0.075, or 7.5% point prevalence — the proportion of the surveyed population with the condition at the time of the survey.
Example 2: Same Data, Framed as a Ratio
The same result read the other way: 2,000 ÷ 150 ≈ 13.3, meaning roughly 1 in every 13 people surveyed had the condition. The calculator also returns a 95% confidence interval around the 7.5% estimate (6.4% to 8.8%), which is generally more informative to report alongside the point estimate than the proportion alone.
Assumptions to Check
Cases and population are measured over the same window. Both the numerator (cases) and denominator (population) must reflect the same point in time or the same defined period — mixing a case count from one date with a population figure from another biases the estimate.
Case ascertainment is complete and consistent. Every existing case in the population at that time should be counted, using a consistent case definition — inconsistent diagnostic criteria or incomplete case-finding will under- or overstate prevalence.
The denominator is the correct at-risk population. The population figure should represent everyone who could plausibly have the condition, excluding anyone structurally ineligible if that applies to your setting.
Point vs. period prevalence is clearly specified. Point prevalence captures cases at a single moment; period prevalence captures anyone who had the condition at any time during a defined interval. State which one you are reporting.
Common Mistakes
Treating Prevalence as a Rate of New Cases
Prevalence reflects both incidence and duration — it is not the rate of new cases. A high prevalence can result from many new cases, long case duration, or both, so prevalence alone cannot tell you whether a condition is becoming more common or simply lasting longer. Use an incidence rate if you specifically need to measure new-case frequency.
Mismatched Numerator and Denominator Timeframes
Using a case count from one year and a population estimate from a different year — or a different geographic boundary — produces a prevalence estimate that does not correspond to any real population at any real point in time.
Confusing Point and Period Prevalence
Point prevalence (cases at one moment) and period prevalence (cases at any time within a window) will differ, sometimes substantially, for the same condition. Reporting one without specifying which was measured makes the estimate impossible to compare against other studies.
Ignoring the Confidence Interval
A prevalence estimate from a sample carries sampling uncertainty, especially with a small population or few cases. Reporting only the point estimate (e.g., “7.5%”) without its confidence interval overstates the precision of the finding.
Frequently Asked Questions
What is the difference between point prevalence and period prevalence?
Point prevalence is the proportion of a population with a condition at a single moment in time. Period prevalence is the proportion who had the condition at any point during a defined interval (e.g., a year), and is always equal to or greater than the point prevalence for the same population because it also captures cases that resolved or began partway through the period.
Which confidence interval does the calculator use?
The Wilson score interval with continuity correction, the same interval R’s prop.test() reports, for a simple random sample. It does not adjust for survey weights, clustering or stratification, so complex-sample surveys need design-based software such as the R survey package. It stays valid with few cases, and with zero cases it runs from 0% to a positive upper limit (0 of 50 gives 0.0% to 8.9%). For 150 cases in 2,000 people it gives 6.4% to 8.8%; the exact Clopper-Pearson interval from binom.test() gives 6.4% to 8.7%.
How is prevalence different from risk?
Risk (cumulative incidence) is the proportion of an initially disease-free cohort that develops a condition over a defined follow-up period — it only counts new cases in people who started without the condition. Prevalence counts everyone with the condition at a point or period, regardless of when it began, in the full population.
Can prevalence be directly compared across two populations?
Only with caution. Differences in age structure, case ascertainment methods, or the time window measured can all create apparent differences in prevalence that do not reflect a true difference in disease burden. Age-standardization or matched methodology is often needed for a fair comparison.
Related Calculators
References
- Rothman KJ, Greenland S, Lash TL. Modern Epidemiology. 3rd ed. Philadelphia: Lippincott Williams & Wilkins; 2008.
- Szklo M, Nieto FJ. Epidemiology: Beyond the Basics. 4th ed. Burlington, MA: Jones & Bartlett Learning; 2019.
Need This Analysis Done for Your Manuscript?
Our PhD biostatisticians calculate point and period prevalence with exact confidence intervals for cross-sectional and survey data — publication-ready tables with reproducible R output.
