frontendhack-logo
2.9375rem = 47px

At the default root font size of 16px, 2.9375rem is exactly 47px.

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

How to convert 2.9375rem to px

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

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

2.9375rem at different root font sizes

Root font sizeInputResult
10px2.9375rem29.375px
12px2.9375rem35.25px
14px2.9375rem41.125px
15px2.9375rem44.0625px
16px2.9375rem47px
18px2.9375rem52.875px
20px2.9375rem58.75px
22px2.9375rem64.625px
24px2.9375rem70.5px

CSS examples

font-size: 2.9375rem; /* 47px */
padding: 2.9375rem;
margin-bottom: 2.9375rem;
width: 2.9375rem;

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

font-size: 47px;
padding: 47px;

Tailwind CSS equivalent

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

Nearby values

REMPixels
2.75rem44px
2.8rem44.8px
2.8125rem45px
2.875rem46px
2.9rem46.4px
2.9375rem47px
3rem48px
3.0625rem49px
3.1rem49.6px
3.125rem50px
3.1875rem51px

Frequently Asked Questions

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

47px equals 2.9375rem at a 16px root font size (47 ÷ 16 = 2.9375).

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