In short: white space in design is the empty area between and around the elements of a layout: margins, padding, gaps between sections, and the space between lines and letters. It doesn’t have to be white. Much the same conclusion turns up on wpdean.com.
Its job is to show what belongs together, what matters most and where the eye goes next. Used on purpose, it makes text easier to read and buttons easier to find. A page only looks empty when the space has no job, or when the content itself is thin.
This guide covers the four types of white space, the mechanism behind them and named examples. It then gives concrete padding values for web layouts, procedures for CSS, WordPress and Figma, and the arguments that work when a client asks you to fill the gap.
What is white space in design?
White space, also called negative space, is any part of a composition that holds no design element: no text, image or graphic.
In web design, it’s the margin around a section, the gap between a headline and its paragraph, the padding inside a button and the line height of body text. In a brochure it’s the outer margin, the gutter between columns and the room around a product photo. None of it is blank leftover room: each gap is a decision.
The name is misleading, because the colour doesn’t matter. A dark luxury site can be full of white space, and so can a page with a pale green background or a blurred photo behind the headline. What makes it white space is that the area isn’t carrying the main message.
Designers use “white space” and “negative space” for the same thing in most work. “Negative space” is more common in art and logo design, where the empty shape forms a second image of its own. “White space” is more common in web design and UI (user interface) design.
White space isn’t minimalism either. A minimalist style decides how much content to show.
White space is a structural tool that every layout uses, including a dense newspaper page. You can build a busy page with excellent spacing, and a sparse page with poor spacing. Nor is it wasted space: an empty area doesn’t mean the designer ran out of content.

How white space works: proximity and figure-ground
Two principles from Gestalt psychology explain almost everything spacing does. Gestalt psychology studies how people organise what they see into groups and shapes.
The first is proximity. Elements placed close together look related, and elements set apart look separate. Max Wertheimer described it in 1923.
A caption next to a photo reads as part of that photo, and a price next to a product reads as that product’s price. So the space between elements carries meaning before anyone reads a word.
The second is figure and ground. The eye separates a subject (the figure) from its background (the ground). Edgar Rubin’s 1915 vase illusion shows how the same outline reads as a vase or as two faces, depending on which area the brain treats as the figure. Without enough ground, a card melts into the page and a logo merges with whatever sits next to it.
From these two principles comes the one rule worth memorising: the space inside a group must be visibly smaller than the space around it. A form label sits closer to its own field than to the next field. A heading sits closer to the paragraph it introduces than to the section above. When the inner and outer gaps look equal, the groups disappear.
The same logic works in a navigation menu, where a little extra space before “Log in” separates it from the main links. That’s why spacing is a user experience issue as much as a visual one.
The four types of white space
Designers classify white space two ways. Macro and micro describe the scale of the gap. Active and passive describe its intent, whether someone placed it to direct attention or it simply comes from the type and the grid.
| Scale / intent | Active (placed to guide attention) | Passive (comes from type and grid) |
|---|---|---|
| Macro | Wide space around a hero headline or a pricing card | Standard page margins and gaps between sections |
| Micro | Extra padding around a “Buy now” button | Line spacing inside a paragraph, letter spacing |
Macro white space is the big structure: page margins, the space between major sections, the room around key images. You notice it before you read anything, and it decides whether a page feels calm or rushed.
Micro white space lives inside and between small elements. It covers leading (the space between lines of text), tracking and kerning (the space between letters), the gaps between list items and the padding inside buttons. It mostly controls readability, so a few pixels change how tiring a paragraph feels.
Active white space is intentional: it’s added to isolate something. Isolation is a cheap form of emphasis: you don’t need a brighter colour or a bigger size when the surrounding elements step back. Passive white space is the quiet background work of the grid and the typeface. Nobody notices it until it’s gone and the text feels cramped.
Why white space matters for readers and brands
Readability. People scan web pages more than they read them. In a 1997 study, Jakob Nielsen found that 79% of test users scanned a new page and only 16% read word by word.
Spacing gives a scanning eye places to land: headings that stand apart, short paragraphs and lists with air between items. Clutter does the opposite, because it leaves the viewer working out where to look.
Text also needs breathing room at its edges, since copy pressed against the border of a card or an image is harder to read.
Visual hierarchy. Visual hierarchy is the order in which people notice elements. The element with the most room around it reads as the most important.
That’s why a call to action (CTA), the button that asks for the next step, works better in its own zone than squeezed between two paragraphs. It’s also why the CTA should still sit near the message it supports, or it starts to feel unrelated.
On a product page, the product image and the “Add to cart” button get the most room, so shoppers know where to look first.
Perceived quality and tone. Generous space tends to feel premium, calm or exclusive, and luxury brands rely on it for a polished sense of elegance. Dense layouts signal value, energy and urgency, which is why discount retailers pack offers together. Neither is wrong: a flash-sale flyer and a jewellery catalogue need different amounts of space, and the spacing should match the brand identity and the message.
One warning before you quote numbers to a client. Claims such as “white space improves comprehension by 20%” circulate widely, yet their origin is hard to trace. In our view, principles you can demonstrate on the client’s own page persuade better than a round number nobody can source.

