Coastal morning

Free Design Calculators

Spacing Scale Generator

Generate a proportional spacing system and copy it as CSS custom properties.

What this tool does

Create a repeatable rhythm from one base value.

The generator compounds a base spacing value by a chosen ratio for a defined number of steps.

It visualizes the relative progression and exports the result as numbered CSS custom properties.

Use the tool

Generate a spacing scale

Set a base, ratio, and number of steps, then copy the resulting tokens.

Build a consistent spacing scale

px
×
steps

Spacing tokens

space-14px
space-28px
space-316px
space-432px
space-564px
space-6128px
space-7256px
space-8512px

How to use it

Three quick steps

  1. 1Choose the smallest reusable spacing value.
  2. 2Set a ratio and step count.
  3. 3Copy the CSS variables and test whether the scale supports real component needs.

Worked example

Create a compact doubling scale

Start at 4px with a ratio of 2.

The sequence produces 4, 8, 16, 32, and larger reusable spaces.

FAQ

Questions about the spacing scale generator

Practical details about using the tool and understanding its result.

Keep working

From one asset to the whole workflow

Carry a consistent spacing rhythm through every approved interface.

Draftroom keeps projects, creative files, feedback, revisions, and approvals connected in one workspace.

See Draftroom with your project