# Spacing Scale

> A short fixed list of gaps, like 4, 8, 16 and 24 pixels, used for all spacing.

**Field:** Design  
**Category:** Design Standards  
**Also known as:** Spacing System, Space Scale, Spacing Tokens

## Think of it like

It is like a set of cups for baking. You only use the sizes in the set. So a cake comes out the same each time.

## Definition

A spacing scale is a short, fixed list of gaps a team may use for padding and margins, like 4, 8, 16, 24, 32 and 48 pixels. Every space in the product is picked from the list instead of guessed. The steps get bigger as they go, because small gaps need fine control and large gaps do not. The scale is usually stored as spacing tokens.

## Example

Lucy spaces a card with 16 inside and 24 between cards. She never has to wonder if it should be 15 or 17.

## Example code

```css
:root {
  --space-1: 4px; --space-2: 8px; --space-3: 16px;
  --space-4: 24px; --space-5: 32px; --space-6: 48px;
}
```

Every gap in the product is one of these six steps.

## Why it matters

Even spacing makes a product look tidy. The fixed list also ends fights over one pixel.

## Common mistake

Allowing any number. Soon there are 30 slightly different gaps and nothing lines up.

## Three principles

- **A short list.** Pick, do not guess.
- **Grows as it goes.** Fine steps when small.
- **Stored as tokens.** Shared by design and code.

## Related terms

- [8-Point Grid](https://learn.benibix.com/term/design/eight-point-grid)
- [Design Token](https://learn.benibix.com/term/design/design-token)
- [White Space](https://learn.benibix.com/term/design/white-space)
- [Law of Proximity](https://learn.benibix.com/term/design/law-of-proximity)
- [UI Density](https://learn.benibix.com/term/design/ui-density)

![Six bars of growing length labelled 4, 8, 16, 24, 32 and 48 pixels, each a step on the spacing scale.](https://learn.benibix.com/diagrams/spacing-scale.svg)

---

Source: https://learn.benibix.com/term/design/spacing-scale
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-20
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