Examples of white space in design
The best examples show white space doing a specific job, not just looking clean. There is more on it in Why White Space Matters.
- Google’s search homepage. The page holds little more than the logo, the search box and a few links at the edges. All that emptiness points at a single action, typing a query, and shows that simplicity comes from fewer elements rather than smaller gaps.
- Apple’s product pages. Each device gets a hero shot with plenty of room around it. The space makes expensive products feel premium and keeps the product itself as the only focal point.
- Medium’s reading view. Articles sit in a narrow column with wide margins and generous line spacing. The page feels closer to a book than a website, which suits a platform whose visitors come to read.
- The FedEx logo. Designer Lindon Leader built an arrow into the negative space between the “E” and the “x”. The empty shape adds a second meaning, movement and speed, without adding a single element.
- The Pittsburgh Zoo logo. At first glance you see a tree. Look again and a gorilla and a lion appear in the negative space on either side of the trunk.
A useful counter-example is a data dashboard or an admin screen. Users compare many numbers at once there, so high density is the right choice. Good dashboards still use white space, but through consistent row spacing, clear column gaps and strict alignment rather than big empty areas.
How much padding to use in web layouts
There’s no universal amount. What works is a small spacing scale used everywhere, with gaps chosen by relationship. A common starting point is the 8-point scale, where every value is a multiple of 4 or 8.
| Value | Typical use |
|---|---|
| 4 px | Icon to label, tight inline gaps |
| 8 px | Label to field, items in a list |
| 16 px | Padding inside buttons and cards |
| 24 px | Between related blocks, between form fields |
| 32 px | Between cards or form groups |
| 48 px | Between page sections |
| 64 px and more | Around hero content and major breaks |
Text spacing. A common starting point for body text is a line height of about 1.4 to 1.6 times the font size, close to the 1.5 used by the accessibility rules below.
Typographer Robert Bringhurst recommends roughly 45 to 75 characters per line, with around 66 as a comfortable target. On screen, separate paragraphs with space rather than indents.
The WCAG (Web Content Accessibility Guidelines, published by the W3C) go further. They rank criteria in three levels, from A (the minimum) to AAA (the strictest). At level AAA, criterion 1.4.8 asks for lines of no more than 80 characters and line spacing of at least 1.5 within paragraphs.
Your layout must also survive a reader’s settings. WCAG 2.2 criterion 1.4.12, Text Spacing, sits at level AA, the middle level and the usual target for websites. It requires that the page keeps all its content when a user raises line height to 1.5 times the font size and paragraph spacing to 2 times. The same applies to letter spacing at 0.12 times and word spacing at 0.16 times.
It doesn’t force these values on your design. It forbids containers that clip or overlap text when someone applies them.
Buttons and touch targets. Spacing between tappable items is a usability issue, not just a look. WCAG 2.2 criterion 2.5.8 sets a minimum target of 24 by 24 CSS pixels at level AA, with an exception when enough space surrounds a smaller target. Platform guidelines ask for more: 44 by 44 points in Apple’s Human Interface Guidelines, and 48 by 48 dp (density-independent pixels) in Google’s Material Design.
Applying white space in CSS, WordPress and Figma
In CSS. Store your scale in custom properties, so every gap comes from the same few values. Use clamp() for section spacing, because it shrinks on phones without disappearing. Set the line length with the ch unit, which equals the width of the “0” character.
:root {
--space-sm: 0.5rem; /* 8px */
--space-md: 1rem; /* 16px */
--space-lg: 2rem; /* 32px */
--space-section: clamp(3rem, 6vw, 6rem);
}
section { padding-block: var(--space-section); }
.article p { max-width: 65ch; line-height: 1.5; }
.card { padding: var(--space-lg); }
.stack > * + * { margin-top: var(--space-md); }
.grid { display: grid; gap: var(--space-lg); }
Prefer gap in grid and flex layouts over margins on each child. It spaces items only between them, so you don’t fight stray margins at the edges.
In the WordPress block editor. Select a Group, Columns or Cover block and open the Styles tab of the block settings sidebar.
The Dimensions panel holds Padding, Margin and Block spacing, the gap between the blocks inside. Where the theme defines spacing presets, the controls show a slider of preset steps instead of free values. Stick to the presets.
A block theme sets that scale in theme.json, under settings.spacing.spacingScale or spacingSizes, and the default gap between blocks under styles.spacing.blockGap.
In Figma. Add auto layout to a frame (Shift + A), then set the gap between items and the padding in the right panel. Save your spacing values as number variables so every component pulls from the same scale. Use nested auto layout frames to follow the inner-smaller-than-outer rule: a tight frame for label and field, and a looser parent frame for the form groups.

