Free tool · ReportingUpdated October 6, 2026

CONSORT flow diagram generator for randomized trials

Enter how many people were assessed, excluded, randomized to each arm, lost to follow-up and analysed, and get a CONSORT-style participant flow diagram you can copy or print for a manuscript, report or protocol. It runs in your browser.

  • Two-arm parallel design
  • Checks the numbers add up
  • Copy or print

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

Participant flow (demo numbers)
  1. Assessed for eligibility

    n = 320

  2. Excluded

    n = 120: not meeting criteria 80, declined 30, other 10

  3. Randomized

    n = 200 (100 per arm)

  4. 4

    Lost to follow-up

    Arm A 12, Arm B 15

  5. 5

    Analysed

    Arm A 88, Arm B 85

Illustrative numbers. 320 - 120 = 200 randomized.

Free tool

Build your participant flow diagram

Enter your numbers, then copy or print the diagram. Everything is calculated in your browser and nothing is saved or sent. It is a drafting aid, not validated software.

Assessed for eligibility (n = 240)
Excluded (n = 60): not meeting criteria 40, declined 20
Randomised (n = 180)
Arm A
Allocated (n = 90)
Lost to follow-up (n = 8)
Discontinued (n = 3)
Analysed (n = 79)
Arm B
Allocated (n = 90)
Lost to follow-up (n = 11)
Discontinued (n = 2)
Analysed (n = 77)

Follows the CONSORT 2010 flow structure. Print this panel or screenshot it as a draft; final figures come from your database.

What a CONSORT flow diagram shows

  • It reports every participant's path: assessed, excluded, randomized, allocated, lost or discontinued, and analysed.
  • It belongs in the results of a randomized trial report, as recommended by the CONSORT statement.
  • The numbers must reconcile: assessed minus excluded equals randomized, and each arm's analysed plus lost cannot exceed what it was allocated.
  • Always give reasons for exclusion and loss, not only counts.
  • The generator draws a two-arm parallel layout. Other designs (cluster, crossover, multi-arm) need their own CONSORT extension.

The method

What the CONSORT flow diagram is for

CONSORT (Consolidated Standards of Reporting Trials) is a reporting guideline for randomized trials, produced by an international group of trialists, statisticians and journal editors. Its checklist lists what a trial report should contain, and its flow diagram shows what happened to every participant, from the first assessment to the final analysis. Many journals expect a flow diagram with a randomized trial manuscript, and it is a good habit even when you are writing an internal report.

The diagram is useful because it exposes how representative and how complete a trial was. A reader can see how many people were screened to find the randomized group, why people were excluded, whether the arms lost participants at different rates, and how many were in the final analysis. Large or uneven losses are a warning about bias, and a reader can only judge that if the numbers are shown.

The standard layout has four stages. Enrolment shows the number assessed for eligibility and the number excluded, with reasons such as not meeting inclusion criteria, declining to take part or other reasons. Allocation shows how many were randomized and how many in each arm, and, where relevant, how many received the allocated intervention. Follow-up shows how many in each arm were lost to follow-up or discontinued, with reasons. Analysis shows how many in each arm were analysed and how many were excluded from analysis, with reasons. This generator covers the numbers most reports lead with: assessed, excluded, randomized per arm, lost and analysed.

Making the numbers reconcile

Most errors in published flow diagrams are arithmetic. Before you draw anything, check that assessed minus excluded equals randomized; that the arm totals sum to the randomized total; and that for each arm, participants analysed plus lost (plus any other exclusions) equal the number allocated. The generator flags a mismatch rather than drawing a diagram that does not add up, but it cannot know whether a number is right, only that the numbers are consistent.

The usual source of difficulty is that the information sits in different places: a screening log, a randomization record, visit data and a withdrawal list. Keep these in one system and one definition of each term. A participant who stops treatment but continues follow-up is not "lost to follow-up", and a participant who is randomized but never receives treatment is still in the allocated group for an intention-to-treat analysis. Write definitions into the statistical analysis plan before the database is locked.

Reference

The four stages and what to report in each

StageNumbers to reportReasons to give
EnrolmentAssessed for eligibility; excludedNot meeting criteria, declined, other
AllocationRandomized; allocated to each arm; received interventionDid not receive allocated intervention, and why
Follow-upLost to follow-up; discontinued, per armReason for each loss or discontinuation
AnalysisAnalysed; excluded from analysis, per armReason for exclusion from analysis

