Toolman

Convert in to rem

At the browser default root font size of 16 px, 1in = 6rem. Change the base below if your project uses a different root size.

Formula

rem = in × 6
in = rem × 0.166667

Because rem is relative, this ratio holds only at a 16 px base. If your project sets html { font-size: 62.5% } — a common trick that makes 1rem equal 10 px — set the base above to 10 instead.

IN to REM conversion table

inrem
8in48rem
10in60rem
12in72rem
14in84rem
16in96rem
18in108rem
20in120rem
24in144rem
28in168rem
32in192rem
36in216rem
40in240rem
48in288rem
56in336rem
64in384rem
72in432rem
80in480rem
96in576rem
128in768rem

About in

CSS defines one inch as exactly 96 pixels. On screen this is a nominal measure, not a guarantee of physical size; in print stylesheets it maps to a real inch.

About rem

One rem equals the font size of the root <html> element — 16 px unless you or the user changes it. Because it ignores nesting, rem is the unit of choice for a consistent type and spacing scale.

Which unit should you use?

PropertyRecommended unitWhy
Font sizeremScales with the user's browser font-size preference, which px ignores — an accessibility requirement.
Padding and marginrem or emrem for a consistent global rhythm; em when the spacing should track the component's own text size.
Borders and hairlinespxYou almost always want exactly one crisp pixel, not a value that scales.
Media query breakpointsemHistorically the most reliable across browsers when the user zooms.
Print stylesheetspt, cm, mmThese map to real physical measurements on paper.

Frequently asked questions

What is 16in in rem?

16in equals 96rem at a 16 px root font size.

How do I convert in to rem?

Multiply the in value by 6. Going the other way, multiply the rem value by 0.166667.

Does the root font size change the result?

Yes. One of these units is relative to the root font size, so changing it changes the conversion. Use the base control above to match your project.

Why does CSS use 96 pixels per inch?

It is a historical convention from early desktop displays that became the fixed CSS reference. It has nothing to do with your monitor's real pixel density — the browser scales CSS pixels to physical ones for you.

Related CSS unit conversions

All CSS unit converters · All converters