Study type · Cluster randomized trialsUpdated October 11, 2026

Cluster randomized trial data capture by clinic, school or community

In a cluster trial the unit that is randomized is a group, and the people inside it are measured. Capture records participants under their site, keeps site-level numbering, and filters and exports by site so your statistician can analyze clusters properly. Design the trial first with the cluster sample size calculator, then build it free in the sandbox.

  • Site-level participant numbering
  • By-site filtering and exports
  • Cluster sample size calculator

Free sandbox · No credit card · 21 CFR Part 11 aligned

Cluster trial set-up (demo study, 12 clinics)

Clusters

12

Participants enrolled

318

Target per cluster

30

  • Clinic 001 · intervention31 enrolled
  • Clinic 002 · control29 enrolled
  • Clinic 003 · intervention17 of 30
  • Clinic 004 · control12 of 30
  • Clinic 005 · interventionNo enrolment in 6 weeks
Demo data. Allocation here was drawn up outside Capture and recorded per site.

What a cluster randomized trial needs from its data capture

  • Every participant tied to a cluster: the site or cluster ID is part of every record and every export, because the analysis has to account for clustering.
  • Clean cluster-level fields: cluster size, setting and the allocation of the cluster, recorded once and traceable.
  • Enrolment you can monitor by cluster: uneven recruitment within clusters changes precision, so progress per site should be visible.
  • Identification and recruitment procedures documented: in many cluster trials participants are recruited after the cluster is allocated, which makes recruitment bias a design concern.
  • Sample size done at the cluster level: the design effect depends on cluster size and the intracluster correlation, and the trial needs more participants than an individually randomized one.

The study design

Why cluster trials need different data capture and different planning

In a cluster randomized trial the unit of randomization is a group (a clinic, a school, a ward, a village) rather than an individual, and outcomes are usually measured on the individuals within. Researchers choose this design when the intervention is delivered at the group level, when contamination between individuals in the same setting would be a problem, or when the intervention is a service change. Because people within a cluster tend to be more alike than people in different clusters, the effective sample size is smaller than the head count. The usual way of expressing this is the intracluster correlation coefficient and the design effect, which is commonly given as 1 plus (average cluster size minus 1) times the ICC.

The CONSORT extension for cluster trials reflects this. It asks authors to say what the unit of randomization was, whether allocation concealment applied at the cluster or individual level, the cluster sizes and an ICC for each primary outcome, and whether results are reported at the individual or cluster level. Several of those items depend on data being captured consistently: the cluster identifier on every record, the number of eligible and enrolled people per cluster, and which participants were recruited before and which after the cluster knew its allocation. Capturing this when it happens is much easier than reconstructing it for a flow diagram.

What Capture contributes to this design is the multi-site machinery. Participants are enrolled under a site, via QR-code enrollment (site-specific or study-specific, with no app install) or by a site coordinator in the separate portal, and receive site-level numbering such as 001-0042. Data can be filtered by site and exported by site. If your clusters are clinics, schools or villages, a cluster can be modelled as a site. Capture does not offer cluster-level allocation or ICC estimation tools; allocate clusters according to your statistician’s plan, record the arm for each cluster in the study documents or on a form, and run cluster-aware analysis in your statistics software on the export.

Designing the trial

Start with the sample size: clusters, not just participants

The first practical question is how many clusters you need and how many participants per cluster. Adding participants within a cluster gives diminishing returns when the ICC is not tiny, so adding clusters is usually more valuable than enlarging existing ones. Published ICCs for your outcome in a similar setting are a better input than guesses, though they are often imprecise and few trials report them, so plan sensitivity analyses around the value you choose.

The tool below is the live cluster sample size calculator. Enter an effect size, power, the average cluster size and an ICC and compare the result with an individually randomized design. It is a first estimate to bring to your statistician, not a replacement for one. The dedicated cluster randomized sample size calculator page has more explanation, and the dropout-adjusted sample size calculator helps if you expect loss within clusters.

Try it

Cluster trial sample size

Compare the participants needed under cluster randomization with an individually randomized trial, using your cluster size and ICC.

Primary outcome
%
%
You know
%
Few-clusters t correction
Clusters per arm
30
Total clusters
60
Participants
1,200
analysed, both arms

Enrol about 23 per cluster to allow for 10% dropout, or 1,380 in total.

Design effect 1.95. The same trial randomised by individual needs 294 per arm (588 in total), so clustering multiplies the participants by about 2.04.

