Grids, Columns and Margins
Grids give layouts an invisible structure. Learn columns, gutters and margins, calculate column widths and see why grids speed up good design.
Welcome back!
Step 1 of 10Learn
The invisible skeleton
Look closely at a well-designed magazine, newspaper or website and you will notice that photos, headlines and text blocks start and stop along the same invisible lines. That hidden structure is a grid.
A grid is a set of guidelines that divides the page into columns (vertical strips), separated by gutters (the gaps between columns), inside margins (the space between content and the page edge). Some grids also have horizontal rows or a baseline grid, a set of evenly spaced lines that all text sits on.
Grids solve real problems:
- Consistency. Every page in a 40-page report shares the same structure, so it feels like one document.
- Speed. Instead of deciding the position of each element from scratch, you snap it to the grid.
- Alignment for free. Elements placed on the same column edges automatically align.
- Flexibility. A 12-column grid can hold one wide block, two halves, three thirds, four quarters or a 8 + 4 split, because 12 divides many ways. That is why so many web layouts use 12 columns.
A grid is a guide, not a cage. Designers break it on purpose, for example letting a photo bleed off the page edge, but they break it deliberately, from a position of order.
Step 2 of 10Practice · Match the pairs
Match each grid term to its meaning.
Tap an answer, then tap the place where it belongs (or drag it there).
- Column
- Gutter
- Margin
- Baseline grid
Step 3 of 10Learn
Calculating column width
To set up a grid, you need one simple formula. If the page (or screen) is W wide, the left and right margins are m each, there are n columns and the gutters are g wide, then:
column width = (W − 2m − (n − 1) × g) ÷ n
There is always one fewer gutter than columns, because gutters sit between columns.
Example: a US letter page is 8.5 inches wide, which is 612 points (1 inch = 72 points). Take margins of 54 pt (0.75 in), 3 columns and 18 pt gutters:
- Content width: 612 − 2 × 54 = 504 pt
- Gutters: (3 − 1) × 18 = 36 pt
- Column width: (504 − 36) ÷ 3 = 156 pt, a bit over 2 inches.
For a website container of 1200 px with 12 columns, 24 px gutters and no outer margins, each column is (1200 − 11 × 24) ÷ 12 = 78 px.
You rarely do this by hand, since layout software calculates it, but knowing the formula helps you choose sensible values and spot a grid that will produce columns too narrow for readable text.
Step 4 of 10Try the calculator
Grid column calculator
Change the page width, margins, number of columns and gutter width. Use any unit, as long as it is the same for every input.
- Content width
- 504
- Column width
- 156
- Width of a 2-column span
- 330
Step 5 of 10Practice · Work it out
A web container is 960 px wide with no outer margins, 12 columns and 20 px gutters. What is the width of one column in pixels?
Step 6 of 10Note
Step 7 of 10Tap to reveal
Setting up a grid, step by step
1. Start from the format
Know the final size: a letter page, an A4 page, a 1080 px social post or a website container. Decide the orientation.
2. Set the margins
Choose margins generous enough to frame the content. On print pieces, keep at least the printer's safe zone; on posters, wider margins look more confident.
3. Pick the number of columns
Base it on the content. Text-heavy pieces need columns wide enough for 45–75 characters per line; image-heavy pieces benefit from more, narrower columns that combine flexibly.
4. Choose a gutter
Wide enough that columns of text do not visually merge. In print, a gutter around the height of one line of body text is a common choice.
5. Add a baseline grid if you have lots of text
Set its increment to your body text line spacing so lines in neighboring columns sit level.
6. Test with real content
Place actual headlines, photos and paragraphs. If everything feels cramped or columns are too narrow for text, adjust before designing all the pages.
Step 8 of 10Learn
Choosing a grid
Different jobs call for different grids:
- Manuscript grid: a single text block with margins. Used for novels, essays and long reports, where continuous reading matters most.
- Column grid: two to six columns. Newspapers, magazines and brochures use these to mix text and images flexibly.
- Modular grid: columns and rows create a field of modules (cells). Good for catalogs, dashboards, photo galleries and complex web pages.
- Hierarchical grid: an irregular structure based on content, common on home pages where different blocks have different importance.
Column width also decides readability. A single column that stretches across a wide screen produces lines of 120 characters or more, which tire the eye. Text is most comfortable at roughly 45–75 characters per line. That is one reason wide pages use multiple columns or sidebars.
Margins do not have to be equal. Book designers traditionally make the outer and bottom margins larger than the inner and top ones, which makes the text block look balanced on a spread and leaves room for thumbs.
Step 9 of 10Practice · Choose one
Why do many website grids use 12 columns?
Step 10 of 10Practice · What would you do?
What would you do?
You are designing a 24-page annual report with text, charts and photos. A colleague suggests placing each element "wherever it looks good" on each page. What do you recommend?
Lesson complete!