Loading...
140 pixels converts to 8.75rem when the root font-size is 16px (the browser default). This conversion is calculated by dividing the pixel value by the base font size: 140 ÷ 16 = 8.75.
Formula
140px ÷ 16 = 8.75rem
/* 140px as rem */
.element {
width: 8.75rem; /* 140px */
}A value of 140px (8.75rem) is commonly used for component widths, card sizes, sidebar widths, and image containers. In responsive web design, using 8.75rem instead of 140px ensures your components and containers scale proportionally when users change their browser font size settings.
REM units are relative to the root element's font-size, making them ideal for accessible, responsive designs. When you write 8.75rem instead of 140px, your layout respects user preferences — if someone sets their browser to a larger font size for readability, all your rem-based values scale up proportionally.
| px | rem |
|---|---|
| 8 | 0.5 |
| 10 | 0.625 |
| 12 | 0.75 |
| 14 | 0.875 |
| 16 | 1 |
| 18 | 1.125 |
| 20 | 1.25 |
| 24 | 1.5 |
| 32 | 2 |
| 48 | 3 |
| 64 | 4 |
| 96 | 6 |
Convert any value instantly with our free PX to REM Converter.
Open PX to REM Converter →