PhD sample size calculation and power analysis mentoring

PhD Sample Size Calculation

Mentoring to calculate, justify and report a defensible sample size for your study.

If your study had only a 25% chance of detecting the effect you care about, would you still run it? A power analysis answers that question before you collect data: your mentor, a statistician, works with you to set the significance level, power, effect size and variability, calculate the minimum sample size and write the justification your committee expects.

Why it matters

Why sample size calculation matters

Sample size determination is a core part of research design. Whether you are running a clinical trial, a survey, an experiment or an observational study, the number of participants or units you study shapes the precision of your estimates, the power of your tests and how far your findings can be generalised. Probability and non-probability designs alike need a reasoned, documented sample size.

Your mentor examines your study design, objectives and planned analysis, together with practical limits on budget, time and access to participants, so the sample size you choose is statistically sound, feasible and in line with accepted practice in your field.

Even so, sample size is one of the most often under-developed parts of PhD proposals and dissertations. Scholars commonly report that terms such as effect size, power and margin of error are unfamiliar; that an unsettled research question makes it hard to define the population and choose the right calculation; that assumed values for variability, confidence level or effect size are guesses; that tools such as G*Power, R, SPSS and Stata are confusing; that universities and journals expect different levels of rigour; that funding, time and access to participants limit what is possible; and that, even with correct numbers, writing the justification for a methodology chapter or proposal defence is hard.

  1. 01

    Adequate power

    An underpowered study is likely to miss real effects and produce inconclusive results; an oversized one spends time, money and participants it did not need.

  2. 02

    Controlled error rates

    Planning the sample size alongside the significance level and power keeps the risks of Type I (false positive) and Type II (false negative) errors at the levels you set.

  3. 03

    Precise estimates

    For descriptive and prevalence studies, the sample size sets the margin of error and the width of your confidence intervals.

  4. 04

    Generalisability

    A well-chosen sample, drawn with a suitable sampling method, lets you generalise findings to the target population.

  5. 05

    Ethical research

    Recruiting no more and no fewer participants than the question needs avoids exposing people to research that cannot answer it, or to unnecessary data collection.

  6. 06

    Approvals

    Many universities, ethics committees, funders and journals require a sample size justification, and reporting guidelines such as CONSORT ask for it in trials.

Our approach

What goes into your sample size

There is no single formula for sample size. The right method depends on your objective, your design and the analysis you plan. Your mentor works through each of these inputs with you and records where every assumed value comes from.

01

Your objective: estimation or hypothesis testing

If you want to estimate a value, such as a prevalence or a mean, the sample size is set by the precision you need: the confidence level and margin of error. If you want to test a hypothesis, such as a difference between groups or a regression effect, it is set by the significance level, the power and the smallest effect worth detecting.

02

Significance level (alpha)

Alpha is the probability of a Type I error: rejecting a null hypothesis that is in fact true (a false positive). It is usually set at 0.05, or lower where many tests are run or the consequences of a false positive are serious.

03

Power (1 minus beta)

Beta is the probability of a Type II error: failing to reject a null hypothesis that is false (a false negative). Power, 1 minus beta, is the probability of detecting an effect of the assumed size if it exists; 80% or 90% is common.

04

Effect size

The size of the difference or relationship you want to be able to detect, in raw units or as a standardised measure such as Cohen's d, f or f-squared, an odds ratio or a correlation. It should come from previous studies, a pilot study or the smallest difference that is practically or clinically important. Generic "small, medium, large" benchmarks are a last resort and should be justified.

05

Variability

The more heterogeneous the population, the larger the sample you need. For means, this is the expected standard deviation; for proportions, the expected proportion, where p = 0.5 gives the largest, most conservative sample.

06

Confidence level and margin of error

For estimation studies, the confidence level (often 95%) and the margin of error you will accept (for example plus or minus 5 percentage points) set the precision of your estimate.

07

Population size

For large populations, population size has little effect on the required sample. When the sample would be a sizeable fraction of a small, finite population, a finite population correction reduces the number needed.

