frontendhack-logo
0.7rem = 11.2px

At the default root font size of 16px, 0.7rem is exactly 11.2px.

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

How to convert 0.7rem to px

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

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

0.7rem at different root font sizes

Root font sizeInputResult
10px0.7rem7px
12px0.7rem8.4px
14px0.7rem9.8px
15px0.7rem10.5px
16px0.7rem11.2px
18px0.7rem12.6px
20px0.7rem14px
22px0.7rem15.4px
24px0.7rem16.8px

CSS examples

font-size: 0.7rem; /* 11.2px */
padding: 0.7rem;
margin-bottom: 0.7rem;
width: 0.7rem;

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

font-size: 11.2px;
padding: 11.2px;

Tailwind CSS equivalent

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

Nearby values

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

Frequently Asked Questions

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

11.2px equals 0.7rem at a 16px root font size (11.2 ÷ 16 = 0.7).

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