Chi-Squared sample size calculator for clinical trials

Chi-Squared sample size calculator for clinical trials

You can use the Chi-Squared test to analyse your trial data or A/B test data if you have two groups with a dichotomous outcome. For example, you have two arms in your trial: the placebo and the intervention arm, and your endpoint is either yes or no, such as “did the subject experience an adverse event during the trial”.

The calculator below will calculate the minimum sample size for you. Your expected effect size w is the standardised effect size according to Cohen’s definition. You can estimate your expected effect size from the literature. An effect size is considered small if w = 0.10, medium if w = 0.30 and large if w = 0.50.[1]

You may also be interested in our Bayesian A/B test calculator.

Chi-Squared Sample Size Calculator by Fast Data Science
Show Advanced Options

References

  1. Abdul Rahman, Hanif, et al. Practical guide to calculate sample size for chi-square test in biomedical research. BMC Medical Research Methodology 25.1 (2025): 144.
Previous
T-test sample size calculator for clinical trials
Next
Creating a per-subject budget from the charge master

Microtools for clinical trial data: drug lookup, NCT IDs, and redaction

Microtools for clinical trial data: drug lookup, NCT IDs, and redaction

Clinical trial teams lose hours on small lookups: the generic name behind a brand, the registry record for an NCT ID, the structure of a compound mentioned in a paper, and a last check before a protocol page is shared. Fast Data Science has built four microtools that do those jobs inside Google Sheets and Chrome. They sit alongside the Clinical Trial Risk Tool. The Risk Tool reads a full protocol.

Clinical Trial Risk Tool data dictionary

Clinical Trial Risk Tool data dictionary

The Clinical Trial Risk Tool estimates top down cost and itemised site budgets using proprietary cost datasets of trial costs and procedure costs. These costs are assembled from publically available data. You can click below to view our data dictionary. Clinical Trial Risk Tool Trial cost data You can download the data dictionary used for cost estimation in the Clinical Trial Risk Tool Download data dictionary

Clinical Trial Data Lookup Google Sheets™ plugin

Clinical Trial Data Lookup Google Sheets™ plugin

Clinical Trial Data Lookup Google Sheets™ plugin Do you need to look up clinical trial data from the NCT ID? Fast Data Science has developed a Google Sheets™ add-on (plugin) which finds clinical trials data. The plugin uses the clinicaltrials.gov API. Clinical Trial Data Google Sheets™ Plugin Install plugin Install the free Google Sheets™ plugin for looking up clinical trial data Install Plugin The user will provide a number of NCT IDs in column A (or whichever one they choose) in the Google Sheet™, and the tool will look up those NCT IDs and retrieve information on those trials and populate that information into columns.