08

Clustering and the design effect

When participants are sampled or randomised in groups, such as schools, hospitals or regions, people in the same cluster tend to be alike. The sample size from a simple formula is multiplied by the design effect, 1 + (m - 1) × ICC, where m is the average cluster size and ICC the intra-cluster correlation coefficient.

09

Dropout and non-response

The calculated number is the number you need to analyse. To allow for an expected attrition or non-response rate, divide it by (1 - the expected rate): with 20% expected dropout, recruit n / 0.8.

10

Types of power analysis

An a priori power analysis, done before data collection, gives the sample size needed. A sensitivity analysis gives the smallest effect your fixed or available sample can detect, which is useful when the sample size is constrained. Assurance, a Bayesian alternative, averages power over a prior distribution for the effect size. Post-hoc (observed) power calculated from your own results is generally discouraged, because it adds nothing beyond the p-value; report confidence intervals instead.

11

Tools and documentation

Calculations use established software such as G*Power, OpenEpi, R (for example the pwr package or simulation), SPSS and Stata, or simulation where no closed formula fits. Every assumption, its source and the software output are documented so your supervisor, ethics committee or reviewers can reproduce the result.

Calculations we support

Sample size calculations we support

We support quantitative and qualitative research across clinical, epidemiological, health, social science, education, business and engineering studies. These are the calculations most often needed.

  • 01

    Cochran's formula for a proportion

    For surveys and prevalence studies that estimate a proportion: n0 = z² × p(1 - p) / e², where z is the critical value for the confidence level (1.96 for 95%), p the expected proportion and e the margin of error. With 95% confidence, p = 0.5 and e = 0.05, this gives 384.16, rounded up to 385.

  • 02

    Finite population correction

    When the population is small and known, the Cochran estimate is adjusted: n = n0 / (1 + (n0 - 1) / N), where N is the population size. The correction matters only when the sample is a sizeable fraction of the population.

  • 03

    Estimating a mean

    To estimate a population mean (for example an average test score or measurement) to a given precision: n = (z × σ / e)², where σ is the expected standard deviation from earlier studies or a pilot, and e the margin of error in the units of measurement.

  • 04

    Comparing two proportions

    For comparing proportions between two groups, such as event rates in treatment and control groups, the sample size depends on the two expected proportions, the significance level and the power.

  • 05

    Comparing two means

    For comparing means between two groups, such as treatment and control, the sample size depends on the expected difference, the standard deviation (together, the standardised effect size), the significance level and the power. Paired designs and ANOVA with more groups use their own formulas.

  • 06

    Regression models

    For linear regression, sample size depends on the number of predictors, the expected effect (for example f-squared or the change in R-squared), alpha and power. For logistic and Cox regression, what matters is the number of events, not the total sample. The often-quoted rule of 10 events per variable is a rough guide only; more recent methods, such as those of Riley and colleagues for prediction models, base the sample size on the expected model performance and the outcome rate.

  • 07

    Factor analysis and structural equation models

    Rules of thumb for SEM and factor analysis, such as a minimum N or a ratio of cases to parameters, are widely quoted but unreliable: the sample needed depends on the model complexity, the strength of factor loadings, missing data and the estimator. Where your committee asks for a defensible figure, we use Monte Carlo simulation or RMSEA-based power analysis for your specific model.

  • 08

    Cluster sampling and cluster trials

    For studies that sample or randomise schools, hospitals or regions, we apply the design effect using an intra-cluster correlation from earlier studies, and help you balance the number of clusters against the number per cluster.

  • 09

    Time-to-event data

    For survival analysis in clinical trials and longitudinal health studies, the sample size is driven by the number of events needed, which depends on the hazard ratio to detect, alpha and power; the total sample then follows from the expected event rate, accrual and follow-up time.

  • 10

    Longitudinal and repeated-measures data

    When the same participants are measured several times, the sample size must account for the correlation between repeated measures and for dropout over time. Mixed-model designs are often best sized by simulation.

  • 11

    Categorical data

    Nominal data (categories with no order, such as yes/no) and ordinal data (ordered categories, such as Likert ratings) are sized for tests of proportions, chi-square tests or ordinal models, as your analysis requires.

  • 12

    Bayesian sample size

    Bayesian approaches choose the sample size from prior distributions for the unknown parameters, for example by targeting assurance or the expected width of the posterior credible interval. We explain when these methods suit your design and how to report them.

  • 13

    Qualitative studies

    Qualitative sample sizes are not calculated by formula. They are justified by the study aims, the depth of data per participant and the analytic approach, often through data or thematic saturation or the concept of information power. Your mentor helps you plan an initial sample, the criteria for stopping and how to report them.

