AccuUnit
Typography Converter

Convert REM to Pixel.

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

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

Bookmarks

No bookmarks saved.

Recent Conversions

No conversion history yet.
Overview

About converting rem to pixels

Rem to pixels is the conversion that tells a developer exactly how large a rem-based size will render, given the root font size.

With the standard 16 px root, converting rem to pixels means multiplying by 16: 1 rem is 16 px, 1.25 rem is 20 px, and 2.5 rem is 40 px.

Translating rem back to pixels is handy when matching a design handed over in pixels, or when debugging why an element renders larger than expected on a site that has changed its root font size. Remember the multiplier is whatever the root font size actually is — 16 px is only the default, not a guarantee.

Practical Tips
  • Default math: rem × 16 = px.
  • If a site sets html { font-size: 62.5% }, the root becomes 10 px and 1 rem = 10 px instead.

How to Convert REM to Pixels

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

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

REM (rem)

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

What is a Pixel?

Pixel (px)

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

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

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
Questions

Frequently Asked Questions

How do I convert rem to pixels?

Multiply the value in rem by the conversion factor 16. For example, to convert 5 rem to pixels: 5 × 16 = 80.0000 px.

What is the conversion factor from rem to pixel?

The conversion factor is 16. One rem is equal to 16 pixels.

What is the reverse conversion from pixel to rem?

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

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