Free Online PX to REM & REM to PX Converter — QuizOxa Tools
Convert CSS pixels (px) to relative REM units and vice versa. Adjust the root base font size (default 16px) to match your design system (e.g. Tailwind CSS, Bootstrap) and view an interactive quick conversion reference table.
Root Base Size
1rem = 16px. standard browsers use 16px.
font-size: 1.5rem; /* 24px */Conversion Reference Cheat Sheet (16px Base)
Common questions
Why use REM instead of PX in modern CSS?
REM units scale relative to the root font size, enabling responsive design and accessibility for users who customize default browser font sizes.
What is the standard base font size?
Most web browsers use a default root font size of 16px (1rem = 16px).
Related tools
CSS Grid
Build CSS Grid layouts visually with customizable rows, columns, gaps, and template areas. Copy production-ready CSS code.
Flexbox Generator
Build flexbox layouts visually with an interactive playground. Adjust direction, wrapping, alignment, gap, and copy CSS.
CSS Minifier
Compress stylesheets by stripping comments, spaces, line breaks, and trailing semicolons.
URL Encoder/Decoder
Encode or decode strings to be safe for uniform resource locators (URLs) client-side.
HTML Encoder/Decoder
Convert special text characters into HTML entities or parse encoded entity blocks back to plain text.
URL Parser
Break down any URL into protocol, hostname, path, queries, port, hash, and parameters.