# Grid Systems and Layout

> The hidden rows and columns that keep a page lined up. Columns, gutters and margins, the grid kinds, and why twelve columns is so common.

**Course:** [Design Principles](https://learn.benibix.com/learn/design-foundations)  
**Time:** 12 min

**After this lesson you can:**

- Read the parts of a grid
- Pick a grid for a page
- Explain why twelve columns is common

## Why most pages sit on twelve columns

A grid system is a set of hidden rows and columns that every part of a page lines up to. Most websites use 12 columns. Twelve splits evenly into 2, 3, 4 and 6, so the same grid can hold two wide blocks, three cards or four small ones. Readers never see the grid. They see a tidy page.

Layout is the bigger word. It means how text, pictures and space are placed on a page or screen. A grid is the tool that makes a layout steady. Without one, each new part is placed by eye, and the edges drift a little more each time.

A grid has three parts. Columns are the tall strips that content sits in. A block of text can span one column or several. Gutters are the gaps between columns, often 16 to 24 pixels on a screen. Margins are the empty edges between the content and the side of the page.

The simplest grid is the manuscript grid. It has one wide block of text inside the margins, like the page of a novel. A column grid splits that block into several strips. A modular grid adds rows as well, so the page becomes a set of small cells, good for photos and cards.

A baseline grid runs the other way. It is a set of evenly spaced lines down the page, and every line of text sits on one. Text set at 16 pixels often sits on a 24 pixel baseline. Two columns side by side then line up across the page, line for line.

Margins do more than frame the page. Wide margins make a page feel calm and costly, which is why art books have them. Narrow margins fit more in, which is why newspapers have them. On a phone, margins shrink to about 16 pixels, because the screen is small.

A grid is a guide, not a cage. Most of the page should follow it, so the one photo that breaks out of it gets noticed. The mistake is the opposite: no grid at all, with each part placed by hand. It is slower to make and looks worse.

![A page split into twelve tall columns with thin gutters between them and wide margins at the sides. A heading spans all twelve columns, and three cards below each span four.](https://learn.benibix.com/diagrams/grid-system.svg)

## Four kinds of grid

| Grid | What it looks like | Good for |
| --- | --- | --- |
| Manuscript | One wide block of text | Books, long articles |
| Column | Several tall strips | Websites, magazines |
| Modular | Columns and rows of cells | Photo pages, product lists |
| Baseline | Evenly spaced lines down the page | Lining up text across columns |

### Example: A shop page on twelve columns

Ali's shop page showed products in rows of 3, then a banner, then rows of 4. Each block had been placed by hand and the edges did not match.

He set a 12 column grid with 24 pixel gutters. Rows of 3 span 4 columns each, rows of 4 span 3, and the banner spans all 12. Every edge now lines up.

**Words in this lesson:** [Layout](https://learn.benibix.com/term/design/layout), [Grid System](https://learn.benibix.com/term/design/grid-system), [Grid Column](https://learn.benibix.com/term/design/grid-column), [Gutter](https://learn.benibix.com/term/design/gutter), [Margin (Layout)](https://learn.benibix.com/term/design/margin), [Manuscript Grid](https://learn.benibix.com/term/design/manuscript-grid), [Modular Grid](https://learn.benibix.com/term/design/modular-grid), [Baseline Grid](https://learn.benibix.com/term/design/baseline-grid)

**Question:** Why do so many websites use a 12 column grid?

**Answer:** Twelve splits evenly into 2, 3, 4 and 6. Twelve divides in many ways. The same grid can hold halves, thirds, quarters and sixths, so one page can mix many layouts and still line up.

---

Source: https://learn.benibix.com/learn/design-foundations/grid-systems-and-layout
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
