REM to Pixels (rem to px)
One rem is 16 pixels. This rem to px page has the formula, a conversion table, three worked examples and answers to common questions.
Did this tool work for you?
What one rem is worth in pixels
This page converts rem (rem) to pixels (px). In the converter's unit table, one rem equals 16 pixels, so every result here comes from a single multiplication by 16.
Reading the formula backwards gives rem = px ÷ 16. Dividing by 16 undoes the multiplication, and 1 px equals 0.0625 rem.
Rem to pixels reference table
This lookup list shows 12 rem values and what they become in px. The step from one row to the next is not constant, but the ratio of 16 between the columns is.
| Rem (rem) | Pixels (px) |
|---|---|
| 0.25 | 4 |
| 1 | 16 |
| 1.5 | 24 |
| 3 | 48 |
| 6 | 96 |
| 8 | 128 |
| 15 | 240 |
| 40 | 640 |
| 75 | 1,200 |
| 150 | 2,400 |
| 400 | 6,400 |
| 2,000 | 32,000 |
Every row comes from the same function as the widget and keeps its rounding, so a figure copied from this table matches what the converter returns for that input.
Examples: turning rem into pixels
Suppose a quantity is 3.5 rem. Scaling it by 16 gives 56 pixels.
Example 2. For a different size, 24 rem, the result is 384 px. Dividing 384 by 16 gets you back to about 24.
For the last case, begin with 1,500 pixels. Multiplying by 0.0625 gives 93.75 rem.
Going from pixels to rem
A dedicated page covers the opposite direction: Pixels to REM (px to rem). In that case 1 px = 0.0625 rem.
Units outside this pair can be selected in the main Typography Unit Converter, which uses the same unit table.
More typography unit converter pairs
Pages for conversions that share a unit with this one, or sit in the same list:
Frequently asked questions
How many pixels are in one rem?
One rem equals 16 pixels. The relationship is linear, so 10 rem is 160 px and 100 rem is 1,600 px.
One pixel equals how many rem?
Each pixel corresponds to 0.0625 rem; scaled up by 10, that is 0.625 rem.
What does 9.5 rem come to in px?
Using 16 as the multiplier, 9.5 rem equals 152 pixels.
What precision does the rem to px result use?
Yes, the displayed px value is trimmed. The converter prints at most 10 significant digits at or above 1, at most 8 below 1, and at most 6 decimals from 1,000 up, using exponent notation for extreme sizes. Two samples from this pair: 0.123456789 rem becomes 1.975308624 px, and 1,234.5678 rem becomes 19,753.0848 px.
How does the widget get from rem to pixels?
Every unit in this converter stores a factor relative to one shared reference unit. The widget multiplies the input by the factor of rem, then divides by the factor of pixels; for this pair that nets out to 16.
Can this converter go from px to rem too?
Yes. The page titled "Pixels to REM (px to rem)" covers it, or you can press the swap button in the widget above. The arithmetic is px × 0.0625, so 25 px is 1.5625 rem.
Learn more from an authoritative source:
NISTDensity Converter
Convert between kg/m³, g/cm³, g/L, lb/ft³, and other density units.
Torque Converter
Convert between Newton-metres, pound-foot, pound-inch, kilogram-force·metre, and more torque units.
Length Converter
Convert between metres, kilometres, feet, inches, miles, yards, and more length units instantly.
Inches to Feet Converter
Convert inches to feet instantly. See the result in feet and inches combined (e.g. 5'4"), decimal feet, and centimetres.
Weight & Mass Converter
Convert between kilograms, pounds, ounces, grams, stones, tonnes, and more weight units.
Temperature Converter
Convert between Celsius, Fahrenheit, Kelvin, and Rankine instantly.
Results are estimates for informational purposes only and do not constitute professional financial, medical, legal, or technical advice. Read full disclaimer →