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.
UI Density
How tightly a screen packs its parts. Dense fits more, and roomy is easier to tap.
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.
Pixels per Inch (PPI)
How many pixels fit in one inch. Print often wants 300.
PPI is how many pixels fit into one inch, on a screen or on paper. DPI, dots per inch, is the same idea for a printer's ink dots, and people often mix the two names. A common target for sharp print is 300 per inch. So a 6 by 4 inch photo print wants about 1800 by 1200 pixels. On the web, only the pixel count matters, not the PPI number saved in the file.
pixels needed = print size in inches × PPIIn one line
- UI Density
- How tightly a screen packs its parts. Dense fits more, and roomy is easier to tap.
- Pixels per Inch (PPI)
- How many pixels fit in one inch. Print often wants 300.