A grid is the underlying column structure a layout aligns to. It is invisible in the finished page, and it decides where every heading, image and button starts and stops, which is why a page built on one looks deliberate and a page built without one looks like a collection of parts.
In short
- The column structure everything on a page lines up with.
- Twelve columns on desktop is the common convention.
- Equal gutters do most of the work in making a layout look even.
- Breaking it is a design decision, and missing it is a mistake.
What a grid is made of
Three measurements define one, and they stay fixed across a site.
- Columns. The vertical divisions content sits in, twelve being the usual count because it splits into halves, thirds, quarters and sixths.
- Gutters. The consistent space between columns, which keeps two blocks of content from touching.
- Margins. The space between the outermost columns and the edge of the screen, which stops a layout feeling cramped on a phone.
Elements then span whole numbers of columns. A feature image takes eight, the text beside it takes four, and a row of three cards takes four each. Because everything is described in the same units, a page can be rearranged without anybody measuring pixels.
Fixed and fluid describe how those columns behave when the window changes. Fixed columns hold a set width and the margins absorb the difference. Fluid columns stretch with the screen. Most sites are fluid inside a maximum width, so a large monitor does not produce lines of text too long to follow.
Why alignment reads as quality
Nobody looks at a page and thinks about columns, and everybody notices the result.
The eye is unreasonably good at spotting a near-miss. Two headings that start three pixels apart look wrong before anyone works out what is wrong, and the impression that arrives is carelessness rather than misalignment. Alignment also reduces effort: when several blocks share a left edge, they read as one group, which is the same grouping instinct at work in white space and proximity.
There is a business version of this. A page that looks assembled by somebody who was paying attention says something about the company behind it, which is particularly worth having when a visitor is deciding whether to trust a business they have not met.
Alignment speeds the eye up. A reader scanning a page travels down one edge, and every block starting somewhere new is a small interruption, which is why consistent card edges and left-aligned text outperform centred layouts for anything longer than a heading.
Grids on a phone
Most visitors here arrive on a phone, so the narrow version is the real design and the desktop version is the variation.
Columns collapse as the screen narrows. Twelve becomes six, six becomes four, and content that sat side by side stacks. The decisions that matter are which element falls first, what stays paired, and where the layout changes shape, which are the breakpoints.
Two faults appear repeatedly. Cards that stack in an order nobody chose, so the supporting text arrives above the thing it supports. And margins that survive from the desktop design, leaving a phone layout with generous side space and text squeezed into the middle.
Tables are the usual casualty. A wide table has no honest narrow version, so the choice is to let it scroll sideways inside its own frame or to rebuild the content as a list. Both beat shrinking the type until nobody can read it.
Working with one in practice
A grid is agreed before the visual design, usually during wireframing, and every later decision leans on it.
- Choose the column count once, with the content in mind, and hold it across the site.
- Use a spacing scale, such as multiples of eight, so vertical gaps are as consistent as horizontal ones.
- Align to columns, not to the eye, since eyeballing produces the near-misses described above.
- Let long text sit narrower than the page, because a line spanning twelve columns is uncomfortable to read.
- Check the pattern at every breakpoint, not only on the screen the designer happens to be using.
Design tools show the grid as an overlay, so the check is a keystroke rather than a measuring exercise. Developers work with the same numbers, which is what keeps a built page faithful to the design.
Breaking it on purpose
A grid is a default, and the exceptions are where a page gets its character.
An image running full width past the margins creates a pause between sections. A heading stepping out one column signals the start of something. A card set at a different height breaks a monotonous row. Each of these reads as intentional precisely because everything around it is regular.
The test for a break is whether you can say what it is for. Emphasis, rhythm and separation are reasons. Fitting an awkward photograph is not, and that is the version that leaves a page looking accidental while the designer believes it looks free.
Consistency between pages counts as much as within one. A service page and a contact page built on different structures feel like two different sites, and a visitor who suspects they have left yours is a real cost even when the navigation says otherwise.
Words you will hear
- Column. One vertical division of the layout.
- Gutter. The fixed space between columns.
- Margin. The space between the layout and the edge of the screen.
- Breakpoint. The width at which the layout changes shape.
- Baseline grid. Horizontal lines type sits on, for vertical rhythm.
- Spacing scale. The fixed set of gaps used throughout a design.
- Full bleed. An element running to the screen edge, past the margins.
Open your own site on a laptop and drag the window narrower. Wherever the layout stops looking deliberate is a breakpoint nobody designed, and it is where your phone visitors already are.
Questions we get
More about grid
Why does a grid matter if nobody sees it?
How many columns should a grid have?
What is a gutter?
Does a grid make every page look the same?
How does a grid work on a phone?
What is a baseline grid?
Can we break the grid?
Do it yourself
Guides on the same topic
Free step by step guides for owners doing the work themselves. No sign up and no email required.
How to choose brand colors: six steps to colors that survive the street
Most brand color advice is written for a screen. How to choose colors for a Philippine business that still read on a faded tarpaulin, a receipt and a phone.
Read the guideHow to make a logo: seven steps to a mark you can own
Most small business logos are made from a Canva template, and Canva's own rules say those cannot be registered. How to make one you are allowed to own.
Read the guide
Related terms
Wireframe
A wireframe is a plain layout drawing showing what goes where on a page, made before any design work. The grey boxes are deliberate, and changes are cheap here.
White space
White space is the empty area around and between the elements of a design. It is not wasted room, and removing it is the fastest way to make a page unreadable.
Visual hierarchy
Visual hierarchy is the order in which a page gives things away. Size, contrast, position and space decide it, and a page that decides nothing reads as noise.