frontendhack-logo
1.4rem = 22.4px

At the default root font size of 16px, 1.4rem is exactly 22.4px.

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

How to convert 1.4rem to px

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

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

1.4rem at different root font sizes

Root font sizeInputResult
10px1.4rem14px
12px1.4rem16.8px
14px1.4rem19.6px
15px1.4rem21px
16px1.4rem22.4px
18px1.4rem25.2px
20px1.4rem28px
22px1.4rem30.8px
24px1.4rem33.6px

CSS examples

font-size: 1.4rem; /* 22.4px */
padding: 1.4rem;
margin-bottom: 1.4rem;
width: 1.4rem;

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

font-size: 22.4px;
padding: 22.4px;

Tailwind CSS equivalent

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

Nearby values

REMPixels
1.2rem19.2px
1.25rem20px
1.3rem20.8px
1.3125rem21px
1.375rem22px
1.4rem22.4px
1.4375rem23px
1.5rem24px
1.5625rem25px
1.6rem25.6px
1.625rem26px

Frequently Asked Questions

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

22.4px equals 1.4rem at a 16px root font size (22.4 ÷ 16 = 1.4).

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