# 3.22 Use one step scale for space and size

> Chapter 3, Layout and hierarchy. Section: Promos, fine print, and consistency. Guide: https://www.designguide.dev/md/03-layout-and-hierarchy.md#use-one-step-scale-for-space-and-size

Default

**Rule:** Set every gap, margin, and padding from one scale of 4, 8, 16, 24, and 32 px.

**Why:** A fixed scale makes gaps match on every screen and gives an agent exact numbers.  **When not:** A drawn icon or image can use its own size; keep the space around it on the scale.

- Use 8 px inside a group and 24 px between groups.
- Use a 16 px margin on each side of a phone screen.
- Use text sizes from [3.5](https://www.designguide.dev/r/use-2-weights-and-up-to-4-sizes.md).

| Use | Value in px |
| --- | ---: |
| Gap inside a group | 8 |
| Gap between groups | 24 |
| Screen margin on a phone | 16 |
| Space under the hero | 32 |
| Gap between an icon and its text | 8 |
| Button and row height on a phone | 44 |
| Hero text size | 32 |
| Title text size | 20 |
| Body text size | 16 |
| Caption text size | 12 |

**See:** [3.5 Use 2 weights and up to 4 sizes](https://www.designguide.dev/r/use-2-weights-and-up-to-4-sizes.md)
