frontendhack-logo
91px = 5.6875rem

At the default root font size of 16px, 91px is exactly 5.6875rem.

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

How to convert 91px to rem

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

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

91px at different root font sizes

Root font sizeInputResult
10px91px9.1rem
12px91px7.5833rem
14px91px6.5rem
15px91px6.0667rem
16px91px5.6875rem
18px91px5.0556rem
20px91px4.55rem
22px91px4.1364rem
24px91px3.7917rem

CSS examples

font-size: 5.6875rem; /* 91px */
padding: 5.6875rem;
margin-bottom: 5.6875rem;
width: 5.6875rem;

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

font-size: 91px;
padding: 91px;

Tailwind CSS equivalent

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

Nearby values

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

Frequently Asked Questions

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

5.6875rem equals 91px at a 16px root font size (5.6875 × 16 = 91).

Yes. If the root font size is 18px, 91px equals 5.0556rem, and at 20px it equals 4.55rem. 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.