frontendhack-logo
0.875rem = 14px

At the default root font size of 16px, 0.875rem is exactly 14px.

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

How to convert 0.875rem to px

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

14px is a small size, common for captions, labels, small text and tight spacing. It is often used for compact body text and UI labels.

0.875rem at different root font sizes

Root font sizeInputResult
10px0.875rem8.75px
12px0.875rem10.5px
14px0.875rem12.25px
15px0.875rem13.125px
16px0.875rem14px
18px0.875rem15.75px
20px0.875rem17.5px
22px0.875rem19.25px
24px0.875rem21px

CSS examples

font-size: 0.875rem; /* 14px */
padding: 0.875rem;
margin-bottom: 0.875rem;
width: 0.875rem;

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

font-size: 14px;
padding: 14px;

Tailwind CSS equivalent

The default spacing scale has a step for 0.875rem: use classes like p-3.5, m-3.5, gap-3.5, w-3.5 and h-3.5. As a font size, 0.875rem is the default text-sm class.

Nearby values

REMPixels
0.6875rem11px
0.7rem11.2px
0.75rem12px
0.8rem12.8px
0.8125rem13px
0.875rem14px
0.9rem14.4px
0.9375rem15px
1rem16px
1.0625rem17px
1.1rem17.6px

Frequently Asked Questions

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

14px equals 0.875rem at a 16px root font size (14 ÷ 16 = 0.875).

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