frontendhack-logo
4.0625rem = 65px

At the default root font size of 16px, 4.0625rem is exactly 65px.

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

How to convert 4.0625rem to px

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

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

4.0625rem at different root font sizes

Root font sizeInputResult
10px4.0625rem40.625px
12px4.0625rem48.75px
14px4.0625rem56.875px
15px4.0625rem60.9375px
16px4.0625rem65px
18px4.0625rem73.125px
20px4.0625rem81.25px
22px4.0625rem89.375px
24px4.0625rem97.5px

CSS examples

font-size: 4.0625rem; /* 65px */
padding: 4.0625rem;
margin-bottom: 4.0625rem;
width: 4.0625rem;

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

font-size: 65px;
padding: 65px;

Tailwind CSS equivalent

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

Nearby values

REMPixels
3.8125rem61px
3.875rem62px
3.9rem62.4px
3.9375rem63px
4rem64px
4.0625rem65px
4.1rem65.6px
4.125rem66px
4.1875rem67px
4.2rem67.2px
4.25rem68px

Frequently Asked Questions

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

65px equals 4.0625rem at a 16px root font size (65 ÷ 16 = 4.0625).

Yes. rem is relative to the root font size, so 4.0625rem becomes 73.125px at an 18px root and 81.25px 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.