Tools / Pixels to Ems Conversion
Pixels to Ems Conversion
Convert between pixels and ems using your base font size. Essential for responsive, accessible CSS typography.
em and rem share the same maths here. em resolves against the nearest parent font size, rem against the document root, so they match whenever the parent is the root.
Common sizes
| px | Ems / Rems |
|---|---|
| 10 | 0.625 |
| 12 | 0.75 |
| 14 | 0.875 |
| 16 | 1 |
| 18 | 1.125 |
| 20 | 1.25 |
| 24 | 1.5 |
| 30 | 1.875 |
| 32 | 2 |
| 36 | 2.25 |
| 48 | 3 |
| 64 | 4 |
Frequently asked questions
Why use em instead of px?
Ems scale relative to the parent font size, making layouts more flexible and accessible when users change browser text size.
What is the base font size?
Browsers default to 16px. Enter your project's base size to get accurate em conversions.
Can I convert em back to pixels?
Yes. Enter either value and the tool calculates the equivalent in the other unit.
Let's build something you're proud of
I help businesses launch, optimize and maintain their online presence, from code to SEO.
Let's talkRelated tools
Text Cleaner and Accent Remover
Free online text cleaner. Remove accents and diacritics, strip invisible characters like zero-width spaces, and normalize Unicode in your browser.
Image Resizer and Compressor
Free online image resizer and compressor. Resize photos, convert to WebP or JPEG and shrink file size in your browser, with no upload.
Unix Timestamp Converter
Free online Unix timestamp converter. Convert epoch seconds or milliseconds to local and UTC dates, or turn a date into a Unix timestamp in your browser.
Case Converter
Free online case converter. Switch text between lowercase, UPPERCASE, Title Case, snake_case, kebab-case, camelCase and PascalCase in your browser.
HEX to RGB to HSL Conversion
Convert colors between HEX, RGB and HSL formats instantly. Free online color converter for CSS and design work.
Word Counter and Character Counter
Free online word counter and character counter. Count words, characters, sentences and reading time, plus keyword density, in your browser.