Sample work

Sample work

Examples of sample size work from our sample library, showing how calculations are set out and justified.

What you get

What's included in sample size support

Here is what we need from you, what your sample size report covers, and what sits outside this service.

What we need from you

Send these with your request.

  • Your study title, aims and objectives
  • Your research design (for example cross-sectional, experimental, cohort or qualitative)
  • Your target population and how you plan to sample it
  • Your main outcome and the analysis you plan
  • Any earlier studies, pilot data or expected values (proportions, means, standard deviations, effect sizes)
  • Your supervisor's, ethics committee's or journal's requirements, if any

What's included

Part of every sample size calculation order.

  • An initial consultation on your objectives, methodology and design
  • Choice of the appropriate formula, model or simulation
  • The calculation in G*Power, OpenEpi, SPSS, Stata or R, with the output
  • An a priori power analysis where your study tests hypotheses
  • Assessment of precision, sampling error, population variability and confidence intervals
  • Adjustments for finite populations, clustering and expected dropout or non-response, where they apply
  • A written justification for your methodology chapter, ethics application or manuscript, supported by the literature and set in your university's referencing style

Not included

Available as add-ons or other services.

Also included with your order

Every sample size order comes with added support: referencing, documentation and guidance from a mentor in your research area.

Referencing

Assumptions are supported by traceable, peer-reviewed sources, cited in your required style, such as APA, MLA, Harvard, Chicago, Oxford or Vancouver, and managed with tools such as Mendeley, Zotero or EndNote.

Peer-reviewed sources

We draw assumed values from research indexed in databases such as Scopus, Web of Science, PubMed, IEEE Xplore, JSTOR and ProQuest, and from publisher platforms such as SpringerLink and ScienceDirect.

Subject experts

Your mentor is a statistician or research methodologist with experience in your discipline, from computer science, engineering and the life sciences to medicine and clinical research, management and finance, social sciences, law and the humanities.

Quality check

Before delivery, calculations are checked by a second statistician and the report is reviewed for language, structure and academic style.

Study materials

Where access and copyright allow, we share the journal articles and reports cited, so you can read and build on the sources yourself.

Find your starting point

Where are you with your sample size?

Research journeys are rarely straightforward, with hurdles, surprises, hard work, beginnings and endings. PhD Research Lab travels this journey with you, mentoring researchers worldwide.

“I've defined my topic and objectives, but I don't know how to estimate a suitable sample size.”
SofiaPhD scholar
How we help Sample size estimation and reporting

Your mentor works with you to set the parameters for your design, whether observational, experimental or survey: the confidence level and margin of error, or the significance level, power and expected effect size, plus population size where it matters. Together you calculate and report a sample size that fits your study.

Usually works best: Fixed price Talk to us
“My ethics committee wants a justification for the sample size I gave. They want more clarification on how I calculated it.”
MatteoPhD scholar
How we help Sample size justification for ethics review

We help you set out how you calculated your sample size, the assumptions and formula used and the earlier research behind them, so you can present it clearly to your ethics board, funders or academic reviewers.

Usually works best: Fixed price Talk to us
“I don't know if my calculation allowed for dropouts, or whether I should adjust the sample size so my study stays reliable and reproducible.”
ElenaPhD scholar
How we help Adjusting for dropout and non-response

