frontendhack-logo
3.875rem = 62px

At the default root font size of 16px, 3.875rem is exactly 62px.

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

How to convert 3.875rem to px

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

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

3.875rem at different root font sizes

Root font sizeInputResult
10px3.875rem38.75px
12px3.875rem46.5px
14px3.875rem54.25px
15px3.875rem58.125px
16px3.875rem62px
18px3.875rem69.75px
20px3.875rem77.5px
22px3.875rem85.25px
24px3.875rem93px

CSS examples

font-size: 3.875rem; /* 62px */
padding: 3.875rem;
margin-bottom: 3.875rem;
width: 3.875rem;

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

font-size: 62px;
padding: 62px;

Tailwind CSS equivalent

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

Nearby values

REMPixels
3.6875rem59px
3.7rem59.2px
3.75rem60px
3.8rem60.8px
3.8125rem61px
3.875rem62px
3.9rem62.4px
3.9375rem63px
4rem64px
4.0625rem65px
4.1rem65.6px

Frequently Asked Questions

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

62px equals 3.875rem at a 16px root font size (62 ÷ 16 = 3.875).

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