px to rem converter
Easily convert pixels (px) to rem units with our online Px to rem converter tool.
Definition of Pixels (px)?
Pixels (px) are the smallest addressable elements on a digital display, representing a fixed unit of measurement. They are commonly used to set the size and positioning of design elements, ensuring a consistent and predictable layout across various devices.
Definition of Root Em (rem)?
In contrast, root em (rem) is a relative unit of measurement that scales based on the font size of the root element, usually the <html>
tag. This makes rem a versatile choice for creating responsive and accessible designs that adapt to the user’s preferred settings, such as font size or screen resolution.
How to Convert Px to Rem
To convert pixels to rem, you need to divide the pixel value by the base font size, typically 16 pixels for most browsers. The formula is:
Rem = Pixels / 16
For example, if you have an element with a width of 32 pixels, and the base font size is 16 pixels, the width in rem would be:
32px / 16px = 2rem
Px to Rem Conversion Table
24 px to rem = 1.5 rem |
14 px to rem = 0.875 rem |
16 px to rem = 1 rem |
20 px to rem = 1.25 rem |
12 px to rem = 0.75 rem |
32 px to rem = 2 rem |
18 px to rem = 1.125 rem |
10 px to rem = 0.625 rem |
40 px to rem = 2.5 rem |
48 px to rem = 3 rem |
15 px to rem = 0.9375 rem |
300 px to rem = 18.75 rem |
22 px to rem = 1.375 rem |
28 px to rem = 1.75 rem |
34 px to rem = 2.125 rem |
8 px to rem = 0.5 rem |
26 px to rem = 1.625 rem |
42 px to rem = 2.625 rem |
54 px to rem = 3.375 rem |
60 px to rem = 3.75 rem |
66 px to rem = 4.125 rem |
72 px to rem = 4.5 rem |
80 px to rem = 5 rem |
90 px to rem = 5.625 rem |
100 px to rem = 6.25 rem |
110 px to rem = 6.875 rem |
120 px to rem = 7.5 rem |
130 px to rem = 8.125 rem |
140 px to rem = 8.75 rem |
150 px to rem = 9.375 rem |
160 px to rem = 10 rem |
170 px to rem = 10.625 rem |
180 px to rem = 11.25 rem |
190 px to rem = 11.875 rem |
200 px to rem = 12.5 rem |
210 px to rem = 13.125 rem |
220 px to rem = 13.75 rem |
230 px to rem = 14.375 rem |
240 px to rem = 15 rem |
250 px to rem = 15.625 rem |
260 px to rem = 16.25 rem |
270 px to rem = 16.875 rem |
280 px to rem = 17.5 rem |
290 px to rem = 18.125 rem |
300 px to rem = 18.75 rem |
Px to Rem Converter
Our Pixel to Rem Converter is the ultimate tool for web designers and developers looking to streamline their workflow and create visually stunning, responsive websites. With just a few clicks, you can easily convert pixel values to their corresponding rem units, ensuring a seamless integration of these two essential measurements.
Simply enter the pixel value you’d like to convert, and the converter will instantly display the equivalent rem value. This simple yet powerful tool is designed to save you time, minimize errors, and help you achieve pixel-perfect results in your designs.
Related Converter: Rem to Px