Percent to EM Converter
Convert a percentage font size to em — a straight divide by 100, with the cases where the two stop matching.
Browsers default to 16px. Use 10 if your CSS sets html { font-size: 62.5% }.
About this conversion
The same value at other root sizes
| Root size | Result |
|---|
Common conversions at 16 px
| % | em |
|---|
What It Does
Converting a percentage font size to em is a divide by 100 — the two units measure against the same thing, so the answer never depends on the parent size. This page exists mostly for the direction people actually work in: modernising an old stylesheet full of percentages into em or rem. The tool shows the equivalent, and points out the one place the swap is not safe, which is any property other than font-size.
When to Use It
- You are converting a design handed over in percent (%) into a stylesheet that uses em for accessibility.
- You inherited a codebase that mixes units and you need the em equivalent of an existing % value.
- You want to check what a % value becomes when the user changes their browser's default font size.
- You are writing a design-token scale and need the same step expressed in both units.
Worked Examples
150
150% is 1.5em — identical rendering, shorter to write.
62.5
62.5% is 0.625em. On the root element this is the trick that makes 1rem equal 10px.
100
100% is 1em: inherit the parent size exactly. Both are no-ops, which is sometimes exactly what you want to state explicitly.
Features
How to Use
1. Enter the percent (%) value you want to convert. 2. Set the root (or parent) font size the value should be measured against — 16px is the browser default. 3. Read the em result, or copy the whole conversion table for the sizes you use.
Common Mistakes
- Assuming the conversion is fixed. 100% is exactly 1em, whatever the parent font size happens to be — the same % value converts differently depending on that size.
- Confusing em with rem. `em` is relative to the *parent* element's font size and therefore compounds when nested; `rem` is always relative to the root element and does not.
- Setting a px font size on the root element. That overrides the user's browser font-size preference, which defeats the accessibility reason for using relative units at all.
- Rounding too early. Keep the fraction (1.375rem, not 1.4rem) — the browser resolves sub-pixel values fine and the rounding error compounds across a scale.
Frequently Asked Questions
Related Tools
The conversion runs entirely in your browser. Nothing is uploaded and nothing is stored.