Columns from phone to wall
4 columns on a phone, 12 on a laptop. And on a 2560 pixel screen? That is where most grids give up.
On this page
A layout grid is not decoration. It decides where things can go and how a page behaves when the window changes. Most grids are planned for a phone and a laptop. The big screen gets whatever is left.
Phones: 4 columns, sometimes 6
On a phone, 4 columns with 16 pixel margins and gutters are enough. Text runs across all four, two cards sit side by side with two columns each. 6 columns help when you also need thirds, for example three small numbers in a row.
Tablets and laptops: 8, then 12
From about 600 pixels, 8 columns make room for a sidebar or two cards per row. From about 840, 12 columns: 12 divides by 2, 3, 4 and 6, so halves, thirds and quarters all fit. That is why almost every design system lands on it. Margins and gutters grow with the screen, to 24 or 32 pixels.
1280 px
XXL: stop stretching
Above 1600 pixels, a 12 column grid stretched to the edges makes text lines of 150 characters and more, and cards as wide as a poster. There are three ways out. Cap the content, for example at 1440 pixels, and let the margins grow. Keep the grid wide, but limit text to about 70 characters. Or add columns for content that really needs the room, like dashboards. For most pages, the first one is right.
Capped at 1440, margins grow, lines stay near 70 characters
Stretched to the edges: about 300 characters per line
Test a grid at the extremes: 320 pixels and the widest screen you can find. The middle usually takes care of itself.
Sources
- Material Design 3: Breakpoints
- IBM Carbon Design System: 2x Grid
- Nielsen Norman Group: Using Grids in Interface Designs
- W3C: Understanding WCAG 2.1: Visual Presentation