frontendhack-logo
86px = 5.375rem

At the default root font size of 16px, 86px is exactly 5.375rem.

Calculation based on a root font-size of 16 pixels.

How to convert 86px to rem

To convert pixels to rem, divide the pixel value by the root font size: rem = px ÷ 16. For 86px that is 86 ÷ 16 = 5.375rem.

86px is a large size, common for headings, section padding and generous layout gaps.

86px at different root font sizes

Root font sizeInputResult
10px86px8.6rem
12px86px7.1667rem
14px86px6.1429rem
15px86px5.7333rem
16px86px5.375rem
18px86px4.7778rem
20px86px4.3rem
22px86px3.9091rem
24px86px3.5833rem

CSS examples

font-size: 5.375rem; /* 86px */
padding: 5.375rem;
margin-bottom: 5.375rem;
width: 5.375rem;

The same values in pixels, if you need a fixed size:

font-size: 86px;
padding: 86px;

Tailwind CSS equivalent

5.375rem is not part of the default Tailwind scale, but you can use an arbitrary value such as p-[5.375rem] or text-[5.375rem].

Nearby values

PixelsREM
86px5.375rem
2px0.125rem
3px0.1875rem
4px0.25rem
5px0.3125rem
6px0.375rem

Frequently Asked Questions

86px equals 5.375rem when the root font size is the browser default of 16px. The calculation is 86 ÷ 16 = 5.375.

5.375rem equals 86px at a 16px root font size (5.375 × 16 = 86).

Yes. If the root font size is 18px, 86px equals 4.7778rem, and at 20px it equals 4.3rem. The pixel value itself never changes, only the rem equivalent. Use the base font size field above to try any value.

Prefer rem for font sizes, spacing and layout so they respect the user's browser font settings and scale for accessibility. Use px for details that should never scale, such as 1px borders or fixed icon sizes.