Calcupedia

Pixels to Em Converter

Unit Conversion

Convert pixels to em units for CSS, based on a chosen base font size.

Ad · Billboard
px
0 px100,000 px
px
1 px1,000 px

Em

1.5000

Equivalent size in em units at the chosen base font size

Share result
Reload calculator
Clear inputs

Found this calculator useful?

From Scratch To $10K/Month In 60 Days

This is a proven money making system that takes students by the hand to make at least $10,000 per month, every month. Students get 12 weeks of guided coaching in addition to the "MPS Super Funnel" and tools.

We value your privacy and promise not to sell or misuse your information. Here's our privacy policy.

Calculator Stats

Odeh Ahwal

Creators

Odeh Ahwal
Reviewed and verifiedThis calculator was reviewed and verified by the Calcupedia due diligence team.

0people find this calculator helpful

Views

Helpful

Saved

Embeds

Like
Share
Embed this calculator
Cite
Save
Ad · 300×250
Ad · 300×250

Frequently Asked Questions

Why does the pixel-to-em conversion need a base font size?

The em unit is relative, not fixed: 1em always equals the current element font size in pixels. Most browsers default to a 16px base font size, but this can be changed by the user or the page, so the correct em value depends on that base.

What is 24px in em at the default 16px base?

24px equals 1.5em at the standard 16px base font size.

Spot a mistake? Tell us what's wrong.

Don't see what you need?

Request a calculator. The most-requested ones get built first in our monthly batch.

Request a calculator

Want this calculator on your website?

Embed the Pixels to Em Converter on any site — no code needed. Customize colors, remove branding, and track usage.

Embed it free →
Embed on any platform — Next.js, React, Vue.js, PHP, Laravel, Shopify, Wix, Webflow, Squarespace, and more