frontendhack-logo
10rem = 160px

At the default root font size of 16px, 10rem is exactly 160px.

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

How to convert 10rem to px

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

160px is a very large size, typically used for hero headings, containers and big layout dimensions.

10rem at different root font sizes

Root font sizeInputResult
10px10rem100px
12px10rem120px
14px10rem140px
15px10rem150px
16px10rem160px
18px10rem180px
20px10rem200px
22px10rem220px
24px10rem240px

CSS examples

font-size: 10rem; /* 160px */
padding: 10rem;
margin-bottom: 10rem;
width: 10rem;

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

font-size: 160px;
padding: 160px;

Tailwind CSS equivalent

The default spacing scale has a step for 10rem: use classes like p-40, m-40, gap-40, w-40 and h-40.

Nearby values

REMPixels
10rem160px
0.1rem1.6px
0.125rem2px
0.1875rem3px
0.2rem3.2px
0.25rem4px

Frequently Asked Questions

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

160px equals 10rem at a 16px root font size (160 ÷ 16 = 10).

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