We help you inflate the sample for expected dropout, non-response or loss to follow-up, using rates from comparable studies, and record the rationale so your final sample stays large enough for valid results.

Usually works best: Hourly mentoring Talk to us
“My supervisor has asked me to clarify the assumptions behind my sample size and the software I used.”
DanielPhD scholar
How we help Documenting assumptions and software output

We help you document every assumption, such as expected proportions, standard deviations and effect sizes, alongside the output from the software you used, such as G*Power, OpenEpi or Stata, ready for your thesis or journal article.

Usually works best: Hourly mentoring Talk to us

Scenarios are illustrative, based on requests we often receive from scholars.

Packages & pricing

Choose the support that fits your stage

We offer sample size support at different levels, depending on where you are in your research. Prices depend on your discipline, design and deadline, and every package starts with a free quote. An expedited service is available as an add-on.

Prices for

Prices in USD, PhD level shown. Master's is 15% lower; postdoc and faculty 15% higher. Your exact price is confirmed in a free quote.

Basic

For scholars with a simple design who need a calculation and a short justification.

From$79
Delivered in 2 to 3 working daysChoose Basic
  • Initial consultation on your objectives and design
  • Choice of formula or model
  • Sample size calculation with software output
  • Short written justification
  • Adjustments for clustering
  • Full power analysis report
Recommended

Standard

For PhD proposals, methodology chapters and ethics applications.

From$149
Delivered in 3 to 5 working daysChoose Standard
  • Simulation-based calculations
  • Sampling frame design

Premium

For complex designs, such as cluster, longitudinal, survival or SEM studies, and journal submissions.

