frontendhack-logo
0.75rem = 12px

At the default root font size of 16px, 0.75rem is exactly 12px.

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

How to convert 0.75rem to px

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

12px is a small size, common for captions, labels, small text and tight spacing. It is often used for small captions and labels.

0.75rem at different root font sizes

Root font sizeInputResult
10px0.75rem7.5px
12px0.75rem9px
14px0.75rem10.5px
15px0.75rem11.25px
16px0.75rem12px
18px0.75rem13.5px
20px0.75rem15px
22px0.75rem16.5px
24px0.75rem18px

CSS examples

font-size: 0.75rem; /* 12px */
padding: 0.75rem;
margin-bottom: 0.75rem;
width: 0.75rem;

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

font-size: 12px;
padding: 12px;

Tailwind CSS equivalent

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

Nearby values

REMPixels
0.5625rem9px
0.6rem9.6px
0.625rem10px
0.6875rem11px
0.7rem11.2px
0.75rem12px
0.8rem12.8px
0.8125rem13px
0.875rem14px
0.9rem14.4px
0.9375rem15px

Frequently Asked Questions

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

12px equals 0.75rem at a 16px root font size (12 ÷ 16 = 0.75).

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