การแปลง EM เป็น PX คืออะไร?
การแปลงจาก <strong>EM</strong> เป็น <strong>PX</strong> เป็นงานที่พบบ่อยในการพัฒนาเว็บ Convert EM units to pixel values based on parent element font size. เครื่องมือนี้ให้ผลลัพธ์ที่ทันทีและแม่นยำ
การแปลงทำงานอย่างไร
การแปลง EM เป็นพิกเซลจะคูณค่า EM ด้วยขนาดฟอนต์ขององค์ประกอบแม่ (โดยทั่วไป 16px) ตัวอย่าง: 1.5em × 16 = 24px
Common EM to PX Conversions
- 0.75em = 12px — small/caption text
- 0.875em = 14px — compact body text
- 1em = 16px — parent font size
- 1.25em = 20px — slightly larger text
- 1.5em = 24px — subheadings
- 2em = 32px — headings
Why Use This Converter?
- Instant results — paste a value and get the converted output immediately.
- Copy-ready CSS — one-click copy with properly formatted syntax.
- Shareable URLs — pre-fill values via URL for easy team sharing.
- No installation — works in any browser, on any device.