Skip to content
Local

Design

Spacing Scale Generator

Build an 8-point (or any) spacing scale as px or rem CSS tokens and snap any size to the grid.

Runs in your browser. Nothing leaves this device.

Open Spacing Scale Generator

Free, no account, no watermark and no daily limit.

Open Spacing Scale Generator

How to use Spacing Scale Generator

  1. 1Set the base unit, 8 by default, and how many steps you want.
  2. 2Pick px or rem and CSS, Tailwind or JSON.
  3. 3Copy the tokens, or type a size to snap it to the grid.

Questions

What is an 8-point grid?

A habit of making every margin, padding and size a multiple of 8 pixels, with 4 for small gaps. It keeps spacing consistent and scales cleanly on common screens.

What do the three scale types do?

Grid uses the usual 8-point steps (4, 8, 12, 16, 24, 32 and so on). Linear adds the base each step. Geometric multiplies by a ratio, so big steps grow faster.

How is rem worked out?

Pixels divided by the root font size, 16 unless you change it. 24px is 1.5rem at 16.

Is anything saved or sent?

No. Everything runs in your browser.

Is it free?

Yes. No account, no watermark and no daily limit.

Esc