frontendhack-logo
35rem = 560px

At the default root font size of 16px, 35rem is exactly 560px.

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

How to convert 35rem to px

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

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

35rem at different root font sizes

Root font sizeInputResult
10px35rem350px
12px35rem420px
14px35rem490px
15px35rem525px
16px35rem560px
18px35rem630px
20px35rem700px
22px35rem770px
24px35rem840px

CSS examples

font-size: 35rem; /* 560px */
padding: 35rem;
margin-bottom: 35rem;
width: 35rem;

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

font-size: 560px;
padding: 560px;

Tailwind CSS equivalent

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

Nearby values

REMPixels
35rem560px
0.1rem1.6px
0.125rem2px
0.1875rem3px
0.2rem3.2px
0.25rem4px

Frequently Asked Questions

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

560px equals 35rem at a 16px root font size (560 ÷ 16 = 35).

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