Free Online Pixels to REM
Pixels to rem is a configurable ratio: rem = px ÷ base, where the default base is 16 px (the browser default).
Your data is processed entirely in your browser and never sent to any server.
How to Use This Converter
- Set the base font size (default 16 px; use 10 for the 62.5% root trick).
- Type a value into either the Pixels or REM field.
- The other field updates instantly using the chosen base.
- Changing the base recomputes the field you last edited.
What Is a Pixels to REM?
rem (root em) is the dominant CSS length unit for accessible, scalable design. 1 rem equals the document's root font size, which is 16 px by default but users can override it in browser settings. Many design systems also use the 'html { font-size: 62.5% }' trick to make 1 rem = 10 px, so the math is easier (24 px = 2.4 rem).
Front-end developers porting a Figma design to CSS, design-system maintainers picking spacing tokens and accessibility auditors checking that text scales with user preferences all live in this conversion. Buttons and inputs typically sit at 1 rem, headings at 1.5–3 rem, and small UI labels at 0.875 rem.
The tool exposes the base so you can match your project. The default is 16; set it to 10 if you've used the 62.5% root trick.
Frequently Asked Questions
What is REM?
Why use REM over px?
How do I convert 16px to rem?
Published by the WeGotEveryTool team. We build and test every tool in-house and update pages when the underlying spec, formula, or recommendation changes.
Reviewed: May 2026. Disclaimer: this tool is provided as-is for general informational use. For decisions with material consequences (medical, legal, financial, security) verify results against a qualified professional source.
Related Unit Converters
Convert between KB, MB, GB, TB, and more. Understand file sizes and storage.
Convert inches to centimeters and centimeters to inches. For height, screens, and measurements.
Convert between degrees, radians, and gradians. For math, engineering, and navigation.
Convert between Hz, kHz, MHz, GHz. For radio, audio, and electronics.