Browse all 103 browser-based tools (103 currently marked free), or tell us what useful utility we should build next.
Convert rem to pixels using the chosen root font size. Multiply the rem value by the base and compare the result with your stylesheet.
Result in pixels
24px
1.5rem × 16px = 24px
Quick reference (1rem = 16px)
| rem | px |
|---|---|
| 0.25rem | 4px |
| 0.5rem | 8px |
| 0.75rem | 12px |
| 1rem | 16px |
| 1.25rem | 20px |
| 1.5rem | 24px |
| 2rem | 32px |
| 3rem | 48px |
Type a rem value and the pixel result updates live — px = rem × base. No button to press, no reload, no waiting.
Defaults to the browser-standard 16px, but set any root size — 10px, 18px, 62.5% (10px) — to match your project.
rem scales with the reader’s browser font setting; px does not. Convert here, but ship rem so zoom and large-text users are respected.
Common rem values (0.25–3) mapped to pixels at base 16, so 1rem = 16px and 1.5rem = 24px are one glance away.
Copy the pixel result straight to your clipboard with the unit attached — ready to paste into CSS, a calc(), or a comment.
Every conversion runs in your browser with JavaScript. No request or analytics event carries the values you enter, and the converter works offline once loaded.
This CSS unit calculator multiplies root-relative rem values by your chosen base font size to show the exact computed pixel dimensions rendered by the browser. The conversion is pixels = rem multiplied by root font size. At a 16px base, 1.5rem is 24px; at a 20px base it is 30px. A fixed root font size changes how rem responds to browser font preferences. Browser zoom is a separate behavior.
1.5.html font-size.1.5rem resolves to 24px.24px) for pasting straight into your CSS.rem stands for "root em" — a CSS length unit relative to the font size of the root element (the <html> element). One rem equals the root font size in pixels, so the conversion is a single multiplication: px = rem × base. The inverse is rem = px ÷ base. Because every browser ships a default root size of 16px, 1rem is 16px out of the box, 0.5rem is 8px, and 2rem is 32px. Change the root size and every rem on the page rescales together — that proportional behavior is the whole point of rem.
"rem: Represents the font-size of the root element (typically <html>). When used within the root element font-size, it represents its initial value (a common browser default is 16px)."— MDN Web Docs, on CSS length units (rem)The pixel itself is the CSS reference pixel, not a hardware dot — on a high-density (Retina) screen one CSS px can map to several physical pixels, but the rem→px math is identical. This tool keeps up to four decimal places, so a fractional result like 0.625rem × 16 = 10px stays exact and never rounds away.
Default base · 1.5rem
1.5 × 16 = 24px (a typical sub-heading)
Default base · 0.5rem
0.5 × 16 = 8px (a small gap or compact padding)
Edge case · changed root font size
A popular trick sets html { font-size: 62.5% }, which makes 1rem = 10px so the math is "move the decimal one place". With the base set to 10, 1.5rem becomes 15px, not 24px. Set the base field to 10 before converting, or your numbers will be 1.6× too large.
Accessibility · why px would be wrong here
A reader who sets their browser default text size to 20px (for low vision) makes 1rem = 20px, so your 1.5rem heading grows to 30px automatically. The same heading hard-coded as 24px stays 24px and ignores their choice. Convert here for reference, but ship the remvalue so the layout respects the user.
The most common rem values and their pixel equivalents at the default 16px root font size. Multiply by 16 to go rem→px; divide by 16 to go px→rem.
| REM | Pixels (base 16) | Typical use |
|---|---|---|
| 0.25rem | 4px | Tight spacing, icon gaps |
| 0.5rem | 8px | Small gaps, compact padding |
| 0.75rem | 12px | Caption / fine-print text |
| 1rem | 16px | Base body text (matches root) |
| 1.25rem | 20px | Lead paragraph, large body |
| 1.5rem | 24px | Sub-heading (h4/h5) |
| 2rem | 32px | Section heading (h2/h3) |
| 3rem | 48px | Page title / hero (h1) |
rem is always relative to the root font size, so 1.5rem resolves to the same pixel value no matter how deeply it is nested. em is relative to the element's own (or its parent's) font size, so em values compound: a 1.5em list inside a 1.5emsection inside a 1.5em card computes to 1.5 × 1.5 × 1.5 = 3.375× the root — not 1.5×. That runaway nesting is the classic em bug, and it is exactly why rem exists. This converter only does rem→px because rem has a single, predictable base; em would need the full ancestor chain to resolve.
The accessibility payoff is concrete: rem (and root-relative sizing generally) honors the user's browser font-size setting, so people who bump their default to 20px or 24px get a layout that scales with them. Pixels do not. Sizing in rem is one of the cheapest ways to pass WCAG resize-text expectations without media-query gymnastics.
The reverse direction: pixels → rem
Unit ConverterConvert px, cm, inches, and more
CSS Gradient GeneratorBuild linear & radial gradient CSS
Border Radius GeneratorRound corners with live preview
Flexbox GeneratorVisualize flex layouts and copy CSS
Grid GeneratorDesign CSS Grid templates visually
Glassmorphism GeneratorFrosted-glass blur effect CSS
CSS MinifierShrink stylesheets for production
Color ConverterHEX, RGB, HSL, and OKLCH
Guide: px vs em vs remWhen to use each CSS length unit
All ToolsBrowse the full Toolk toolbox
Last updated: September 15, 2026 · Runs 100% in your browser — no uploads, tool input is not sent to Toolk.
One multiplication: px = rem × root font size. Browsers ship a 16px default root, so 1.5rem resolves to 24px and 0.625rem to an exact 10px — the tool keeps up to four decimals so fractional results never round away. The inverse (rem = px ÷ base) is what Toolk's px-to-rem converter computes.
You are almost certainly on the 62.5% root trick: CSS like html { font-size: 62.5% } shrinks the root to 10px, so 1.5rem is 15px there, not the 24px a 16px base produces. Set the base field to 10 to match your stylesheet and the numbers line up again.
No. The conversion is one multiplication performed locally in your browser tab and copying uses the native clipboard — tool input is not sent to Toolk, and Toolk's page analytics never receive the values you enter.
Treat the result as a reference figure only. Pixels ignore the reader's browser font-size preference, while rem scales with it — a user who raises their default to 20px turns your 1.5rem heading into 30px automatically, but a hard-coded 24px stays frozen. Convert here to sanity-check magnitudes, then keep rem in production CSS.