DE = 1 + ((0.00² + 1) × 20 − 1) × 0.05 = 1.950; k = n_ind × DE / m = 293.2 × 1.950 / 20

Adding participants to each cluster has diminishing returns: with this ICC the clusters per arm can never fall below 14.7.

Planning aid and reference only, not validated software. Two arms, equal numbers of clusters, a continuous or binary outcome analysed at cluster level or with a method that accounts for clustering. The design effect is 1 + {(CV² + 1) m − 1} ρ (Eldridge, Ashby and Kerry 2006; CV 0 gives Donner and Klar's 1 + (m − 1) ρ). The t correction uses 2(k − 1) degrees of freedom, exact in form for means and an approximation for proportions. Dropout inflates cluster size only; losing whole clusters is not modelled. Take the ICC from a similar trial with the same outcome and setting, and have a statistician confirm the final number.

Protocol to build

Cluster trial needs and where they live in Capture

NeedWhat the data looks likeWhere it lives in Capture
Cluster identityCluster or site ID on every recordSite assignment and site-level participant numbering
Cluster allocationIntervention or control, per clusterDecided in your statistician’s plan; record in study documents or on a form. Capture does not allocate clusters
Recruitment within clustersEligible, approached, enrolled, declined, reasonsScreening form and QR enrollment; screening log template
Individual outcomesClinical measures, questionnaires, eventsSite eCRF forms and ePRO tasks
Progress by clusterEnrolment and follow-up per siteBy-site filtering and the compliance view
Data cleaningOut-of-range values, missing visitsEdit checks with auto-queries; query management
Analysis datasetOne wide file with cluster IDCSV and Excel exports by site, with data dictionary

Capture does not provide cluster-level allocation, ICC estimation or cluster-adjusted analysis. Those belong in your design and analysis plan.

Build a 12-site demo and look at the by-site view

Create a study with several sites in the free sandbox, enrol practice participants under each and try the by-site export. No credit card.

Build your cluster trial free

Running the trial

Consent, recruitment bias and monitoring across clusters

Consent in cluster trials is its own question: sometimes participants consent to data collection while the intervention is delivered at the cluster level, sometimes a gatekeeper agrees on behalf of the group first. Follow your ethics committee’s ruling and record whatever applies. eConsent supports on-screen signatures verified through an email one-time code, with staff countersignature and optional witness or legally authorized representative signatures; see eConsent for multi-site trials for the multi-site pattern. If a cluster consents at the group level, keep that decision as a documented field or in the study documents.

Recruitment bias is a known weakness when people are recruited after clusters know their arm. Capture the sequence: the date the cluster was allocated, the date each participant was approached, enrolled and measured, so that an analysis can compare early and late recruits. Use the screening forms to record how each participant was identified, and edit checks to flag enrolment dates before the allocation date where your protocol forbids them.

Pragmatic cluster designs often run inside routine services. See pragmatic clinical trial software and the pragmatic trial glossary entry for the design vocabulary, EDC for independent trial sites for a clinic-led model and multi-site clinical trial management for operations. For export to your statistician, export EDC data to R, SAS and SPSS is the practical guide.

Before first participant

Cluster trial readiness checklist

Unit of randomization fixed

Clinic, school, ward or community, with a definition of what counts as a cluster.

Allocation method documented

Who allocates clusters, when, and how it is concealed.

ICC and cluster size assumptions

Source and sensitivity range for the sample size calculation.

Recruitment timing rule

When participants are identified relative to allocation, recorded in the data.

Consent level

Cluster-level, individual or both, as approved by ethics.

Export tested

A file with cluster ID opened in your statistics software.

FAQ

Questions teams ask before they switch

Something not covered here? Ask us directly.

Does Capture randomize clusters?

Capture includes randomization at the platform level, but this page does not claim cluster-level allocation. Allocate clusters according to your statistician’s plan and record the arm per site in your study records.

Does Capture calculate the ICC?

No. The cluster sample size calculator lets you enter an assumed ICC for planning. Estimating an ICC from trial data belongs in your statistical analysis.

Can we export data by cluster?

Yes. Participants are enrolled under a site, numbered at site level, and exports can be filtered by site or date range with an automatic data dictionary.

Can we enroll participants without an app?

Yes. QR-code enrollment (site-specific or study-specific) and phone-browser questionnaires need no app install.

Is the free sandbox enough to try a multi-site design?

Yes. The sandbox includes every feature with no credit card and no time limit. You pay only when you go live; see the pricing page.

Start building your study free

Free sandbox with every feature. No credit card, and you pay only when you go live with real participants.

Build your cluster trial free