Skip to content

เครื่องคิดเลข

ตัวแปลงขนาดตัวอักษร

px ↔ rem ↔ em ↔ pt ↔ % — instant translation.

Runs in your browser

หมายเหตุจากบรรณาธิการ

Understanding · Five units, one piece of paper.

บทเชิงลึกนี้มีให้บริการเฉพาะภาษาอังกฤษในขณะนี้ เครื่องมือแปลงด้านบนทำงานในภาษาของคุณ บทความอธิบายแบบยาวยังไม่ได้แปล

คำถามที่พบบ่อย

Quick answers.

What is the difference between rem and em?

The `rem` unit is relative to the root element's font size, whereas `em` is relative to the font size of the parent element. Using `rem` provides more predictable scaling across a document.

Why is the root font size set to 16px?

Most modern web browsers use 16px as the default font size for the root element. You can adjust this value in the settings to match your specific CSS configuration.

Are the conversions accurate for print?

Yes. The point (pt) unit is traditionally used in print media, where 1pt is defined as 1/72 of an inch. The converter uses standard CSS ratios to translate these to screen pixels.

Is my data privacy protected?

Yes. This tool runs entirely in your local browser environment. No values or unit preferences are sent to our servers or stored externally.

ผู้คนยังค้นหา

เครื่องมือที่เกี่ยวข้อง

More in this room.

ดูทั้งหมดใน เครื่องคิดเลข