PX to REM Converter

Use this free online px to rem converter tool to convert any px value to the equivalent REM CSS unit value. REM is a relative unit based on the root element font-size, making it ideal for scalable and accessible web designs. This bidirectional converter allows you to instantly convert between pixels and rem units with adjustable base font-size.

To convert pixels to rem, divide the pixel value by the root font-size (typically 16px by default). If you've changed the root font-size, input your custom value in the base field. The converter will automatically update both directions in real-time.

Conversion Formula

rem = px ÷ root font-size

For example, to convert 48px to rem with a root font-size of 16px, calculate 48 ÷ 16 = 3rem. If the root font-size is changed to 20px, then 48px equals 2.4rem because 48 ÷ 20 = 2.4.

PX to REM Converter Conversion Table (Root: 16px)

PXREM
1px0.0625rem
4px0.25rem
8px0.5rem
12px0.75rem
16px1rem
20px1.25rem
24px1.5rem
32px2rem
40px2.5rem
48px3rem
64px4rem
96px6rem
128px8rem
160px10rem
176px11rem
192px12rem
208px13rem
224px14rem
256px16rem
320px20rem
480px30rem
576px36rem
768px48rem
800px50rem
960px60rem
992px62rem
1024px64rem
1120px70rem
1200px75rem
1280px80rem
1440px90rem
1600px100rem
1920px120rem

What is PX?

Pixels (px) are an absolute CSS unit representing a single dot on screen, normatively defined as 1/96th of an inch. They are commonly used for precise element sizing in web design. However, pixels can create accessibility issues as they don't scale with user browser preferences, making them less ideal for responsive typography.

What is REM?

REM (Root EM) is a relative CSS unit based on the root element's font size, typically 16px by default in most browsers. Unlike EM units which cascade based on parent elements, REM provides consistent sizing throughout the document. This makes REM ideal for creating scalable, accessible designs that respect user font-size preferences.

Related Converters