frontendhack-logo
2.6875rem = 43px

At the default root font size of 16px, 2.6875rem is exactly 43px.

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

How to convert 2.6875rem to px

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

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

2.6875rem at different root font sizes

Root font sizeInputResult
10px2.6875rem26.875px
12px2.6875rem32.25px
14px2.6875rem37.625px
15px2.6875rem40.3125px
16px2.6875rem43px
18px2.6875rem48.375px
20px2.6875rem53.75px
22px2.6875rem59.125px
24px2.6875rem64.5px

CSS examples

font-size: 2.6875rem; /* 43px */
padding: 2.6875rem;
margin-bottom: 2.6875rem;
width: 2.6875rem;

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

font-size: 43px;
padding: 43px;

Tailwind CSS equivalent

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

Nearby values

REMPixels
2.4375rem39px
2.5rem40px
2.5625rem41px
2.6rem41.6px
2.625rem42px
2.6875rem43px
2.7rem43.2px
2.75rem44px
2.8rem44.8px
2.8125rem45px
2.875rem46px

Frequently Asked Questions

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

43px equals 2.6875rem at a 16px root font size (43 ÷ 16 = 2.6875).

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