What Is 1rem in px?
1rem = 16px (at 16px base) At the browser-default 16px root font-size, 1rem equals exactly 16px. This is the anchor for every conversion: px = rem × 16.
Convert rem to px instantly. 1rem = 16px at the default base, plus any custom root font-size. Free, live two-way conversion that runs 100% in your browser.
The quick brown fox
1rem = 16px (at 16px base) At the browser-default 16px root font-size, 1rem equals exactly 16px. This is the anchor for every conversion: px = rem × 16.
px = rem × root-font-size Multiply the rem value by the root font-size. For example, 1.5rem × 16 = 24px. Change the base in the tool if your project does not use 16px.
62.5% → 1rem = 10px Setting html { font-size: 62.5% } makes the root 10px, so 1rem = 10px and rem-to-px is just "multiply by 10". Set this tool's base to 10 to use it.
A rem to px converter translates rem units into pixel measurements. The rem ("root em") unit is relative to the font-size of the root element: 1rem always equals the root font-size, which browsers set to 16px by default. The conversion is a simple multiplication — px = rem × root-font-size — but checking it for every value while reading or debugging a stylesheet is repetitive, which is what this tool removes.
Developers usually author CSS in rem for accessibility and scalability: values written in rem scale with the user's browser font-size preference, while px values stay fixed. But there are many moments when you need the pixel figure — matching a design mockup, handing off sizes to a designer who works in pixels, setting a px-only property, or debugging why an element renders at a particular size. That is when converting rem back to px is exactly what you want.
This converter keeps the rem and pixel fields linked in real time, so you can move in either direction, and — unlike tools that hard-code a 16px base — it lets you set any root font-size. That matters because a stylesheet using the 62.5% technique (a 10px root) resolves rem to different pixel values than a default 16px setup. A live preview shows the resulting text size, and a reference table lists common rem values at a 16px base for quick lookups.
Need the other direction? Use the px to rem converter. For cleaning up the stylesheet itself, try the CSS formatter, and for color work see the color converter. Everything runs in your browser — your values never leave your device.
/* The core formula */
/* px = rem × root-font-size (16px by default) */
:root {
font-size: 16px; /* 1rem = 16px */
}
/* 1.5rem -> 24px */
/* 1rem -> 16px */
/* 0.75rem -> 12px */
/* 2rem -> 32px */
/* JavaScript equivalent */
const remToPx = (rem, base = 16) => rem * base;
console.log(remToPx(1.5)); // 24
console.log(remToPx(0.75)); // 12 Convert against any base, not just 16px. Match the 62.5% (10px) technique or your project's actual root font-size — most tools hard-code 16.
Rem and pixels fields stay linked in real time. Edit either side and the other updates instantly against your chosen base.
A preview line renders text at the entered rem size so you can see the scale, not just the number.
Copy the rem or px value to your clipboard with a single click, ready to paste into CSS or a design tool.
A chart of common rem values and their pixel equivalents at a 16px base for quick, no-typing lookups.
All math happens locally in your browser. No server requests, no tracking, no data storage — your values never leave your device.
1
16px
At the default 16px root font-size, 1rem equals exactly 16px. This is the baseline for every other conversion: px = rem × 16.
1.5
24px
1.5rem resolves to 24px (1.5 × 16). Headings are often authored in rem so they scale with the user's font-size preference but still map to familiar pixel sizes.
0.75
12px
0.75rem is 12px at a 16px base. Checking the pixel value helps confirm fine print stays legible.
0.5
8px
0.5rem equals 8px. Design systems often express padding and margins in rem; converting back to px is handy for pixel-precise review.
2
32px
2rem is exactly double the base, 32px. Clean multiples like this are common for prominent headings.
48
768px
A 48rem media-query breakpoint resolves to 768px at a 16px base — a familiar tablet-width threshold expressed in scalable units.
Quick reference for the rem values developers convert to px most often, at the default 16px root font-size.
Multiply 1 by the 16px root font-size to get 16px. 1rem is the anchor value — it equals exactly 16px on a default setup, the reference point for all other conversions.
1 rem → 16 px Memorize 1rem = 16px. From there, halve for 0.5rem (8px) and double for 2rem (32px).
Try it above — enter your rem value and see the pixels instantly.
Multiply 1.5 by 16 to get 24px. 1.5rem is a common heading and large-button size, so 24px appears frequently in design systems.
1.5 rem → 24 px 1.5rem = 24px. A tidy heading size that is exactly 1.5× the base.
Try it above — enter your rem value and see the pixels instantly.
Multiply 0.75 by 16 to get 12px. 0.75rem is a common size for captions, labels, and fine print.
0.75 rem → 12 px 0.75rem = 12px (three quarters of the base). Useful for secondary text.
Try it above — enter your rem value and see the pixels instantly.
Multiply 0.875 by 16 to get 14px. 0.875rem is a very common body and UI text size in component libraries.
0.875 rem → 14 px 0.875rem = 14px, the default text size in many UI frameworks.
Try it above — enter your rem value and see the pixels instantly.
Multiply 2 by 16 to get 32px. 2rem is a frequent large-heading and section-spacing value, mapping to a clean 32px.
2 rem → 32 px 2rem = 32px, exactly double the base — easy to remember for big headings and spacing.
Try it above — enter your rem value and see the pixels instantly.
Multiply 0.5 by 16 to get 8px. 0.5rem is a common spacing increment for padding, margins, and gaps.
0.5 rem → 8 px 0.5rem = 8px, half the base — a frequent small-spacing unit.
Try it above — enter your rem value and see the pixels instantly.
Pre-calculated rem to px values at the default 16px root font-size. Bookmark this page for quick lookups.
| REM | PX |
|---|---|
| 0.25 | 4 |
| 0.5 | 8 |
| 0.75 | 12 |
| 1 | 16 |
| 1.25 | 20 |
| 1.5 | 24 |
| 1.75 | 28 |
| 2 | 32 |
| 2.25 | 36 |
| 2.5 | 40 |
| 2.75 | 44 |
| 3 | 48 |
| REM | PX |
|---|---|
| 3.5 | 56 |
| 4 | 64 |
| 4.5 | 72 |
| 5 | 80 |
| 5.5 | 88 |
| 6 | 96 |
| 6.5 | 104 |
| 7 | 112 |
| 7.5 | 120 |
| 8 | 128 |
Type or paste a number into the Rem field. The equivalent pixels appear instantly — no convert button needed.
The base defaults to 16px. Change it to match your project — for example 10px for the 62.5% technique — and every result updates against the new base.
The Pixels field shows the converted value, the preview line renders text at that size, and the formula confirms the current ratio (e.g. 1rem = 16px).
Click the copy icon next to either field to copy the rem or px value to your clipboard, ready to paste where you need it.
Conversion Tools
Convert between binary, hex, decimal, octal and any base (2-36) instantly. Free, private — all processing in your browser.
Conversion Tools
Convert HEX to RGB, HSL, OKLCH, OKLAB and CMYK in your browser — copy any format with one click. Free, no signup, your colors never leave the page.
Conversion Tools
Convert HEX colors to CMYK in your browser. Naive sRGB-based approximation for print previews. Free, no signup, your colors stay local.
Conversion Tools
Convert any hex color to HSL in your browser — 3-digit, 6-digit, 8-digit alpha all supported. Free, instant, no signup, your colors never leave the page.
Conversion Tools
Convert HEX to OKLCH for Tailwind v4 design tokens. Live perceptually-uniform output with Display P3 gamut warnings. Free, browser-only.
Conversion Tools
Convert any hex color code to RGB in your browser — 3-digit, 6-digit, and 8-digit alpha hex all supported. Free, instant, no signup, your colors never leave the page.