frontendhack-logo
0.9375rem = 15px

At the default root font size of 16px, 0.9375rem is exactly 15px.

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

How to convert 0.9375rem to px

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

15px is a small size, common for captions, labels, small text and tight spacing.

0.9375rem at different root font sizes

Root font sizeInputResult
10px0.9375rem9.375px
12px0.9375rem11.25px
14px0.9375rem13.125px
15px0.9375rem14.0625px
16px0.9375rem15px
18px0.9375rem16.875px
20px0.9375rem18.75px
22px0.9375rem20.625px
24px0.9375rem22.5px

CSS examples

font-size: 0.9375rem; /* 15px */
padding: 0.9375rem;
margin-bottom: 0.9375rem;
width: 0.9375rem;

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

font-size: 15px;
padding: 15px;

Tailwind CSS equivalent

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

Nearby values

REMPixels
0.75rem12px
0.8rem12.8px
0.8125rem13px
0.875rem14px
0.9rem14.4px
0.9375rem15px
1rem16px
1.0625rem17px
1.1rem17.6px
1.125rem18px
1.1875rem19px

Frequently Asked Questions

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

15px equals 0.9375rem at a 16px root font size (15 ÷ 16 = 0.9375).

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