Grid: The Shared Column Structure Behind Every Aligned Screen
A grid is the hidden structure of columns, gutters and margins that keeps screen layouts lined up, so designers make fewer one-off choices.
In short
A grid is the hidden structure of columns, gutters and margins that keeps screen layouts lined up, so designers make fewer one-off choices.
10 min readFree
What you will learn
Every screen holds headlines, pictures, buttons and text, and each one needs a place. When every designer picks positions by eye, pages drift apart. A grid is the shared structure that stops that drift. It is a set of invisible guides that every layout is built on.
In this lesson you will learn the three parts a grid is made of, why a design system includes one, and how to set one up and use it. You will also follow a worked example on a news site and answer two short questions. Here are the key words first.
Key words
- Grid
- A set of invisible guides that shows where content can sit on a screen.
- Layout
- The way the parts of one screen are arranged.
- Column
- A vertical strip that holds content.
- Gutter
- The empty gap between two neighboring columns.
- Margin
- The empty space between the outer columns and the edge of the screen.
- Span
- How many columns one element covers, counted from its first column to its last.
- Snap
- When an element jumps to the nearest grid line as you move it.
- Breakpoint
- A screen width where the layout changes, such as from phone to tablet. It has its own lesson.
- Fixed grid
- A grid whose content keeps one set width inside a range of screen sizes.
- Fluid grid
- A grid whose columns grow and shrink as the screen gets wider or narrower.
- Design system
- The shared parts and rules a team uses across its products, as explained in earlier lessons.
What are the three building blocks of a grid?
A layout grid is built from three elements: columns, gutters and margins. Each part controls a different job on the page.
Columns
Columns are the vertical strips where content sits. They decide where a block starts and stops from left to right. A picture, a headline or a button usually covers one or more whole columns.
Gutters
Gutters are the gaps between columns. Content never goes inside a gutter. They give neighboring blocks room to breathe, so text from one column does not run into text from the next.
Margins
Margins are the outer space that frames the whole layout, between the first and last columns and the screen edge. They keep content away from the edge, and they are not meant for content.
Think of the three parts as a frame. The margins are the outer frame, the columns are the rooms, and the gutters are the walls between them. Change one part and the whole layout shifts.
How many columns should you choose?
Most grids use 4, 8 or 12 columns. Twelve is popular on the web because it divides evenly into 2, 3, 4 and 6. A page can be split into halves, thirds, quarters or sixths with no awkward leftovers. Many systems use 4 columns for phones, 8 for tablets and 12 for desktop screens.
Which count fits each screen width is a question for the breakpoints lesson, so you can leave that for now. The important point here is that the count is agreed and written down. It should not be picked fresh for every page.
How do gutters and margins shape the space?
The full width of a grid adds up in a simple way. You add the columns, the gutters between them, and the margins on both sides. Gutters should stay the same across the page, so that every gap looks like the same rule.
More columns mean each column is narrower. When you add columns, keep the gutters tighter in proportion, or the content gets lost in white space.
Why does a design system use a grid?
A grid is more than a visual guide. In a design system it is a shared rule that every team member follows. Three benefits explain why teams include one.
Consistent alignment
When every screen uses the same columns, titles, pictures and buttons line up from page to page. Readers feel that order even when they cannot name it.
Faster layout decisions
A designer who knows the grid does not have to measure each gap or guess a width. They choose a span, such as 4 columns, and most of the layout decision is already made.
A shared structure for designers and developers
Developers do not need to measure every gap either. They need the column count, the gutter and the margins for each screen size, and then they can build to match the design.
Because the grid is shared, it belongs to the design system. It is not a private habit of one designer, and that is what makes a team's pages look like they come from one product.
Tip
Save your grid as a shared style in your design tool. Then every designer applies the same settings instead of building their own version.
How do you set up and use a grid in practice?
Setting up a grid is a short job. The harder part is agreeing on the rules and then keeping to them. The next three parts cover the choices you make: the column count, how elements snap to columns, and whether the grid is fixed or fluid.
Snapping elements to columns
Once a grid is on a screen, design tools such as Figma make elements snap to its lines as you drag them. A block that spans 8 columns starts on one column line and ends on another. Its width is the eight columns plus the seven gutters between them, so you do not measure it by eye.
- 1
Pick a frame
Select the screen or artboard you are laying out.
- 2
Add a column grid
Open the layout grid option in the design panel and add a new grid.
- 3
Choose columns
Change the grid type from a square grid to a column grid.
- 4
Set the count and spacing
Enter 12 columns, then the gutter width and margin that match your system.
- 5
Pick stretch
Stretch lets the columns flex with the frame width.
- 6
Save it as a style
Give the grid a clear name, so the whole team can apply the same one later.
The width of one column follows a simple rule. Take the screen width, subtract the two margins, subtract the gutters, and divide by the number of columns. A 12-column grid has 11 gutters, because twelve columns have eleven gaps between them.
In words: w is the width of one column, W is the screen width, M is one margin, and G is one gutter. You rarely need to calculate this yourself, because the tool does it. It helps you understand why a change to the margin shifts every column.
Should a grid be fixed or fluid?
A grid can be fixed or fluid. The choice decides how the layout behaves when the screen changes size.
Fixed grid
The content keeps one set width inside each range of screen sizes. Any extra space goes to the margins on the outside. This suits text-heavy pages, because the line length stays comfortable to read.
Fluid grid
The columns grow or shrink with the screen. The layout uses all the available width.
Tip
Read your team's own documentation and use one rule across the whole system.
Worked example: a news article listing page
Here is the grid in use. Picture a news site's article list page on a desktop screen. It has a 12-column grid with equal gutters and matching margins. The page holds a header, a main story, a sidebar and a row of article cards.
- 1
Start with the header
The header and navigation span all 12 columns. They run the full width of the content area, from the first column to the last.
- 2
Place the main story
The lead story spans columns 1 to 8. That is a span of 8, so its big picture and headline stop at the eighth column.
- 3
Add the sidebar
The sidebar spans the last 4 columns. Its top lines up with the top of the main story, and the gap between them is the same gutter used everywhere else.
- 4
Fill the card row
Below the lead, each article thumbnail is a card that spans 4 columns. Three cards side by side use all 12 columns, so the row fills the width exactly.
- 5
Check the gutters
Every gap between cards should match the gap between the story and the sidebar. If one gap looks different, a block has moved off the grid.
Now a new editor can add a story as a span of 8 and a card as a span of 4, and the page stays aligned. The designer makes no one-off decisions, and a developer builds to the same column rules.
Tip
Before you hand off a layout, check that the spans in each row add up to 12. A row that adds up to 11 leaves an empty column that looks accidental.
Check your understanding
Try these two short scenarios. Each one needs the idea from this lesson to answer.
Quick check
You are designing a product page on a 12-column grid. The image gallery spans 7 columns and the product details span 4, so one column stays empty on the right. A teammate says the layout looks unbalanced. Which grid-based change would you make, and why?
Quick check
A team designs a dashboard for very wide monitors. The product lead wants the paragraphs of text to stay at a comfortable width, with the extra screen space going to the outside edges. Which kind of grid should the team use for the text area?
Common mistakes and when to bend the rule
Too many columns
A complex grid for a simple page adds work without any benefit. Start with the count your content really needs, and only add more when the layout asks for it.
Mixed gutter sizes
When gaps change from block to block, the page looks careless, even if people cannot say why. Pick one gutter and keep it.
Placing by eye
Nudging an element a little off the grid for a quick fix creates the one-off decisions that the grid exists to stop.
A grid is a tool, not a cage. Designers sometimes break it on purpose, for example with a full-width photo that ignores the columns. That break creates emphasis because the rest of the page follows the rules. Make the break a deliberate choice, not an accident.
Key takeaways
A grid is the shared structure of columns, gutters and margins that every layout sits on. It helps elements line up, speeds up layout decisions, and gives designers and developers one set of rules. Agree on the column count, the gutter and the margin. Save the grid as a shared style, and snap every block to it. Then leave room for the rare, deliberate break.
Sources
- Material Design: Responsive layout grid (columns, gutters, margins, and breakpoints)
- UXPin: UI Grids, The Complete Guide to Grid Systems in Design
- Innovialabs: Layout Grids in UI Design, Columns, Gutters, Margins
- Ranknest: Grid systems in graphic design, types and how to use them
- Producthub: Grid Systems for UI Design (Figma steps and shared grid styles)
- DRIC Designs: Grid Systems in Web Design, How 12-Column Layouts Actually Work
- Grid Maker Pro: Column grid, the multi-column layout system explained
- Grid Maker Pro: The 8pt grid, 12-column layout and baseline grid explained
- Innovialabs (second reference): common column setups for phone, tablet and desktop
- uiprep: Everything you need to know about spacing and layout grids
- Medium: Responsive Grid Design, Ultimate Guide (fixed and fluid grids)
- Made Good Designs: Grid Systems in Graphic Design Explained (breaking the grid)
- MM Wax Models: How to Use Grids in Layout Design (stretch and center options)
- Eleken: Grid Layout Design, History, Tips and Five Best Examples
Last updated on 17 November 2026
Related lessons
Learn with me
Every lesson is free. I add new ones as I learn. Have a question, or want help with your own work? Book a short call.