PX to REM Converter (Free)
This free px to rem converter turns pixels into rem, em, percent, and pt the moment you type, using any base font size you choose. No sign-up, and everything runs in your browser.
Base Font Size
The browser default root font size is 16px.
CSS Units
Relative to the parent element, not always equal to rem.
Pixels (px)
16px
Root Em (rem)
1rem
Em (em)
1em
Percent (%)
100%
Points (pt)
12pt
About This Free PX to REM Converter
This px to rem converter is free and converts between pixels, rems, ems, percentages, and points as you type. Whether you are turning a pixel-perfect design into a responsive rem-based system, or checking what a percentage font size renders as on screen, every field stays in sync using your chosen base font size.
All five units route through pixels internally: px to rem divides by the base font size, rem to px multiplies by it, percent is the same ratio out of 100, and points follow the 96px-per-inch, 72pt-per-inch relationship defined by CSS. The field you are typing into is never overwritten, so values do not jump around while you edit.
A Pro-Level CSS Unit Calculator, Free
Five Units, One Screen
Convert px to rem, rem to px, px to em, px to percent, and px to pt without switching between calculators.
Custom Base Font Size
Working with a 10px or 18px root? Change the base once and every value recalculates instantly.
Two-Way, Live Results
Type into any field and the others follow, with results rounded to four decimal places.
No Sign-Up, No Install
No browser extension or account needed. The converter runs locally with plain JavaScript arithmetic.
PX to REM Conversion Table (16px Base)
Common equivalents when the base font size is the browser default of 16px.
| px | rem | em | % | pt |
|---|---|---|---|---|
| 8px | 0.5rem | 0.5em | 50% | 6pt |
| 12px | 0.75rem | 0.75em | 75% | 9pt |
| 16px | 1rem | 1em | 100% | 12pt |
| 20px | 1.25rem | 1.25em | 125% | 15pt |
| 24px | 1.5rem | 1.5em | 150% | 18pt |
| 32px | 2rem | 2em | 200% | 24pt |
Who Uses a PX to REM Calculator?
- Frontend developers converting fixed pixel designs into a rem-based responsive layout, or mapping values to Tailwind spacing and font sizes.
- UI designers who need a quick rem to px converter when handing off specs to engineers.
- Accessibility engineerschecking that text scales correctly with a user's browser font size settings.
- Students learning CSS who want to see exactly how px, em, rem, percent, and pt relate to one another.
Building out a stylesheet? Convert brand colors with the free color converter (HEX, RGB, HSL), or tidy and compress your CSS with the free code beautifier and minifier.
Privacy first. All conversions run directly in your browser using plain JavaScript arithmetic. Nothing you type is uploaded, logged, or stored on a server.
How to Convert PX to REM for Free
- Set the base font size. Set the Base Font Size (px) to match your project's root font size, or leave it at the 16px browser default.
- Enter a value. Type a value into any of the px, rem, em, percent, or pt fields.
- Read the conversions. Watch the remaining fields update automatically to the equivalent value.
- Copy the result. Copy the converted value you need directly into your stylesheet or design tokens.
