Grid Calculator

Work out column widths from the page width, number of columns and gutter.

How it works

Works out column widths from the page width, the number of columns and the gutter.

The formula

column = (page width - gutter x (columns - 1)) / columns

Worked example

A 1200 px page with 12 columns and a 24 px gutter: (1200 - 24 x 11) / 12 = 78 px per column.

Common questions

What is a gutter?
The space between columns.
Does it include side margins?
Yes. Type the side margin and it is taken off the page width first.
Is it uploaded?
No. Everything runs in your browser and nothing leaves your device.

More in Design.