PX to REM Converter
Convert PX ↔ REM ↔ EM in your browser — set any base font size.
Result
PX to REM conversion online
Paste a pixel value and get the matching REM or EM unit instantly. Use the base-font-size field to match your project — most designs use 16 px, but some reset the root to 10 px.
All calculation happens locally in your browser, so nothing leaves your machine.
FAQ
What is the difference between REM and EM? REM is relative to the root font size; EM is relative to the parent element's font size. For layout use REM; for component-local scaling use EM.
Is my data sent anywhere? No — everything runs in your browser.