PX to REM/EM Converter

Convert px to rem and em

PX to REM/EM Converter — free online tool

🔒 In-browser · Method · · Disclaimer · PX to REM/EM Converter

PX to REM/EM Converter is built for converting px to rem and em — fast, free, and private. You supply Pixels (px) and Root Font Size (px) to PX to REM/EM; the answer follows at once. PX to REM/EM ties each output to its formula. PX to REM/EM works for one check or many. No sign-up is needed for PX to REM/EM. The math runs on your device. PX to REM/EM sits in the Tech & Digital section next to free online px to rem/em converter and px to rem converter font size em root. Run PX to REM/EM twice to find the driving input. PX to REM/EM answers the next Tech & Digital question you meet.

What the defaults give

16 pixels at a 16 pixel root font size is 1.000 rem, or 100%.

rem is relative to the root element, so the conversion is a straight division: px ÷ root. That single fact explains why the same pixel value maps to different rem values when the root changes.

The arithmetic

rem = px ÷ root font size. 16 ÷ 16 = 1.000 rem, and as a percentage that is 100%.

If the root is set to 20 px — some designs do this to scale the whole layout — then 16 px becomes 0.8 rem, not 1 rem. The pixel value stayed the same; the relative value did not.

Worked examples at a 16 px root

12 px → 0.75 rem (75%)
14 px → 0.875 rem (87.5%)
16 px → 1 rem (100%)
20 px → 1.25 rem (125%)
24 px → 1.5 rem (150%)
32 px → 2 rem (200%)

rem versus em

rem is fixed against the root element, so 1.5rem is the same size everywhere on the page. em is relative to the parent element’s font size, so nested elements compound: a 1.5em heading inside a 1.5em container renders at 2.25× the base. That compounding is useful for proportional spacing and a frequent source of unintended size.

Why this matters for accessibility

Users who increase their browser’s default font size expect text to grow. Sizes set in px ignore that setting; sizes in rem scale with it. Setting the root font size in px and everything else in rem gives the most predictable behaviour across both.

Mistakes worth avoiding

Frequently Asked Questions

Why is 16 px equal to 1 rem?

Because rem is relative to the root font size, and the browser default is 16 px. 16 ÷ 16 = 1, so 16 px is exactly 1 rem unless the page overrides the root.

What if my root font size is not 16 px?

Change the root field. At a 20 px root, 16 px becomes 0.8 rem — the pixel value is unchanged but the relative value is not.

Is rem better than em?

rem is predictable because it always refers to the root. em is relative to the parent, so nested values multiply — useful for proportional components, risky for accidental sizing.

What is 1.5 rem in pixels?

At a 16 px root it is 24 px. Multiply the rem value by the root size: 1.5 × 16 = 24.

How do percentages relate to rem?

At a 16 px root, 1 rem is 100%. The percentage and rem values are the same number expressed two ways, so 0.875 rem is 87.5%.

About CalcProMaster calculators

CalcProMaster is a free library of 1285 online calculators across 20 categories — finance, health, math, business, construction, engineering, conversion, education and more. Every calculator runs entirely in your browser: no sign-up, no paywall, and no data leaves your device.

What makes these calculators different is transparency. Each tool shows the exact formula it uses. It also shows a step-by-step breakdown of how your inputs become the result. That way you can check the math instead of trusting a black box. Every calculator page explains how to read the result. It also lists common mistakes, assumptions and limitations. An FAQ sits with every one, and the most-used tools add a worked example. Health and finance tools name the formula they follow. Calorie needs use Mifflin-St Jeor. Loans use standard amortization. Each page says plainly when an answer should be confirmed with a professional.

The guides library goes deeper on the calculations people search for most. It covers percentage and discount math, loan EMI and amortization, income-tax brackets, calorie and macro planning, and concrete volumes. Each guide gives the formula, worked examples and links to the matching calculator. The glossary defines the terminology in plain language. The public formula QA dashboard shows the verification status of every calculator's math.

Popular starting points: loan EMI calculator, BMI calculator, percentage calculator, random number generator, and concrete calculator. You can also browse a category above to find the tool you need.

↑ ↓ navigate↵ openesc close