Skip to content
Takikit

Spacing Scale Generator

Create an even set of spacing values for a design system and export CSS variables.

Loading tool...

Runs in your browser. Nothing is sent anywhere.

When to use it

Use this when starting a web project or brand design system and you need a fixed set of spacing values everyone shares instead of ad hoc numbers.

A linear scale is easy for detailed interfaces; a geometric scale grows faster at large sizes, suiting airy pages. CSS variables are named --khoang-1 onward.

How to use

  1. Enter a number or choose an option.
  2. Read the result and the preview.
  3. Click copy.

Frequently asked questions

Is the data I enter sent anywhere?

No. All calculations and processing run in JavaScript right in your browser. Takikit has no server that receives data, and you can turn off your internet after opening the page and the tool will still work.

Related tools

More Design tools

See all design tools