frontendhack-logo
4.25rem = 68px

At the default root font size of 16px, 4.25rem is exactly 68px.

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

How to convert 4.25rem to px

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

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

4.25rem at different root font sizes

Root font sizeInputResult
10px4.25rem42.5px
12px4.25rem51px
14px4.25rem59.5px
15px4.25rem63.75px
16px4.25rem68px
18px4.25rem76.5px
20px4.25rem85px
22px4.25rem93.5px
24px4.25rem102px

CSS examples

font-size: 4.25rem; /* 68px */
padding: 4.25rem;
margin-bottom: 4.25rem;
width: 4.25rem;

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

font-size: 68px;
padding: 68px;

Tailwind CSS equivalent

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

Nearby values

REMPixels
4.0625rem65px
4.1rem65.6px
4.125rem66px
4.1875rem67px
4.2rem67.2px
4.25rem68px
4.3rem68.8px
4.3125rem69px
4.375rem70px
4.4rem70.4px
4.4375rem71px

Frequently Asked Questions

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

68px equals 4.25rem at a 16px root font size (68 ÷ 16 = 4.25).

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