White space on mobile and in print
Mobile. A desktop page can survive tight spacing. A phone can’t, because cramped buttons become mis-taps and sections blur into one long block.
Shrinking the desktop layout isn’t enough, so review spacing at phone width on a real device. Reduce section gaps there, but don’t remove them. When space runs short, prioritize content and cut what’s secondary before you squeeze elements together.
Google recommends responsive design for mobile-first indexing, so one layout adapted to every screen is also the simplest choice for SEO.
Print. The same principles apply with physical constraints. Generous outer margins, consistent gutters and real line spacing make a brochure or annual report feel inviting, and room around imagery gives a balanced composition.
A safe zone keeps text away from the trim, so the guillotine doesn’t clip it. As a common starting point, many printers ask for 3 mm of bleed and keep text a few millimetres inside the trim line, but always check your printer’s specification. Logos follow clear-space rules for the same figure-ground reason: the mark needs room to stand apart.
Print ads are the case where density is often a deliberate choice. A promotional retail flyer may use tighter spacing to signal energy, while a premium brand uses generous space to signal calm. Either way, keep the essentials visible: prices, conditions and dates.
How much white space each type of page needs
| If you’re designing… | Do | Avoid |
|---|---|---|
| A landing page or premium product page | Generous macro space, one message per section, an isolated main CTA | A huge hero with one vague sentence |
| A service page for a small business | Clear section breaks, proof (testimonials, results) set apart from sales copy | Full-width coloured bands with no inner padding |
| A blog article | A narrow text column, comfortable line height, space around headings, tables and images | Text running the full width of a large screen |
| An online shop category | Consistent gaps between product cards, room around price and “Add to cart” | Badges and banners on every card |
| A dashboard or data table | High density, consistent row spacing, strict alignment | Card-style padding that forces endless scrolling |
| A form | Label close to its field, more space between fields, errors next to the field | Equal gaps everywhere, so labels attach to the wrong field |
Common white space mistakes and how to fix them
1. The button feels unrelated to its message. The cause is a gap above the button that’s as large as the gap between sections. Fix it by tightening the space between the copy and its CTA and opening up the space after the group.
2. The page looks like stacked bricks. Every section has a full-width background colour but almost no inner padding. The page feels busy even though the sections are separated. Fix it by giving coloured sections generous top and bottom padding, or by dropping some of the backgrounds and letting space do the separating.
3. Spacing feels random. Someone set each gap by eye, so no two match. Visitors can’t name the problem, but the page feels slightly off. See optimiser.com for their take.
Fix it by mapping every gap to your spacing scale and replacing one-off values. Consistency matters more than the exact numbers you pick.
4. An empty strip appears on the right and the page scrolls sideways. This unwanted white space usually comes from one element wider than the screen: a slider, a negative margin, or a section set to 100vw. On desktop browsers with a classic scrollbar, 100vw includes the scrollbar’s width, so the section overflows.
Find the culprit in your browser’s developer tools by hovering elements until one sticks out past the edge. Then switch it to width: 100% or fix its margin. Hiding the overflow on the body only masks the problem. WCAG criterion 1.4.10, Reflow, expects content to work at 320 CSS pixels wide without horizontal scrolling.
5. Text overlaps or disappears when it grows. A container has a fixed height. Translated copy, longer headings or a reader’s text-spacing settings then overflow it. Replace height with min-height and let the layout expand with the content.

