Free tools
English
CSS spacing scale
CSS spacing scale — choose your inputs and copy or save the result. Input guide: Base, Count. No account needed.
No account needed
Loading tool…
How to use
- 1Input guide: Base, Count.
- 2Run the tool and review the result.
- 3Copy result / Save result file.
Good to know
Check input ranges and units. Results depend on your inputs and your browser.
Ads may process connection data. Personalization follows your privacy choices. Privacy (English)
Worked input and output example
These results come from this tool’s actual engine using the sample values below, not your personal input or saved work. Load the example in the tool to inspect the same inputs.
Example input
| Field | Value |
|---|---|
| Base | 4 |
| Count | 8 |
Example result
:root {
--space-1: 4px;
--space-2: 8px;
--space-3: 12px;
--space-4: 16px;
--space-5: 20px;
--space-6: 24px;
--space-7: 28px;
--space-8: 32px;
}Input constraints
These are the actual input validation limits; they are not a guarantee that every accepted value is realistic or that a model applies to your situation.
- Base: Accepted range: 0.000000001 ≤ x ≤ 1,000,000,000,000
- Count: Accepted range: 1 ≤ x ≤ 32 · Whole numbers only