CSS px to rem Converter

Convert CSS units between px, rem, and em. Set a custom base font size for accurate results. Includes a handy reference table of common values.

100% FreeNo Signup RequiredFiles Never Leave Your Device
px

Usually 16px (browser default). Change if your root font-size differs.

1rem
font-size: 1rem; /* 16px */
PXREMEM
4px0.25rem0.25em
8px0.5rem0.5em
12px0.75rem0.75em
14px0.875rem0.875em
16px1rem1em
18px1.125rem1.125em
20px1.25rem1.25em
24px1.5rem1.5em
32px2rem2em
40px2.5rem2.5em
48px3rem3em
56px3.5rem3.5em
64px4rem4em
80px5rem5em
96px6rem6em
128px8rem8em

How to use CSS px to rem Converter

1

Upload or paste your input

Drag and drop your file or content into the tool, or click to browse and select it from your device.

2

Adjust any settings

Configure output format, quality, or any options available for this tool. Defaults work well for most use cases.

3

Download or copy the result

Processing happens instantly in your browser. Click download or copy to use your result - nothing was sent to any server.

Frequently Asked Questions

Common questions about CSS px to rem Converter

More Developer Utilities tools

Explore the full collection - all free, browser-based, no signup.

Browse Developer Utilities