AccuUnit
Programmatic SEO Converter

Convert Pixel to REM.

Input the value of pixels below to convert instantly to rem with standard conversions, definitions, and equations.

Typography Converter
px
rem
Value in REM = Value in Pixels × 0.0625 Multiply the value in pixels by the conversion factor 0.0625.

Bookmarks

No bookmarks saved.

Recent Conversions

No conversion history yet.

How to Convert Pixels to REM

To convert pixel to rem, we use the official conversion formulas. Below is the mathematical formula, plain-English explanation, and a worked example.

px-to-rem-formula.py
# Mathematical Formula
Value in REM = Value in Pixels × 0.0625
# Worked Example (5 px)
5 px × 0.0625 = 0.3125 rem
What is a Pixel?

Pixel (px)

The core unit of screen measurements. Represented as 1/96 of an inch.

What is a REM?

REM (rem)

Font size of the root element (assumed to be 16px by default).

Pixel to REM Conversion Table

Pixel (px) REM (rem)
1 px 0.0625 rem
2 px 0.125 rem
3 px 0.1875 rem
5 px 0.3125 rem
10 px 0.625 rem
15 px 0.9375 rem
20 px 1.25 rem
25 px 1.5625 rem
50 px 3.125 rem
100 px 6.25 rem
250 px 15.625 rem
500 px 31.25 rem
1000 px 62.5 rem

REM to Pixel Conversion Table

REM (rem) Pixel (px)
1 rem 16 px
2 rem 32 px
3 rem 48 px
5 rem 80 px
10 rem 160 px
15 rem 240 px
20 rem 320 px
25 rem 400 px
50 rem 800 px
100 rem 1600 px
250 rem 4000 px
500 rem 8000 px
1000 rem 16000 px
Questions

Frequently Asked Questions

How do I convert pixels to rem?

Multiply the value in pixels by the conversion factor 0.0625. For example, to convert 5 pixels to rem: 5 × 0.0625 = 0.3125 rem.

What is the conversion factor from pixel to rem?

The conversion factor is 0.0625. One pixel is equal to 0.0625 rem.

What is the reverse conversion from rem to pixel?

To convert rem back to pixels, multiply by 16 (or divide the value by 0.0625). One rem is equal to 16 pixels.

How many pixels are in 1 rem?

By default in modern browsers, 1 rem is equal to 16 pixels.

How do you convert pixels to rem?

Divide the pixel value by your base font size (usually 16). For example, 24px is 24 / 16 = 1.5 rem.

Related Typography Conversions

Calculator