Sub topic 3
Margins, columns and modular grids
This chapter covers the layer of structure under every page: the margins that frame the text area, the columns that divide it, and the modular grids that divide it further into rows. It assumes you can already use a layout tool such as InDesign, Affinity Publisher or Scribus, and that you know the terms typeface, point size, leading and alignment. It also assumes you have settled a page size and decided whether the document uses facing pages. The previous chapter covers both decisions.
What a grid does
A grid is a set of invisible guides that decides where things may start, stop and line up. It does three jobs in a multi-page document:
- Consistency. Page 4 and page 31 share the same text edges, so the document reads as one object.
- Speed. You place elements by snapping to guides, so each layout decision is a choice among a few options and not a fresh judgement.
- Flexibility. A good grid allows variety, such as a full-width image on one page and three narrow columns on the next, without breaking alignment.
A grid is a tool, not a rule. Break it on purpose when a layout needs it, and only when the break is visible and intentional.
Margins
Margins are the empty bands between the trim edge of the page and the live area, which is the region where text and figures sit. You set four values: top, bottom, inside and outside.
On facing pages (a document bound or folded so that left and right pages sit side by side), the vertical margins are described relative to the spine, not to the paper edge. The inside margin is next to the binding or fold. The outside margin is at the paper edge. Layout tools expose this when you tick "Facing Pages" in the new-document dialog.
Typical starting points:
| Margin | Reports (A4, bound) | Brochures (A4, folded) | Reason |
|---|---|---|---|
| Inside | 25 mm | 12–15 mm | Binding hides some of the page near the spine. Folds hide less. |
| Outside | 15–20 mm | 10–15 mm | A thumb must hold the page without covering text. |
| Top | 20 mm | 12–15 mm | Running heads often sit in or near this band. |
| Bottom | 25 mm | 12–15 mm | Page numbers and footnotes need room. |
Three practical points follow from this table:
- Wide margins calm a page. Long reports benefit from them because readers spend time with the text. Brochures use tighter margins to hold more content on a small page.
- Margins are a safety zone. Printers trim paper with a tolerance of about 1–3 mm. Text placed outside a margin of at least 5 mm risks being clipped or looking cramped.
- Unequal margins are normal. A bottom margin larger than the top margin makes a page look better balanced. Equal margins on all four sides often look as though the text is sliding down the page.
Columns and gutters
A column is a vertical strip that holds text. A gutter is the empty space between two columns. Do not confuse it with the inside margin, which some tools call the "gutter margin". In this tutorial, "gutter" always means the space between columns.
The number of columns depends on the content and the page size:
- One column suits long running text in a bound report. It reads calmly, but on a wide page the line length can become too long.
- Two columns suit reports with mixed content, such as text beside tables or notes.
- Three or four columns suit A4 brochures, newsletters and reports that mix text, figures and sidebars.
Line length decides the minimum useful column width. For body text, aim for roughly 45–75 characters per line. Lines shorter than about 30 characters cause ragged edges and awkward word spacing in justified text. Lines longer than about 80 characters make the eye lose its place when it returns to the next line.
A common method is to build a finer grid than you need and let content span several columns. A four-column grid on A4 gives a wide text block (two columns spanning) of about 80 mm, which is a comfortable measure for 9–10 pt body text. A single column of about 39 mm fits captions, pull quotes or marginal notes, but is too narrow for continuous body text.
A gutter should be wide enough to separate columns clearly and narrow enough that the page does not fall apart. A gutter of 4–6 mm is typical for 9–10 pt type. A gutter narrower than the width of two or three characters makes neighbouring columns run together.
From column grids to modular grids
A column grid only divides the page vertically. A modular grid also divides it horizontally into rows, so the page becomes a matrix of rectangular modules, separated by gutters in both directions. Elements then snap to module edges in both axes.
| Grid type | Structure | Best for |
|---|---|---|
| Single column (manuscript) | One text block | Novels, simple reports |
| Column grid | Vertical columns only | Text-led reports, newsletters |
| Modular grid | Columns and rows | Image-heavy brochures, annual reports, catalogues |
| Hierarchical grid | Irregular, custom divisions | One-off designs where content dictates structure |
Modular grids pay off when pages hold many small, mixed items such as photos, captions, tables and callouts. You can then give every image a height of one, two or three modules. The result is regular without being monotonous.
A modular grid also works well with the baseline grid from the next chapter. If each module height is a whole number of baseline lines plus a gutter that is itself a whole number of lines, text in neighbouring modules will share baselines.
Calculating a grid
You do not need to eyeball a grid. The arithmetic is short. For a grid with c columns and gutter g, the column width is:
column width = (text width − (c − 1) × g) / c
The same formula applies to row height when you replace text width with text height. The Python script below computes both for an A4 page with a 25 mm inside margin, a 15 mm outside margin, four columns and five rows.
page_w, page_h = 210, 297 # A4 in mm
inner, outer = 25, 15
top, bottom = 20, 25
cols, rows, gutter = 4, 5, 5
text_w = page_w - inner - outer # 170
text_h = page_h - top - bottom # 252
col_w = (text_w - (cols - 1) * gutter) / cols # 38.75
row_h = (text_h - (rows - 1) * gutter) / rows # 46.4
print(f"text area: {text_w} x {text_h} mm")
print(f"column width: {col_w} mm, module height: {row_h} mm")
# Left edge of each column on a right-hand page (inside margin is on the left)
for i in range(cols):
x = inner + i * (col_w + gutter)
print(f"column {i + 1}: x = {x:.2f} to {x + col_w:.2f} mm")The last column ends at 195 mm, which is 210 − 15, so the grid fills the text area exactly. On a left-hand page the inside margin is on the right, so every x value mirrors. If your tool shows a different result, check that you subtracted (cols - 1) gutters and not cols. This is the most common arithmetic slip.
Many layout tools do this for you when you enter columns and gutter. Row guides are not always automatic, so create them with the arithmetic above or with a layout-grid tool.
The same grid in CSS
Web-to-print workflows use CSS paged media. The @page rules give you the same inside and outside margins, and a CSS grid supplies the columns.
@page {
size: A4;
margin: 20mm 15mm 25mm 15mm;
}
@page :left {
margin-left: 15mm;
margin-right: 25mm;
}
@page :right {
margin-left: 25mm;
margin-right: 15mm;
}
.page-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
column-gap: 5mm;
row-gap: 5mm;
}
.wide-text {
grid-column: span 2;
}
.figure-full {
grid-column: 1 / -1;
}On a left page the inside margin is the right-hand one, so the :left rule gives the larger value to margin-right. Browsers and print engines differ in how much of @page they support, so test your output in the engine you plan to use.
Spanning, hanging and breaking the grid
Once the grid exists, the interesting work is deciding how elements use it:
- Spanning. Body text spans two columns, a figure spans all four, a caption spans one. Spans are always whole columns or whole modules.
- Hanging. A heading or image can start in the outside margin, such as a side heading placed in a narrow left column. This works only when the grid reserves that column.
- Breaking on purpose. A full-bleed photograph that ignores the margins is a deliberate exception. It is more effective when the rest of the pages are strictly regular.
Common errors
- Columns too narrow for justified text. Narrow columns with justified alignment create uneven word spacing and "rivers" of white space. Use left-aligned text, or widen the column.
- Gutter too small. Text from neighbouring columns merges visually. Widen to at least 4 mm for small body text.
- Ignoring the inside margin. Text sits too close to the binding and disappears into the fold.
- Using a grid that doesn't fit the content. A strict modular grid applied to a text-only report adds complexity without benefit.
- Rounding drift. Entering 38.7 mm instead of 38.75 mm creates a small error on each column, and by the last column the edges no longer line up with the margin.
Exercise
A US Letter page (215.9 mm × 279.4 mm) has an inside margin of 25 mm, an outside margin of 15 mm, three columns and a 5 mm gutter. What is the column width, and what is the x position of the left edge of the third column on a right-hand page?
Show answer
Text width = 215.9 − 25 − 15 = 175.9 mm. Column width = (175.9 − 2 × 5) / 3 = 165.9 / 3 = 55.3 mm. On a right-hand page the inside margin is on the left, so column 1 starts at 25 mm. Column 3 starts at 25 + 2 × (55.3 + 5) = 25 + 120.6 = 145.6 mm.
Exercise
Why does a layout that places body text in a 39 mm column and justifies it often look worse than the same text in an 80 mm column?
Show answer
With only about 20 to 25 characters per line, justification has very few word gaps to adjust, so it creates large and uneven spaces and rivers of white. The wider column holds roughly 45 to 55 characters per line, which gives the spacing room to even out.