REM to PX Converter

Convert REM/EM units to PX based on configurable root font size with live preview and batch conversion.

REM / EM to PX Converter

px
REM PX Preview

How to Use

  1. Set root font size — Enter your base font size (default 16px).
  2. Enter values — Type or paste REM/EM values, one per line or comma-separated.
  3. Toggle units — Check "Use EM units" to convert EM instead of REM.
  4. Copy result — Click the Copy button or use the table preview to see all values.

Frequently Asked Questions

What is the difference between REM and EM?

REM (Root EM) is relative to the root element's font size (usually 16px). EM is relative to the parent element's font size. This tool uses the root font size for both when "Use EM units" is unchecked.

What is the default root font size?

Most browsers default to 16px, but you can adjust it to match your design system's base font size (e.g., 14px, 18px, 20px).

What is the formula for REM to PX?

PX = REM × Root Font Size. For example, 2rem with a 16px base = 32px. EM follows the same formula when using the root font size setting.

Related Tools

Last updated: 1 Jul 2026