Based on the CONSORT 2010 flow diagram. Check the current CONSORT checklist and your target journal's instructions, as reporting guidance is updated from time to time.

Using the diagram

From a database to a defensible diagram

Plan for the diagram at the start of the study, not at the manuscript stage. Record the number screened, and the reason for each screen failure, in a screening and enrolment log or an eligibility screening eCRF. Record the date and arm of each randomization; the randomization list generator and the guide to randomization software explain how allocation works. Record the reason when a participant stops, in a structured field and not only free text, so the reasons can be counted.

Then compare the diagram with your plan. The sample size calculator says how many evaluable participants you needed; the dropout-adjusted calculator shows how many you planned to enrol to allow for losses. If the real losses in the diagram are higher than the plan assumed, say so in the discussion and show what it means for power.

Capture keeps the study data in one place, with field-level audit trail and exports by site, so the counts behind a diagram come from the same system as the rest of the data rather than from several spreadsheets. See clinical trial randomization software for how randomization is handled in a study, and real-time dashboards for monitoring progress while the trial runs. Data export for statisticians is covered in EDC for biostatisticians.

Worked example

Reading a flow diagram: what to look for

In the demo numbers, 320 people were assessed and 120 excluded (80 did not meet criteria, 30 declined and 10 for other reasons), leaving 200 randomized, 100 in each arm. In follow-up, 12 were lost in one arm and 15 in the other, and 88 and 85 were analysed. Two things stand out to a reader: the arms lost similar numbers, which is reassuring, and the analysed total is lower than the randomized total, so the authors should explain who was excluded from the analysis and why, and state whether the analysis was by intention to treat.

If the losses had been 5 in one arm and 30 in the other, a reader would immediately ask whether the intervention caused people to leave. That is the diagram doing its job. When you draft your own, read it as a sceptical reviewer would, and write the explanation of any imbalance into the text before they have to ask.

Keep screening, randomization and follow-up in one study

Set up a study in the free sandbox, enrol demo participants and see the data behind your flow diagram. No credit card. You pay only when you go live.

Run the trial in the free sandbox

Assumptions and limits

What the generator does not do

The generator draws a two-arm, parallel-group diagram with the counts you give it. It does not draw the full CONSORT 2010 layout for every optional box (for example, "received allocated intervention" and detailed per-reason breakdowns), nor extensions for cluster trials, crossover trials, non-inferiority and equivalence trials, pilot and feasibility studies, or multi-arm designs. Those have their own recommended diagrams. It does not check that your numbers are true, only that they are consistent with each other.

The output is intended for drafting and is not a substitute for the CONSORT checklist itself, which covers far more than the diagram: how the trial was designed, how randomization was concealed, how outcomes were assessed, and how missing data were handled. If you are preparing a manuscript for a journal or a regulatory report, have a statistician confirm the analysis populations and definitions, and follow the journal's current reporting guidance. This tool is a demonstration and planning aid, not validated software.

Before you publish

Flow diagram checklist

Numbers reconcile

Assessed minus excluded equals randomized; arms sum correctly.

Reasons given

For exclusion, loss, discontinuation and exclusion from analysis.

Definitions fixed

Lost to follow-up, discontinued and analysed defined in the SAP.

Analysis population stated

Intention-to-treat, per-protocol or both, with counts for each.

Dates consistent

Recruitment and follow-up periods match the text of the report.

Guideline version

Checked against the current CONSORT checklist and journal rules.

FAQ

Questions teams ask before they switch

Something not covered here? Ask us directly.

What is a CONSORT flow diagram?

A figure in a randomized trial report that shows the flow of participants through each stage: assessed, excluded, randomized, allocated, followed up and analysed, with reasons for losses.

Can I copy or print the diagram?

Yes. The generator lets you copy the diagram and print it, so you can paste it into a manuscript draft or a report.

Does it support designs other than two parallel arms?

No. This tool draws a two-arm parallel layout. Cluster, crossover and multi-arm trials have their own CONSORT extensions and diagrams.

Does the tool check my numbers?

It checks they are consistent, for example that assessed minus excluded equals randomized. It cannot check that they are correct.

Is my data saved or sent?

No. The diagram is generated in your browser and nothing is stored or transmitted.

Is a flow diagram needed for non-randomized studies?

Other reporting guidelines, such as STROBE for observational studies, also recommend showing participant flow. Check the guideline that applies to your design.

Capture the counts as the trial runs

Free sandbox with every feature. No credit card. You pay only when you go live.

Run the trial in the free sandbox