PX to REM Converter

A tool that converts PX to REM for a specific breakpoint, helping to measure pixels accurately.

The base font size is pixels.
Rounding precision (max 15):

PX to REM Conversion Table

This table shows common px to rem values with a 16px base font size. Use the converter above for more conversions.

Pixels (px) Rem
1px0.0625rem
2px0.125rem
3px0.1875rem
5px0.3125rem
8px0.5rem
10px0.625rem
12px0.75rem
14px0.875rem
15px0.9375rem
16px1rem
18px1.125rem
20px1.25rem
22px1.375rem
24px1.5rem
30px1.875rem
32px2rem
34px2.125rem
35px2.1875rem
38px2.375rem
40px2.5rem
42px2.625rem
45px2.8125rem
48px3rem
50px3.125rem
52px3.25rem
55px3.4375rem
60px3.75rem
64px4rem
70px4.375rem
72px4.5rem
75px4.6875rem
78px4.875rem
80px5rem
82px5.125rem
85px5.3125rem
88px5.5rem
90px5.625rem
92px5.75rem
95px5.9375rem
100px6.25rem

How to Convert PX to REM?

To convert px to rem, you need to know the size of 1 REM, which is typically 16px by default. Then, simply use the formula:
px ÷ 16 = rem

For example, with 1rem being 16px, 32px would convert to:
32 ÷ 16 = 2rem

What is the PX to REM formula?

The formula for converting PX to REM is:
REM = PX / Base Font Size

Typically, the base font size is 16px, so the formula becomes:
REM = PX / 16

Why Convert PX to REM?

REM is relative to the root font size, making it easier to scale elements proportionally, ensuring responsive and accessible designs.

Why Use REM Over PX?

  • Scalability: REM is relative to the root font size, meaning elements scale when the root size changes, while PX is fixed.
  • Accessibility: REM allows users to adjust text size in their browser settings for better readability, unlike PX which stays fixed.
  • Consistency: REM ensures all elements scale uniformly, making it easier to maintain consistent sizing across the site.
  • Responsiveness: REM works well with media queries, adapting layout and typography based on screen size and root font size.
  • Maintainability: Adjusting the root font size changes all REM-based elements globally, simplifying updates.