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
- Enter a number or choose an option.
- Read the result and the preview.
- 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
Fluid Font Size clamp() GeneratorCreate a font-size clamp() that scales smoothly between phones and large screens.Golden Ratio CalculatorSplit sizes by the golden ratio 1.618 for layouts, logos and content columns.8px Grid RounderRound spacing and sizes to multiples of 8 (or 4) for an even interface.Vietnamese Font PreviewerPreview Vietnamese text with diacritics using fonts on your computer or your own font file.VW and VH Units CalculatorConvert px from a design file into vw, vh, vmin and vmax.Font Pairing ToolTry heading and body font pairs, see them on a sample article, and get the CSS code.
See all design tools