Skip to content
TabKiwiTabKiwi

8px Grid Calculator

Snap sizes to an 8-point or custom grid and work out column widths for a layout grid.

DesignRuns in your browser. Your files never leave this device.
Loading tool…

About this tool

Paste a list of sizes to snap each one down, up or to the nearest multiple of your grid unit. Below that, enter a container width, number of columns, gutter and margins to get the exact column width and a CSS grid you can copy. It flags whether the columns land on your grid.

How to use 8px Grid Calculator

  1. Set the grid unit (8px by default).
  2. Paste the values to snap.
  3. Enter container width, columns, gutter and margin.
  4. Copy the snapped values or the CSS grid.

Frequently asked questions

Why design on an 8-point grid?

Most screen sizes divide evenly by 8, so elements scale cleanly across densities, and a limited set of values speeds up decisions.

My column width is not a whole number. Is that a problem?

Not in CSS, where fractional pixels are fine. If you need whole pixels, adjust the gutter or container width until the columns divide evenly.

More Design tools

View all 33 →