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.

→ 1.5 rem / em
→ — px
Common values · Root font size (px) = 16
pxrem / em
8px0.5rem
10px0.625rem
12px0.75rem
14px0.875rem
15px0.9375rem
16px1rem
18px1.125rem
20px1.25rem
24px1.5rem
28px1.75rem
32px2rem
36px2.25rem
40px2.5rem
48px3rem
56px3.5rem
64px4rem
72px4.5rem
80px5rem
96px6rem

    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

    1. Set the root font size if it is not 16px
    2. Type into the px or rem field — the other side converts live
    3. 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.