In a design system, why does a layout grid's column count usually change with window size, and why are 12 columns so common?
answer
- columns must stay usable
- fewer columns on narrow windows
- 12 divides many ways
- spans are set per size
- the narrowest layout must reflow
basics
~20 sFewer columns on narrow windows keep each column wide enough to hold content; a common convention is 4 on phones, 8 on tablets and 12 on desktops. Twelve is popular because it divides evenly into halves, thirds, quarters and sixths.
solid answer
~50 sIf a phone-width window kept 12 columns, each would be too narrow to hold anything, and the gutters would eat much of the width. So the **column count scales with the window**: a common convention is **4** columns on phones, **8** on tablets and **12** on desktops. Components then declare a **span per size**: a candidate card in an applicant-tracking tool spans all 4 columns on a phone, 4 of 8 on a tablet and 3 of 12 on a desktop, so it shows one, two and four per row. **Twelve** is popular because it divides by 2, 3, 4 and 6, so halves, thirds, quarters and sixths are all whole spans; very dense tools sometimes use 16 or 24. At the narrowest widths, layouts usually collapse to a single column, which also supports WCAG 2.2 **1.4.10 Reflow** (AA).
go deeper
Recall the common 4, 8 and 12 convention and that components span a different number of columns at each size.
Explain why narrow windows need fewer columns, why 12 divides so well, and how spans map when the count doubles.
Show how you document spans per size for real layouts and handle regions such as wide tables at the narrowest width.
Discuss whether a dense product justifies 16 or 24 columns, and the cost that finer grids add for every team placing content.
## Why the count changes A column is only useful if it is wide enough to be meaningful. Take a phone window 360 units wide with 16-unit margins and 16-unit gutters: | Columns | Space left for columns | Each column | |---|---|---| | 12 | 328 - 11 x 16 = 152 | about 12.7 | | 4 | 328 - 3 x 16 = 280 | 70 | Twelve columns of under 13 units are useless, and the gutters would take more space than the columns. Four columns of 70 still let components span one, two or four. As the window grows, more columns become useful, so the count rises. ## Common counts and why | Window range | Common count | Why | |---|---|---| | Phone | 4 | wide enough columns; halves and quarters still possible | | Tablet | 8 | doubles the phone grid, so phone spans map cleanly | | Desktop | 12 | the most divisible small number | | Very wide or dense tools | 12, 16 or 24 | finer placement for dashboards and data views | These are **conventions**, not rules any standard sets. They are popular because each step doubles or divides neatly, which makes it easy to reason about spans moving between sizes. ## Why twelve Twelve is divisible by 1, 2, 3, 4, 6 and 12, so a page can be split into: - halves (6 + 6), - thirds (4 + 4 + 4), - quarters (3 + 3 + 3 + 3), - sixths (2 each), - uneven but whole splits such as 8 + 4 or 9 + 3. Ten columns, by contrast, cannot make thirds; sixteen cannot make thirds either. Twelve covers the most common layouts with a small number of columns. ## Spans per size Components do not have one span; they have a **span per window range**. In an applicant-tracking tool: 1. A **candidate card** spans 4 of 4 on a phone (one per row), 4 of 8 on a tablet (two per row), 3 of 12 on a desktop (four per row). 2. The **filter panel** spans the full width on a phone, where it becomes a sheet or a collapsible section, and 3 of 12 on a desktop. 3. The **candidate detail** spans 4 of 4, 8 of 8, and 9 of 12 beside the filter panel. Documenting spans per size in the component or layout spec means every team builds the same layout at every width. The doubling convention pays off here. Because 8 is twice 4, a component spanning 2 of 4 on a phone can span 4 of 8 on a tablet and keep the same proportion of the width. Moving from 8 to 12 is not a clean doubling, so spans there are usually chosen afresh: a half becomes 6 of 12, a quarter 3 of 12, and a third, which the 8-column grid cannot express, becomes available as 4 of 12. That is one reason desktop layouts often introduce three-column arrangements that tablets never show. ## The narrowest layout and Reflow At the narrowest widths, most layouts collapse to a single column so content reads top to bottom. That is also what WCAG 2.2 Success Criterion **1.4.10 Reflow** (Level AA) needs: content must work without scrolling in two dimensions at a width equivalent to 320 reference pixels for vertically scrolling content. The criterion excepts parts that need two-dimensional layout to be understood, such as a data table, which may scroll sideways inside its own region while the rest of the page reflows. The narrowest grid configuration is therefore not just a phone layout; it is also the layout people get when they zoom a desktop window far in. ## What to document - The column count, gutter and margin for each window range. - How spans map between ranges, especially where the count doubles. - Which regions may collapse, stack, or become sheets at small sizes. - Where the ranges start and stop, which is decided in the breakpoint strategy rather than in the grid itself. One warning: a count that differs between design files and code breaks every span, so the numbers belong in one shared place, such as layout tokens or a single grid definition both sides read.
- Why do tablet grids often use 8 columns rather than, say, 6?Eight doubles the common 4-column phone grid, so a component spanning 2 of 4 on a phone maps naturally to 4 of 8 on a tablet, and spans keep their proportions. Six would give thirds but break that clean mapping. Both are defensible; the value of 8 is continuity with the phone grid.
- How does a wide candidate table fit the single-column layout at the narrowest width?The page reflows to one column, and the table scrolls sideways inside its own region. WCAG 2.2's Reflow criterion excepts content that needs two-dimensional layout for its meaning, such as a data table, as long as the rest of the page does not force two-dimensional scrolling.
saying these in an interview costs you the question
- Every layout grid must have exactly 12 columns at every window size.
- More columns on a phone always gives designers more flexibility.
- A component should have a single span that it keeps at every size.
- Twelve columns are popular because most screens are 12 units wide.