Skip to main content

Pixel Converter

Convert units with the Pixel Converter — enter a value and get accurate converted results instantly using verified formulas.

Formula

REM = Pixels / Base Size

Divide the pixel value by the root font size (usually 16px) to get the REM value.

Worked Examples

Example 1: Standard Text

Problem:16px base, want 24px heading

Solution:24 / 16 = 1.5

Result:1.5 rem

Example 2: Small Text

Problem:16px base, want 14px text

Solution:14 / 16 = 0.875

Result:0.875 rem

References