EM to PX converter.
Turn em values into pixels at the font size of the parent element, or pixels into em. Type in either field; the table lists common values.
| em | px |
|---|---|
| 0.25em | 4px |
| 0.5em | 8px |
| 0.75em | 12px |
| 0.875em | 14px |
| 1em | 16px |
| 1.125em | 18px |
| 1.25em | 20px |
| 1.5em | 24px |
| 1.75em | 28px |
| 2em | 32px |
| 2.5em | 40px |
| 3em | 48px |
| 4em | 64px |
Free tool, no warranty, no liability. The result is produced automatically by a free tool from transjt.ai, nothing more. It can be incomplete or wrong. transjt.ai gives no warranty and accepts no liability for decisions or changes based on it; check every result before you use it.
EM to PX in three steps.
- 01
Set the parent’s font size
The font size of the element the em value sits in, 16 px by default.
- 02
Type the em value
The pixels follow as you type; it works the other way round too.
- 03
Copy the value
Such as 24px or 1.5em, ready to paste.
Try it with your build.
Design your website today, launch tomorrow.
Start for FreeBook a demo
Multiply the em value by the font size of the parent element: in a 20 px paragraph, 1.5em is 1.5 × 20 = 30 px.
em compounds: an element at 1.2em inside another at 1.2em ends up at 1.44 times the outer size. rem avoids this because it always refers to the root.
For spacing that should scale with the text it belongs to, such as a button’s padding or the gap after a heading.
Yes, with no sign-up and no limits.
Related tools.
- Aspect ratio calculatorThe ratio of any size, and new sizes that keep it.
- PX to REMPixels to rem for CSS, at any root font size.
- REM to PXRem back to pixels, at any root font size.
- PT to PXPoints from Word or print to screen pixels.
- Pixels to inchesPixels to inches and centimeters, at any DPI.
- All size converterspx, rem, em, pt and inches, and aspect ratios, with tables of common values.
- All free toolsSmall tools for the jobs around a website: images, colors, sizes and fonts, alt text, prompts for AI builders, and a check whether AI agents can use your site. The converters run in your browser, so nothing is uploaded.
Design your website today, launch tomorrow.
At transjt, every second counts. That’s why our mission is simple: save you time and remove friction from your workflow.