frontendhack-logo
70px = 4.375rem

At the default root font size of 16px, 70px is exactly 4.375rem.

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

How to convert 70px to rem

To convert pixels to rem, divide the pixel value by the root font size: rem = px ÷ 16. For 70px that is 70 ÷ 16 = 4.375rem.

70px is a large size, common for headings, section padding and generous layout gaps.

70px at different root font sizes

Root font sizeInputResult
10px70px7rem
12px70px5.8333rem
14px70px5rem
15px70px4.6667rem
16px70px4.375rem
18px70px3.8889rem
20px70px3.5rem
22px70px3.1818rem
24px70px2.9167rem

CSS examples

font-size: 4.375rem; /* 70px */
padding: 4.375rem;
margin-bottom: 4.375rem;
width: 4.375rem;

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

font-size: 70px;
padding: 70px;

Tailwind CSS equivalent

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

Nearby values

PixelsREM
70px4.375rem
2px0.125rem
3px0.1875rem
4px0.25rem
5px0.3125rem
6px0.375rem

Frequently Asked Questions

70px equals 4.375rem when the root font size is the browser default of 16px. The calculation is 70 ÷ 16 = 4.375.

4.375rem equals 70px at a 16px root font size (4.375 × 16 = 70).

Yes. If the root font size is 18px, 70px equals 3.8889rem, and at 20px it equals 3.5rem. The pixel value itself never changes, only the rem equivalent. 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.