How to defend white space when a client says the page looks empty
“There’s a lot of empty space here, can we fill it?” Every designer hears it. Arguing about taste loses. Explaining what each gap does usually wins.
First, check whether the client is right. Sometimes the page really is empty, but the problem is content, not spacing.
A hero with a short headline, one vague sentence and a big background looks clean yet explains nothing. Better content fixes that: a specific headline, a sentence naming the audience and the outcome, one primary button and one proof point. Too much space is also a real fault when it pushes key content far down or breaks groups apart.
Then name the job of each gap. Point to the space around the CTA and say it isolates the main action. Point to the space before a section and say it marks a new topic. Once a gap has a stated purpose, it stops looking like an oversight.
Show, don’t argue. Put the spaced version beside a filled one and blur both, or ask the client to squint. The spaced version still shows clear groups and a clear focal point, while the filled one turns into a grey, crowded block.
Then ask someone outside the project to find a specific item on each version. That says more than asking whether a layout “feels spacious”.
Offer a structured compromise. If the client needs more on the page, add it as a new, well-spaced section rather than squeezing it into existing gaps. Where traffic allows, an A/B test on the page’s main goal settles the question with their own visitors.
How to check that your spacing works
- The blur test. Blur a screenshot or squint. You should still see the main groups and one clear focal point.
- The task test. Ask a person to find a price, a phone number or a sign-up button, and time it.
- The text-spacing test. Apply the WCAG 1.4.12 values with a text-spacing bookmarklet or a CSS override, and check that nothing is clipped.
- Behaviour data. After a spacing change, compare form completion, clicks on the main CTA and scroll depth over a few weeks, using the analytics tool you already have.
For pixelbright.net readers working on both design and SEO, there’s one technical link worth knowing. Space you reserve on purpose also protects layout stability. Give images width and height attributes so the browser holds their space while they load. Content then doesn’t jump, which keeps Cumulative Layout Shift (CLS) low; web.dev treats a CLS of 0.1 or less as good.
White space checklist
- Define a spacing scale (for example 4, 8, 16, 24, 32, 48, 64) and use only those values.
- Make the space inside every group smaller than the space around it.
- Give the main CTA the most room on the page, close to the message it supports.
- Keep body text to 45 to 75 characters per line, with a line height around 1.5.
- Separate paragraphs with space, not indents.
- Check tap targets: at least 24 by 24 CSS pixels, more for main actions.
- Pad coloured sections generously, or drop the background.
- Review spacing at phone width on a real device, and look for horizontal scrolling.
- Replace fixed heights with
min-heightand run the text-spacing test. - When a layout feels crowded, remove or merge content before you move boxes around.
- Blur the page and confirm the groups and focal point still read.
- When a client questions a gap, name its job, or fix the content behind it.
Start with one page, ideally your homepage or your best-performing service page. Apply the inner-smaller-than-outer rule to it, map its gaps to a scale, then run the blur test before and after. Once that page works, document the scale and roll it out to the rest of the site, so new sections inherit good spacing instead of inventing it.
For more practical guides on layout, typography and design that supports search visibility, keep browsing the pixelbright.net blog.
FAQ
Is it white space or whitespace?
Both are correct, and design writers use them interchangeably. In programming, “whitespace” as one word usually means space characters in code, such as spaces, tabs and line breaks. For layout and graphic design, pick one spelling and stay consistent.
What are the two types of space in design?
Positive space and negative space. Positive space is the area occupied by the subject: text, images, shapes. Negative space is everything around and between them, which is what designers call white space.
What is white space in a photo?
It’s the empty or quiet area around the main subject, such as sky, water or a plain wall. That space isolates the subject and leads the eye to it. A lone figure against an empty beach reads more strongly than the same figure in a crowd.
What are the 7 basic principles of design?
Lists vary between teachers and books. A common set of seven is balance, contrast, emphasis, movement, proportion, rhythm and unity, and many lists also add hierarchy, repetition and white space. White space supports most of them, since it creates balance, emphasis and rhythm through the gaps between elements.
Does white space help SEO?
In our view, not directly: we don’t know of any official ranking signal for spacing. Spacing helps indirectly, because readers can scan and use the page, which is the point of good content. The technical side to watch is layout stability, covered above.