8 Point Spacing Scale That Keeps Layouts Consistent
Open a page you made six months ago and measure the gaps. Not the layout, just the gaps. A settings panel I inherited last year had padding values of 14, 15, 18, 20, 22 and 25 pixels inside components that were meant to look like siblings.

Open a page you made six months ago and measure the gaps. Not the layout, just the gaps. A settings panel I inherited last year had padding values of 14, 15, 18, 20, 22 and 25 pixels inside components that were meant to look like siblings. Every one of those numbers had been arrived at honestly, by someone dragging a handle until it looked right in that moment, on that screen, with that content in it.
The page did not look broken. It looked slightly cheap, in the way that is almost impossible to point at in a review. Nobody says "your padding is 18 instead of 16". They say the design feels a bit unresolved, and then you spend an afternoon moving things around and making it worse. A spacing scale is the cheapest fix available for that specific complaint, and it takes about twenty minutes to adopt.
Why eight, and not some other number
The argument for 8 is arithmetic rather than aesthetics. Interfaces get rendered at several pixel densities, and the common multipliers are 1.5x, 2x and 3x. Eight multiplies into whole numbers at all three: 12, 16 and 24. Ten does not, which is how a 10 pixel gap becomes 15 on an Android device at 1.5x and lands on a half pixel boundary that the renderer resolves by blurring one edge. You will not usually see it. The device sees it every frame.
The second argument is the one that matters more in practice. A scale replaces an open ended decision with a closed one. Choosing a gap from an infinite range is a design problem every single time. Choosing between 16 and 24 takes a second, and the answer is consistent across a file because there is no third option sitting between them.
I use 4 as a half step for the inside of small controls, then 8, 12, 16, 24, 32, 48, 64 and 96. Nine values. Past 96 the numbers stop needing to relate to each other because the spaces are large enough that nobody compares them, so section padding can be whatever the layout wants.
Which step goes where
The values below are what I have shipped repeatedly on web work at normal body sizes, around 16 to 18 pixel text. They are a starting position, not a rule.
| Relationship | Step | Why |
|---|---|---|
| Icon to its label | 8 | They read as one object, so the gap must be smaller than any gap around them |
| Field label to input | 4 or 8 | Pairs that belong together need an obvious difference from the gap between pairs |
| Between stacked form fields | 24 | Three times the label gap is enough separation to read as a list |
| Padding inside a card | 16 on phone, 24 on desktop | Content needs room to not touch the border radius |
| Between cards in a grid | 16 to 24 | Match or slightly exceed the internal padding, never less |
| Above a heading, below it | 32 above, 8 below | A heading belongs to the text under it, not the text above it |
| Between page sections | 64 to 96 | The gap that tells a reader a new idea started |
The heading row is the one that changes pages most. Equal space above and below a subheading makes it float between two blocks, belonging to neither, and readers scanning a long article lose the structure. Pushing the ratio to something like four to one attaches the heading downward and the hierarchy appears without any change to type size. That grouping effect is the same mechanism described in proximity and how spacing groups your content, applied to one specific pair of elements.
The scale is for gaps, not for everything
Here is where I part company with most of the advice on this. The common version says to put every number in the file on the grid: paddings, margins, type sizes, line heights, radii, icon dimensions, the lot. I tried working that way for about three months on a design system and it produced worse results than the sloppy file it replaced.
Type does not want to be on an 8 point scale. A readable set of sizes grows by ratio, not by addition, which gives you values like 14, 18, 23, 29 and 37. Forcing those to 16, 24, 32 and 40 compresses the small end, where you need fine distinctions between body text and captions, and stretches the top end into sizes nobody asked for. Line height is worse: a comfortable measure is somewhere near 1.5 times the size, and rounding that to the nearest 8 throws away the control you most need for dense text.
Border radius, hairline borders, letter spacing and optical nudges all sit outside the scale too. A one pixel border is one pixel. A radius of 6 is often right when 8 looks soft and 4 looks sharp. And the two pixel correction you apply to a triangle inside a circular button is a correction, not a measurement, so putting it on the grid defeats the point of making it.
Keep the scale where it earns its keep: the distance between things. That covers padding, margins, gaps in flex and grid containers, and the offsets of absolutely positioned elements. Everything else is free.
Retrofitting a page you already built
You do not need to redraw anything. The process is mechanical and goes faster than people expect, because most files have far fewer unique spacing values than they feel like they have.
- List every distinct spacing number in the file. In design software, select frames and read the auto layout values; in CSS, search for padding, margin and gap. The settings panel I mentioned had 23 distinct values, which collapsed to 7.
- Map each one to the nearest step, rounding down when the choice is close. Rounding down keeps layouts tighter and tends to look deliberate; rounding up loosens everything slightly and reads as padding by accident.
- Fix the largest gaps first. Section spacing has the biggest visual effect and the lowest risk of breaking a component.
- Check the two pairs that commonly need a tiebreak: gap between cards versus padding inside them, and gap between form fields versus the label to input gap. Both must be clearly different, not nearly the same.
- Save the values as variables or tokens before you move on, or the file will drift back within a month. Naming them by size rather than by purpose, so space-16 rather than space-card, keeps them reusable.
Two things usually look wrong immediately after this pass and are not. Dense tables will feel slightly airier, because cell padding often sits at 10 or 12 and moves to 16. And long pages get taller, sometimes by a screen or more, which is a real cost worth accepting in exchange for a reader who can tell where sections begin. If you want the same discipline applied to columns and gutters rather than vertical rhythm, Figma layout grids for beginners covers the numbers that go with it, and there is more of this kind of thing in the layout principles section.
FAQ
Is a 4 point scale better than 8?
A 4 point scale gives you more steps and therefore more decisions, which defeats half the purpose. I keep 4 available as a single half step for tight interior spacing and build everything else on 8. If you find yourself reaching for 4 constantly, the components are probably too cramped.
Does this apply to print work?
The pixel density argument does not, so the specific number 8 has no special claim on paper. The consistency argument holds exactly the same. On print work I build the scale from the body leading instead, which gives something like 4, 8, 12, 24 and 48 points depending on the text size.
What about a baseline grid?
A true baseline grid, where every line of text lands on a shared horizontal rhythm, is wonderful in print and an ongoing fight on the web, because images, embeds and variable content keep knocking text off the lines. A spacing scale gets you most of the visual benefit for a fraction of the maintenance.
When should I break the scale?
When a specific piece of content needs it and you can say why out loud. A hero section that wants 120 pixels of breathing room, or a logo that needs a 3 pixel nudge to sit level in its container, are fine. The test is whether the exception is a decision or a leftover.
More in Layout Principles
Layout Principles
Asymmetric Balance in Layout and How to Keep It Stable
A student sent me a landing page last month that she described as nearly right.
Layout Principles
Optical Alignment and Why Centered Text Looks Off
You centre a play icon inside a round button. The numbers are perfect, both margins identical to the decimal, and the triangle...
Layout Principles
F Pattern Layout and How People Scan Text Heavy Pages
You wrote a clear, useful page, but analytics show people leave after a few seconds and nobody reaches the important part...