Skip to main content
Preparing workspace

CSS Inch to Em Converter

1 CSS inch = 6 ems at a 16 px base. Convert CSS inches to ems with the formula, a worked example and a common-values table. Works both ways.

Still loading. If the tool doesn’t appear, reload this page.

About this tool

CSS Inch to Em Converter

1 CSS inch = 6 ems. Convert CSS inches to ems and back, free in your browser.

1 CSS inch = 6 ems, so 5 in = 30 ems. To convert back, 1 em ≈ 0.166667 in. The factor assumes 1 em = 16 px, the browser-default font size. Type a value in either field for an instant result, or check the two-way table of common CSS inch and em values below.

How to use CSS Inch to Em Converter

  1. Type the value you want to convert into the CSS Inch field.

  2. Read the equivalent in ems in the result field, and copy it if needed.

  3. Use the decimal-places slider for more or less precision, or press swap to convert ems to CSS inches.

Why use CSS Inch to Em Converter

  • Instant, both ways

    The result updates as you type, and the swap button flips the conversion to em → CSS inch without reloading.

  • Conversion formula

    The converter applies em = in × 6 and rounds the result for display.

  • Adjustable precision

    A slider sets 0–10 decimal places, and very small or very large results switch to scientific notation instead of rounding to zero.

  • Private and free

    Everything runs locally in your browser — no upload, no account, no limit on conversions.

CSS Inch to Em conversion table

Common CSS inch and em values converted each way. Values may be rounded for display. The formula is em = in × 6. Assumes 1 em = 16 px, the browser-default font size; an em scales with the font size it is used in.
ValueConverted
1 in6 ems
2 in12 ems
5 in30 ems
10 in60 ems
25 in150 ems
50 in300 ems
100 in600 ems
1,000 in6,000 ems
1 em0.166667 in
2 ems0.333333 in
5 ems0.833333 in
10 ems1.66667 in
25 ems4.16667 in
50 ems8.33333 in
100 ems16.6667 in
1,000 ems166.667 in

Common use cases

  • Converting a CSS inch measurement to ems for a spec, listing, or report.
  • Checking CSS inch↔em figures while comparing products, datasets, or documentation.
  • Learning the CSS inch-to-em relationship from the worked formula and the common-value table.

Frequently asked questions

How many ems are in a CSS inch?

One CSS inch is 6 ems. Multiply the CSS inch value by 6. For example, 5 in = 30 em.

Link to answer
What is the formula to convert CSS inches to ems?

em = in × 6. The converter applies this formula automatically. For example, 5 in = 30 em.

Link to answer
Can it convert ems back to CSS inches?

Yes: 1 em is about 0.166666666667 CSS inches. Press the swap button, or type into the em field, and the tool converts ems to CSS inches using the inverse of the same relationship.

Link to answer
Is the conversion accurate?

This conversion assumes 1 em = 16 px, the browser-default font size; an em scales with the font size it is used in. The displayed formula is em = in × 6. Results are rounded for display, and ≈ marks an approximation.

Link to answer

Embed this tool on your site

Add the CSS Inch to Em Converter widget to your blog or website — free, responsive, no signup. Just keep the “Widget by AltFTool” credit link visible.

<iframe src="https://www.altftool.com/embed/widget/css-inches-to-ems-converter"
  title="CSS Inch to Em Converter — free AltFTool widget"
  width="100%" height="640" style="border:0;border-radius:12px;overflow:hidden"
  loading="lazy" referrerpolicy="no-referrer-when-downgrade" allow="clipboard-write"></iframe>
<p style="font-size:12px;margin:4px 0 0">Widget by <a href="https://www.altftool.com/tools/all/css-inches-to-ems-converter?utm_source=embed&utm_medium=widget" rel="nofollow">AltFTool — free online tools</a></p>

Browse all embeddable widgets →