Pixels to Rem (px to rem)

1 px = 0.0625 rem. Type any value below to convert pixels to rem instantly.

From
To
0.0625

How to convert pixels to rem

rem = px รท 16

Example: 10 px = 0.625 rem.

What are pixels and rem?

A CSS pixel is 1/96 of an inch.

A rem is a multiple of the root font size. This converter assumes the browser default of 16 px.

Conversion factors follow NIST Special Publication 811.

Pixels to Rem table

Pixels (px)Rem (rem)
1 px0.0625 rem
2 px0.125 rem
3 px0.1875 rem
4 px0.25 rem
5 px0.3125 rem
6 px0.375 rem
7 px0.4375 rem
8 px0.5 rem
9 px0.5625 rem
10 px0.625 rem
12 px0.75 rem
15 px0.9375 rem
20 px1.25 rem
25 px1.5625 rem
30 px1.875 rem
40 px2.5 rem
50 px3.125 rem
75 px4.6875 rem
100 px6.25 rem
250 px15.625 rem
500 px31.25 rem
1000 px62.5 rem

Frequently asked questions

What is 1 px in rem?

1 px equals 0.0625 rem.

How do I convert pixels to rem?

Use the formula rem = px รท 16. For example, 10 px is 0.625 rem.

Is this pixels to rem converter accurate?

Yes. It uses the standard conversion factor and shows up to 8 significant figures. Round the result to suit what you are measuring.

Related conversions