Goafreet
HomePortfolioInnovationTech NewsSupport
Home Tech News
Calculators & Units
Interactive Studio

Unit Converter

Convert typography values between px, rem, em, pt, and percent. Set root and parent font sizes for accurate em and rem calculations.

Unit Converter

Default browser root is 16px

Context for em and % calculations

UnitValueCopy
Pixels16px
Root rem1rem
Em1em
Points12pt
Percent100%

What this unit converter does

This unit converter translates typography values between px, rem, em, pt, and percent. Set root and parent font sizes for accurate relative unit calculations in your design system.

How to use it

1

Enter a numeric value in any supported typography unit.

2

Set the root font size (default 16px) for rem calculations.

3

Set the parent font size (default 16px) for em and percentage context.

4

Copy converted values directly into your CSS or design token files.

5

Read Typography Tokens for guidance on when to use each unit in production.

Frequently asked questions

Divide the pixel value by the root font size. With a standard 16px root, 24px equals 1.5rem (24 / 16 = 1.5). Always declare html { font-size: 100%; } or 16px as your baseline.

Use rem for global typography scales so sizes stay predictable and respond uniformly to browser font settings. Use em for spacing or padding that must scale proportionally with an element’s local font size, such as button padding.

Points (pt) are a print industry standard where 1pt equals 1/72 inch. On the web with standard 96 CSS dpi, 1pt equals 4/3 CSS pixels (1.333px). Points remain useful when coordinating web typography with print deliverables.

Custom Type Engineering

Need a custom brand typeface or complete typography system?

Goafreet crafts bespoke Latin and Indic typefaces, authorized script extensions, and corporate font governance for modern digital brands.