Unit Converter Free

Typography Converter

Search

Pixel (px)

Definition: A pixel (short for picture element) is the smallest unit of a digital image or graphic that can be displayed and represented on a digital display device.

History/origin: The concept of pixels dates back to the early days of television and computer monitors. In modern web standards (CSS), a pixel is defined as 1/96th of an inch.

Current use: Pixels are the absolute standard for web design, screen resolution, and digital photography.

Rem (Base 16px)

Definition: Rem stands for "Root Em." It is similar to Em, but instead of being relative to the parent element, it is always relative to the root (html) element.

History/origin: Rem was introduced in CSS3 to solve the "compounding" problem of Em units, where nested elements would become unintentionally large or small.

Current use: Rem is now the preferred unit for modern, accessible web development because it allows for consistent scaling across an entire website.

Pixel (px) to Rem (Base 16px) Conversion Table

Pixel (px) [px]Rem (Base 16px) [rem]
0.01 px0.000625 rem
0.1 px0.00625 rem
1 px0.0625 rem
2 px0.125 rem
3 px0.1875 rem
5 px0.3125 rem
10 px0.625 rem
20 px1.25 rem
50 px3.125 rem
100 px6.25 rem
1000 px62.5 rem

How to Convert Pixel (px) to Rem (Base 16px)

1 px = 0.0625 rem
1 rem = 16 px

Example: convert 15 px to rem:
15 px = 15 × 0.0625 rem = 0.9375 rem

Did You Know?

  • Did you know? In web design, a "Pixel" (px) is actually a relative unit. On modern high-resolution screens (like Retina displays), one CSS pixel can actually consist of multiple physical device pixels!
  • The "Rem" unit stands for "Root Em." Unlike Em, it always scales relative to the HTML root (usually 16px), making it much easier to manage responsive designs.
Scroll to Top