a twelve column grid
- Container width
- 1,200
- Columns
- 12
- Gutter between columns
- 24
- Outer margin each side
- 0
- Columns to span
- 4
Column width78
4 * 78 + 3 * 24, which is more than 4 * 78
Open this exampleColumn widths for a layout grid, and the width of a span. A span of four columns is wider than four column widths, because it swallows the gutters between them.
Also called: css grid calculator, layout column width.
Each of 12 columns is 78 wide with 24 gutters. A 4-column element spans 384, which is 32% of the content width.
Subtract the outer margins and the gutters, then divide what remains by the column count. The detail that catches people is the span: four columns spanning includes the three gutters between them, so it is wider than four times the column width. Getting that wrong is why a layout drifts a few pixels out of alignment at larger spans.
column width divides what is left after margins and gutters; a span includes the gutters it crossesEach of these is asserted on every build. If a change to the engine ever moved one of these answers, the build would fail before the page could print it.
Column width78
4 * 78 + 3 * 24, which is more than 4 * 78
Open this exampleColumn width100
boundary
Open this exampleFormula version 1.0.0 · definition 1.0.0 · United States · Report a problem with this calculator