frontendhack-logo
29px = 1.8125rem

At the default root font size of 16px, 29px is exactly 1.8125rem.

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

How to convert 29px to rem

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

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

29px at different root font sizes

Root font sizeInputResult
10px29px2.9rem
12px29px2.4167rem
14px29px2.0714rem
15px29px1.9333rem
16px29px1.8125rem
18px29px1.6111rem
20px29px1.45rem
22px29px1.3182rem
24px29px1.2083rem

CSS examples

font-size: 1.8125rem; /* 29px */
padding: 1.8125rem;
margin-bottom: 1.8125rem;
width: 1.8125rem;

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

font-size: 29px;
padding: 29px;

Tailwind CSS equivalent

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

Nearby values

PixelsREM
29px1.8125rem
2px0.125rem
3px0.1875rem
4px0.25rem
5px0.3125rem
6px0.375rem

Frequently Asked Questions

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

1.8125rem equals 29px at a 16px root font size (1.8125 × 16 = 29).

Yes. If the root font size is 18px, 29px equals 1.6111rem, and at 20px it equals 1.45rem. 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.