From$279
Delivered in 5 to 7 working daysChoose Premium

    Add-ons

    Add any of these to a package, now or later. Your mentor stays the same.

    See full pricing →
    Our process

    How it works, from order to final report

    One single point of contact (SPOC) stays with you through every step, so you always know who to ask.

    1. 1Before we startSubmit your requirementsFill in the secure order form with your study title, aims and objectives, design, population of interest and expected results, then pay online so we can start right away.
    2. 2Day 1Confirmation and mentor matchYou receive an order confirmation, and we assign a biostatistician or research methodologist suited to your field and type of study.
    3. 3ThroughoutRegular updatesWe keep you informed of progress, and you can share new feedback from your supervisor or ethics guidance at any point, so we work with the latest requirements.
    4. 4While we workCalculation and justificationYour mentor calculates the sample size with the appropriate formulas and software (such as G*Power, OpenEpi, Stata or SPSS) and drafts the justification, setting out the method and every assumption.
    5. 5ReviewReview and revisionsWe review the draft with you and revise it in response to your supervisor's or reviewers' comments within the agreed scope.
    6. 6DeliveryFinal delivery and feedbackYou receive the final sample size report, with calculations and references, by email and through your client portal. We welcome your feedback.
    Our guarantee

    What we promise, we deliver

    PhD Research Lab frames every sample size calculation to your university's guidelines and, where relevant, your ethics committee's or target journal's reporting requirements. Our mentors have supported doctoral researchers at universities around the world, including the UK, the Netherlands, the USA, Australia, the UAE, Kenya, Nigeria, China and Russia, and they know the rules different institutions set.

    Scholars we have supported study in
    • UK
    • USA
    • Netherlands
    • Germany
    • Ireland
    • Australia
    • UAE
    • Saudi Arabia
    • Qatar
    • Kenya
    • Nigeria
    • Russia
    • and more
    • Original workEvery document is checked for plagiarism before delivery.
    • On-time deliveryDelivered by the date we agree when you order.
    • Subject matter expertiseA mentor with doctoral-level knowledge of your field.
    • Talk to your mentorMessage your mentor directly through your single point of contact.
    • Ongoing supportQuestions answered at every step, before and after delivery.
    • Current academic sourcesBuilt on recent, peer-reviewed literature.
    • Research articles supplied*Copies of key articles used for your topics.
    • ConfidentialityYour details and work are never shared.

    *Where access and copyright allow.

    Quality and compliance

    See how we keep every project on track

    We have supported PhD projects for scholars around the world, and every task follows the same checks. These are real screens from our workflow.

    Project brief checklist showing scope, university guidelines and deadline
    Step 1 · Project brief Requirements confirmed in writing You share your requirements, university guidelines and deadline, and your point of contact confirms the scope with you before work starts.
    Subject-matched mentor allocation for your project
    Step 2 · Mentor allocation A subject-matched mentor is assigned Your project is assigned to a mentor who knows your subject and method, and you are introduced before the work begins.
    Email thread between a scholar and our project coordinator
    Step 3 · Regular updates Communication through email Updates, questions and changes from your supervisor go through your single point of contact, so you always have a written record.
    Task record in our ERP system showing checklist items and quality-check status
    Step 4 · Quality check Quality check in our ERP system Every task is tracked in our project system, with checklists and a manager's quality check before the work moves on.
    Plagiarism report showing a 2% overall match
    Step 5 · Plagiarism check Plagiarism report Each document goes through a similarity check before delivery, so you can submit it with confidence.
    FAQs

    Frequently asked questions

    Ask a mentor
    Why is sample size calculation important?

    It tells you how many participants or units you need to answer your research question with adequate power or precision. Too small a sample risks missing real effects or giving imprecise estimates; too large a sample wastes money, time and participants' effort. Without a calculation, you cannot tell whether your planned sample is too large or too small.

    Do I use a t-test if my sample is under 30 and a z-test above 30?

    Not as a rule. The choice between a t-test and a z-test depends on whether the population standard deviation is known, not on a sample size cut-off; in practice the t-test is almost always used, and with larger samples the two give nearly identical results. Neither test is a power analysis: the power analysis tells you how many participants the test you plan will need.

    Does a smaller population need a bigger sample?

    No. Below a few thousand, a small population needs a smaller absolute sample, though a larger share of the population, thanks to the finite population correction. For large populations, population size has little effect: the margin of error, confidence level and variability matter far more.

    What do you consider when calculating my sample size?

    Your objective and design; the significance level (alpha) and power (1 minus beta); the effect size you need to detect; the variability in your outcome; the confidence level and margin of error for estimates; population size; clustering; expected dropout or non-response; and the external validity of your sample. Your mentor records the source of every value.

    Is a rule of thumb, such as 10 events per variable or 200 cases for SEM, enough?

    Rules of thumb are a useful sense check, but committees and reviewers increasingly expect a calculation based on your design. The 10 events per variable rule for logistic regression and minimum-N rules for SEM can be too lenient or too strict depending on the model, so we use them only alongside a proper power analysis or simulation.

    How is sample size decided for qualitative research?

    By justification rather than formula: the aims of the study, the depth of each interview or focus group, the analytic approach and, often, the point at which new data stop adding new themes (saturation). Your mentor helps you plan and report this.

    Do you cover all subject areas?

    We support sample size calculation across the sciences, management, humanities and arts, including psychology, computer science, business and management, sociology, statistics and data science, architecture and design, food science, engineering, medicine and health sciences, life sciences, languages and literature, economics and finance, pharmaceutical sciences, environmental studies, political science, sports science, theology and philosophy, media and communication, education, social work, law and criminology, tourism and hospitality, and anthropology. Contact us to ask about your area.

    Can I talk to my mentor?

    Yes. You can contact your mentor by email, chat or call, and our project coordinators can arrange a direct appointment.

    Do you charge extra for revisions?

    Revisions within the agreed scope of your package are included, so the report reflects your supervisor's and reviewers' feedback. Please read our terms and conditions when you place an order.

    How is pricing set?

    Prices depend on your design, discipline and deadline. Our project coordinators can tell you about current seasonal discounts and referral offers.

    Can I learn to do this myself?

    Yes. Your mentor explains each step as you go, and the PhD Research Lab Academy offers courses in research methodology and academic statistics. See the Academy.