frontendhack-logo
66px = 4.125rem

At the default root font size of 16px, 66px is exactly 4.125rem.

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

How to convert 66px to rem

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

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

66px at different root font sizes

Root font sizeInputResult
10px66px6.6rem
12px66px5.5rem
14px66px4.7143rem
15px66px4.4rem
16px66px4.125rem
18px66px3.6667rem
20px66px3.3rem
22px66px3rem
24px66px2.75rem

CSS examples

font-size: 4.125rem; /* 66px */
padding: 4.125rem;
margin-bottom: 4.125rem;
width: 4.125rem;

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

font-size: 66px;
padding: 66px;

Tailwind CSS equivalent

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

Nearby values

PixelsREM
66px4.125rem
2px0.125rem
3px0.1875rem
4px0.25rem
5px0.3125rem
6px0.375rem

Frequently Asked Questions

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

4.125rem equals 66px at a 16px root font size (4.125 × 16 = 66).

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