Pixel to Em Converter
1 pixel = 0.0625 ems at a 16 px base. Convert pixels 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
Pixel to Em Converter
1 pixel = 0.0625 ems. Convert pixels to ems and back, free in your browser.
1 pixel = 0.0625 ems, so 5 px = 0.3125 ems. To convert back, 1 em = 16 px. 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 pixel and em values below, handy for CSS and print layouts.
How to use Pixel to Em Converter
Type the value you want to convert into the Pixel field.
Read the equivalent in ems in the result field, and copy it if needed.
Use the decimal-places slider for more or less precision, or press swap to convert ems to pixels.
Why use Pixel to Em Converter
Instant, both ways
The result updates as you type, and the swap button flips the conversion to em → pixel without reloading.
Conversion formula
The converter applies em = px × 0.0625 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.
Pixel to Em conversion table
| Value | Converted |
|---|---|
| 1 px | 0.0625 ems |
| 2 px | 0.125 ems |
| 5 px | 0.3125 ems |
| 10 px | 0.625 ems |
| 25 px | 1.5625 ems |
| 50 px | 3.125 ems |
| 100 px | 6.25 ems |
| 1,000 px | 62.5 ems |
| 1 em | 16 px |
| 2 ems | 32 px |
| 5 ems | 80 px |
| 10 ems | 160 px |
| 25 ems | 400 px |
| 50 ems | 800 px |
| 100 ems | 1,600 px |
| 1,000 ems | 16,000 px |
Common use cases
- Converting a pixel measurement to ems for a spec, listing, or report.
- Checking pixel↔em figures while comparing products, datasets, or documentation.
- Learning the pixel-to-em relationship from the worked formula and the common-value table.
Frequently asked questions
How many ems are in a pixel?
One pixel is 0.0625 ems. Multiply the pixel value by 0.0625. For example, 5 px = 0.3125 em.
Link to answerWhat is the formula to convert pixels to ems?
em = px × 0.0625. The converter applies this formula automatically. For example, 5 px = 0.3125 em.
Link to answerCan it convert ems back to pixels?
Yes: 1 em is 16 pixels. Press the swap button, or type into the em field, and the tool converts ems to pixels using the inverse of the same relationship.
Link to answerIs 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 = px × 0.0625. Results are rounded for display, and ≈ marks an approximation.
Link to answerEmbed this tool on your site
Add the Pixel 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/pixels-to-ems-converter"
title="Pixel 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/pixels-to-ems-converter?utm_source=embed&utm_medium=widget" rel="nofollow">AltFTool — free online tools</a></p>