Home / Science / Agriculture and food / Agronomy and soil science / Field trial designerTool #385

Field trial designer: randomised complete block, Latin square and completely randomised layouts with a plot map

Lay out a field or glasshouse trial as a randomised complete block, Latin square or completely randomised design. Random but repeatable from a seed, checked, drawn as a plot map, and saved as a CSV field book. Nothing is uploaded.

Keep it one tap away for everyday use.

Bookmark Field trial designer?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

  1. Treatments
  2. Design
  3. Plot map
  4. CSV
Nothing is uploadedWorks offline once open

Treatments and design

Blocks: each block holds every treatment once, in its own random order. Lay blocks across the slope or gradient you want to remove.

The same treatments, design, replicates and seed always give the same layout, so write the seed down to make the layout again.

What it does

A fair field trial needs two things: replication (each treatment on several plots) and randomisation (chance, not you, decides which plot gets which treatment). This tool does the randomising for three classic designs and shows the result as a plot map you can take to the field.

  • Randomised complete block design (RCBD): the field is split into blocks, and each block holds every treatment once, in its own random order. Blocks soak up differences in the field (a slope, a wet corner, a shade line), so the comparison between treatments is cleaner. This is the most used design in agronomy.
  • Latin square: as many rows and columns as treatments, with each treatment exactly once in every row and every column. It removes two gradients at once, for example slope along the rows and an irrigation line along the columns. It suits 4 to 8 treatments.
  • Completely randomised design (CRD): every plot gets a treatment at random, with no blocking. Use it only where conditions are even, such as pots on a glasshouse bench or a growth room.

Each layout is checked after it is made: the page shows a green Checked label once it has confirmed that every treatment is in every block once (RCBD), in every row and column once (Latin square), or has the right number of plots (CRD).

How to use it

  1. Type your treatments, one per line. Names can be varieties, fertiliser rates, sowing dates or spray programmes.
  2. Pick the design and the number of blocks or replicates. For a CRD you can also set how many plots fit in one row of the map.
  3. Pick how plots are numbered: 1, 2, 3 in field order, or 101, 102 for block 1 and 201, 202 for block 2. Serpentine numbering runs every second row right to left, which is how a planter or harvester usually moves up and down a field.
  4. Read the plot map and the field book, then download the plot list as a CSV for your notebook, tablet or labels. The Image, PDF and Word buttons save the map, the analysis outline and the field book as a report.

The random seed is the number that starts the random generator. The same treatments, design, number of blocks and seed always give exactly the same layout, so write the seed in your trial notes and anyone can make the layout again. New random layout picks a fresh seed.

Worked example

Press Use the example: five made-up varieties (A to E), randomised complete block design, 4 blocks, seed 2026. The page shows “20 plots: 5 treatments × 4 blocks” and the Checked label. Block 1 (plots 1 to 5) reads Variety A, E, D, B, C; block 2 (plots 6 to 10) reads D, B, C, E, A. Every variety is in every block once.

The analysis of variance outline shows the degrees of freedom you will have: blocks 3, treatments 4, error 12, total 19. Twelve error degrees of freedom is a fair minimum; with fewer, the trial will struggle to show real differences.

Switch the design to Latin square and the same five varieties make a 5 × 5 square of 25 plots with 12 error degrees of freedom (rows 4, columns 4, treatments 4).

Tips

  • Lay blocks so the conditions within a block are as even as possible; the blocks themselves may differ.
  • Keep the plot list with the seed. If plot labels are lost, the seed rebuilds the layout.
  • Once the trial is harvested, analyse the yields with the yield trial ANOVA and LSD tool.

FAQ

Is this random enough? Yes for laying out trials: every order of treatments within a block is equally likely, and the tool’s tests check this. It is not meant for anything secret, such as passwords.

How is the Latin square randomised? A standard square is made, then its rows, its columns and the treatment names are each shuffled at random, the usual method in design textbooks.

Can I have unequal replication? Not in this tool: equal replication keeps the analysis simple and fair.

Is my data uploaded? No. Everything runs in your browser and works offline.

Where the numbers come from

  • Design rules (each treatment once per block; once per row and column in a Latin square) and the analysis of variance degrees of freedom are standard experimental design, as in Cochran and Cox, Experimental Designs, and Gomez and Gomez, Statistical Procedures for Agricultural Research.
  • Randomisation: Fisher-Yates shuffle with the mulberry32 seeded generator. Checked against an independent Python version of the same generator and shuffle (five layouts, cell for cell), and for fairness with chi-square tests over thousands of seeds.
  • The example treatments are made up.

Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

Last updated 2026-11-09.

Related tools

Field sampling planner #158 Plan where to take field samples. Draw your site boundary, work out how many samples you need (to estimate an average, compare with an action level, or find a hot spot of a given size), and lay the points out on a square or triangular grid, stratified random or simple random. Download the points as CSV or as GPX for a GPS. Plate layout designer #35 Lay out standards, samples, controls and blanks with replicates on any plate from 6 to 1536 wells. Keep the edge wells empty, then print the map or export a well list for your plate reader or liquid handler. Sample size and power calculator #32 How many subjects, samples or survey responses do you need? Sample size for comparing two means, paired data, two proportions, or a survey's margin of error, with power curves. Matches R and G*Power. Fertiliser blend calculator #381 Type the nitrogen, phosphate, potash (and sulphur) your field needs and the fertiliser grades you can buy, such as 46-0-0, 18-46-0 and 0-0-60. Get the amount of each product per hectare or acre, what is over or under supplied, totals and bags for the field, and the cost if you type prices. Seeding rate calculator #384 Turn a target plant population into seeds and kg (or lb) to sow from germination, purity, field emergence and seed weight, with seeds per metre or foot of row and the gap between seeds. Then count plants in a length of row or a frame to see the stand you got and your real establishment. Yield trial ANOVA and LSD #386 Paste or open your plot yields and get the analysis of variance for a randomised complete block, completely randomised or Latin square trial: F tests with p-values, CV %, standard errors, the LSD at 5 % or 1 % and letters that group the means. Nothing is uploaded. Breeder's equation calculator #389 Predict the response to selection from heritability and the selection differential, or from the proportion selected (selection intensity) and the phenotypic standard deviation, per generation and per year. Estimate heritability from parent-offspring pairs or from families, lines or clones. Nothing is uploaded.