frontendhack-logo
1.0625rem = 17px

At the default root font size of 16px, 1.0625rem is exactly 17px.

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

How to convert 1.0625rem to px

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

17px is a medium size, common for body text, subheadings, buttons and standard spacing.

1.0625rem at different root font sizes

Root font sizeInputResult
10px1.0625rem10.625px
12px1.0625rem12.75px
14px1.0625rem14.875px
15px1.0625rem15.9375px
16px1.0625rem17px
18px1.0625rem19.125px
20px1.0625rem21.25px
22px1.0625rem23.375px
24px1.0625rem25.5px

CSS examples

font-size: 1.0625rem; /* 17px */
padding: 1.0625rem;
margin-bottom: 1.0625rem;
width: 1.0625rem;

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

font-size: 17px;
padding: 17px;

Tailwind CSS equivalent

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

Nearby values

REMPixels
0.8125rem13px
0.875rem14px
0.9rem14.4px
0.9375rem15px
1rem16px
1.0625rem17px
1.1rem17.6px
1.125rem18px
1.1875rem19px
1.2rem19.2px
1.25rem20px

Frequently Asked Questions

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

17px equals 1.0625rem at a 16px root font size (17 ÷ 16 = 1.0625).

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