Skip to content

PX / REM Converter

Convert pixels and rem units using an explicit root font size.

Mode

Input

Result

Type or paste on the left — the result updates as you type.

The base must be positive. The default example uses 16 px; actual browser root font sizes may differ.

Up to 100,000 UTF-16 units per input and 1,000,000 per result. See the supported formats and examples below.

Format references

Tool page updated: