px to rem Converter
Two-way px ↔ rem/em converter with a custom root font size, bulk CSS conversion and a common 8–96px lookup table.
| px | rem / em | |
|---|---|---|
| 8px | 0.5rem | |
| 10px | 0.625rem | |
| 12px | 0.75rem | |
| 14px | 0.875rem | |
| 15px | 0.9375rem | |
| 16px | 1rem | |
| 18px | 1.125rem | |
| 20px | 1.25rem | |
| 24px | 1.5rem | |
| 28px | 1.75rem | |
| 32px | 2rem | |
| 36px | 2.25rem | |
| 40px | 2.5rem | |
| 48px | 3rem | |
| 56px | 3.5rem | |
| 64px | 4rem | |
| 72px | 4.5rem | |
| 80px | 5rem | |
| 96px | 6rem |
What is Px To Rem Converter
Two-way px ↔ rem/em conversion with a custom root font size (default 16px), bulk conversion of whole CSS snippets, and a common-values table covering 8–96px with one-click copy.
How to use Px To Rem Converter
- Set the root font size if it is not 16px
- Type into the px or rem field — the other side converts live
- Paste CSS declarations into the bulk box to rewrite every px value as rem
Frequently asked questions
What is the difference between rem and em?
rem is always relative to the root (html) font size; em is relative to the current element’s font size and compounds in nesting. At root level the numbers coincide — the tool converts against the root size.
Why use rem instead of px?
rem-based layouts scale with the user’s browser font settings, which is better for accessibility — that is why Tailwind and Bootstrap space in rem by default.
Is 0.0625rem a normal value?
Yes — it is exactly 1px at a 16px root, equivalent to writing 1px. Bulk conversion keeps that precision.
Is Px To Rem Converter free?
Px To Rem Converter is completely free — open the page and use every feature with no hidden charges.
Do I need to download or install Px To Rem Converter?
No download or installation is needed. It is an online tool that runs in the browser on your phone, tablet and computer.
Do I need an account to use Px To Rem Converter?
No. Use the tool right away — no account or sign-in required.
Does Px To Rem Converter work on mobile?
Yes. The page is fully responsive and works on phones, tablets and desktop browsers.