# UI Density

> How tightly a screen packs its parts. Dense fits more, and roomy is easier to tap.

**Field:** Design  
**Category:** Design Standards  
**Also known as:** Interface Density, Density Scale, Compact Mode

## Think of it like

A packed bus fits more people, but each one has less room.

## Definition

UI density is how tightly the parts of an interface are packed together. A dense screen uses smaller gaps and shorter rows, so more fits at once. A roomy screen uses bigger gaps, so it is calmer and easier to tap. A design system often offers a few steps, like comfortable and compact. Material Design makes a part 4 pixels shorter for each step down.

## Example

A spreadsheet app offers a compact view. Rows shrink from 36 to 28 pixels, so nearly 30% more rows fit.

## Why it matters

Experts want to see more at once. New users and touch screens need more room.

## Common mistake

Making a touch screen dense. Small targets lead to wrong taps.

## Three principles

- **A few steps.** Comfortable, default and compact.
- **Fit the task.** Dense for data, roomy for touch.
- **Let users choose.** A setting, not a guess.

## Related terms

- [Spacing Scale](https://learn.benibix.com/term/design/spacing-scale)
- [8-Point Grid](https://learn.benibix.com/term/design/eight-point-grid)
- [Design Token](https://learn.benibix.com/term/design/design-token)
- [Fitts's Law](https://learn.benibix.com/term/design/fitts-law)
- [Theming](https://learn.benibix.com/term/design/theming)
- [Google Material Design](https://learn.benibix.com/term/design/google-material-design)

## Told apart from

- [UI Density vs Pixel Density](https://learn.benibix.com/compare/ui-density-vs-pixel-density): People think UI density and pixel density are the same thing, and they are not. Pixel density is how many tiny dots a screen packs into each inch. The hardware sets it. UI density is how tightly a design packs its buttons, rows and gaps. The designer picks it. A sharp phone screen can still show a roomy layout.

![Five panels. UI density: the same list at scale 0, -1 and -2, with rows of 36, 32 and 28 pixels. Motion token: a token named duration-short, 150 ms with standard easing, with arrows to a menu, a dialog and a toast. Optical alignment: a play triangle in a circle at the math center, which looks too far left, and nudged right to the optical center. Pixel grid: a 1-pixel line placed off the grid smears across two pale columns, and on the grid it fills one solid column. Opacity: three blue squares over gray stripes at 100, 60 and 20 percent.](https://learn.benibix.com/diagrams/des9-ui-details.svg)

---

Source: https://learn.benibix.com/term/design/ui-density
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-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
