rem to px Converter.

1 rem = 16 px, so 1.5 rem = 24 px. Type any value below to convert rem to px instantly.

rem
Copied ✓
px
Copied ✓

Reference Table

px rem em pt %
0.0240.00150.00150.01800000450.15
0.240.0150.0150.1800000451.5
2.40.150.151.815
241.51.518.000005150
2401515180.0000451500
24001501501800.000515000
240001500150018000.0045150000

How to convert rem to px

Formula.pixels = rem × 16.

Relationship.1 rem = 16 px.

Worked example. 1.5 rem = 24 px.

rem to px conversion table

rempx
0.1252
0.254
0.3756
0.58
0.62510
0.7512
0.812513
0.87514
116
1.12518
1.2520
1.37522
1.524
1.7528
232
2.2536
2.540
348
3.556
464
4.572
580
696
8128
10160

Frequently Asked Questions

How do I convert rem to px?

Multiply by the root font size, 16 px by default. For example, 1.5 rem × 16 = 24 px, and 0.875 rem × 16 = 14 px.

How many pixels is 1 rem?

16 px at the browser default. It is not a fixed size: 1 rem always equals the html element's font size, whatever that has been set to.

Is 1 rem always 16 px?

No, and that is the point of it. A reader who chooses "Large" text in their browser settings may get a 20 px root, and then 1 rem is 20 px. Browser zoom scales px and rem alike; the font-size setting scales only rem and em.

How does Tailwind's spacing scale map to rem and px?

Tailwind's spacing step is 0.25 rem, which is 4 px at the default root. So p-4 is 1 rem (16 px) and p-6 is 1.5 rem (24 px).

All tools