frontendhack-logo
4.125rem = 66px

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

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

How to convert 4.125rem to px

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

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

4.125rem at different root font sizes

Root font sizeInputResult
10px4.125rem41.25px
12px4.125rem49.5px
14px4.125rem57.75px
15px4.125rem61.875px
16px4.125rem66px
18px4.125rem74.25px
20px4.125rem82.5px
22px4.125rem90.75px
24px4.125rem99px

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

REMPixels
3.9rem62.4px
3.9375rem63px
4rem64px
4.0625rem65px
4.1rem65.6px
4.125rem66px
4.1875rem67px
4.2rem67.2px
4.25rem68px
4.3rem68.8px
4.3125rem69px

Frequently Asked Questions

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

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

Yes. rem is relative to the root font size, so 4.125rem becomes 74.25px at an 18px root and 82.5px at a 20px root. 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.