Pixels (CSS) (px)

The CSS pixel (px) is the basic unit of length on the web, defined as exactly 1/96 of an inch, or 0.75 points.

Convert pixels (CSS) to any typography unit

1 pixel (CSS) = 0.75 points

Quick facts

Unit
Pixel (CSS) (plural: pixels (CSS))
Symbol
px
Measures
Typography
System
Digital
Equals
0.75 points
Definition
Exactly 1/96 inch (0.75 pt).

1 pixel (CSS) in other units

Points0.75 pt
Ems0.0625 em
Picas0.0625 pc
Millimeters0.2645833333 mm
Rems0.0625 rem
Inches0.01041666667 in

What is a pixel (CSS)?

The CSS pixel (px) is the basic unit of length on the web, defined as exactly 1/96 of an inch, or 0.75 points. It is a reference unit rather than a physical dot: on high-density ("Retina") screens one CSS pixel is drawn with two, three or more device pixels, so layouts look the same size on every screen.

Where the pixel (CSS) sits among typography units

The pixel (CSS) is number 4 of 28 on our scale of typography units, ordered from smallest to largest.

What pixels (CSS) are used for

  • Web design and CSS: font sizes, margins and image dimensions.
  • App and user-interface design (similar to iOS points and Android dp).
  • Converting print sizes to screen sizes: 12 pt = 16 px.

Pixels (CSS) in real life

  • Default browser text: 16 px (12 pt).
  • A minimum comfortable touch target: about 44–48 px.
  • A 1920 px wide image at 96 px per inch spans 20 inches.

Top pixel (CSS) conversions

Common amounts of pixels (CSS)

Convert pixels (CSS) to all 27 other units

Digital

Traditional

Classic type sizes

Convert to pixels (CSS)

Frequently asked questions

What is a pixel (CSS)?

The CSS pixel (px) is the basic unit of length on the web, defined as exactly 1/96 of an inch, or 0.75 points.

How is the pixel (CSS) defined?

Exactly 1/96 inch (0.75 pt).

How many points are in a pixel (CSS)?

One pixel (CSS) equals 0.75 points.

How many ems are in a pixel (CSS)?

One pixel (CSS) equals 0.0625 ems.

How many picas are in a pixel (CSS)?

One pixel (CSS) equals 0.0625 picas.