frontendhack-logo
2.3125rem = 37px

At the default root font size of 16px, 2.3125rem is exactly 37px.

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

How to convert 2.3125rem to px

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

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

2.3125rem at different root font sizes

Root font sizeInputResult
10px2.3125rem23.125px
12px2.3125rem27.75px
14px2.3125rem32.375px
15px2.3125rem34.6875px
16px2.3125rem37px
18px2.3125rem41.625px
20px2.3125rem46.25px
22px2.3125rem50.875px
24px2.3125rem55.5px

CSS examples

font-size: 2.3125rem; /* 37px */
padding: 2.3125rem;
margin-bottom: 2.3125rem;
width: 2.3125rem;

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

font-size: 37px;
padding: 37px;

Tailwind CSS equivalent

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

Nearby values

REMPixels
2.125rem34px
2.1875rem35px
2.2rem35.2px
2.25rem36px
2.3rem36.8px
2.3125rem37px
2.375rem38px
2.4rem38.4px
2.4375rem39px
2.5rem40px
2.5625rem41px

Frequently Asked Questions

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

37px equals 2.3125rem at a 16px root font size (37 ÷ 16 = 2.3125).

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