Spacing Scale Calculator
Build a spacing scale from a base unit and see each step in px and rem.
How it works
Enter a base unit and the root font size. The tool builds a spacing scale and shows each step in px and rem.
Worked example
A base of 4 px with a 16 px root gives 10 steps, like 2 px (0.125rem) up to 96 px (6rem).
Good to know
- Use a base of 4 or 8.
- Use rem for accessible sizing.
- Stick to the scale.
Common questions
- What is rem?
- A unit relative to the root font size.
- Which base is best?
- 4 and 8 are common.
- Can I change the steps?
- Yes, edit the list of multipliers.
More in Utilities.
Add or Subtract Days
Find the date that is some days, weeks, months, years or working days from a date, and see the weekday and week number.
OPEN →Age CalculatorYour exact age in years, months and days, the day you were born, your next birthday, and the age gap with another person.
OPEN →Area ConverterConvert square metres, square feet, acres, hectares and more.
OPEN →