Typography Converter.

Convert between px, rem, em, pt and percent for CSS and print, with a configurable base font size. Includes a reference table of common type sizes.

px
Copied ✓
rem
Copied ✓

Reference Table

px rem em pt %
0.0160.0010.0010.0120000030.1
0.160.010.010.120000031
1.60.10.11.210
161112.000003100
1601010120.000031000
16001001001200.000310000
160001000100012000.003100000

em and rem values assume a 16 px root font size.

Units in this converter

pxPixel
remREM
1 px = 0.0625rem
emEM
1 px = 0.0625em
ptPoint
1 px = 0.75000019pt
%Percent (%)
1 px = 6.25%

Understanding typography unit conversion

A typography converter changes a font or spacing size between the units used in web and print design — pixels to rem, em to pixels, or points to pixels. Front-end developers and designers need it constantly, because a design handed over in points or pixels has to become the relative units that make a layout scale and stay accessible. This tool covers px, rem, em, pt and percent.

The formula. Everything is converted through the pixel, using the browser default root font size of 16px. That gives 1 rem = 16px, 1 em = 16px, 100% = 16px and 1 pt = 1.3333px (since CSS defines 1 inch as 96px and 72pt, so the ratio is 96 ÷ 72). The important difference is that rem always resolves against the root element, while em resolves against the parent — so nested em values compound, and a 0.9em inside a 0.9em is 0.81 of the original.

Worked example. A heading specified as 24px is 24 ÷ 16 = 1.5rem. A 12pt body size from a print spec is 12 × 1.3333 = 16px, which is 1rem — that is why 12pt and 16px both read as "normal" body text. Going the other way, 0.875rem is 14px, the common size for captions and helper text.

Where it's used. Using rem for font sizes is a real accessibility win: a reader who raises their browser's default text size scales the whole interface, which fixed pixel values ignore. Points survive from print and still appear in PDFs, Word documents and design tools, while em is useful for spacing that should track its own element's font size — padding inside a button, for instance. Note that if your CSS changes the root font size away from 16px, every rem value shifts with it.

How to convert typography units

  1. Choose the unit you are converting from. This converter covers 5 units: px, rem, em, pt and 1 more.
  2. Choose the unit you want in the second dropdown, or press the swap button to reverse the direction.
  3. Type your value. The result updates as you type; there is no calculate button.
  4. Use Copy to take the number, or Share to send a link with your value already filled in.

Frequently Asked Questions

How many pixels is 1 rem?

By default 1 rem = 16px, because 16px is the standard root font size in every major browser. If your CSS changes the font size on the html element, every rem value on the page scales with it.

What is the difference between rem and em?

rem is always relative to the root element, so 1.5rem is 24px anywhere on the page. em is relative to the parent element's font size, so em values compound when nested — 0.9em inside another 0.9em resolves to 0.81 of the original. Use rem for font sizes and em for spacing that should track its own element.

How do I convert points to pixels?

Multiply points by 1.3333. CSS defines 1 inch as 96px and 72pt, so the ratio is 96 ÷ 72 = 4/3. That makes 12pt exactly 16px — which is why a 12pt print body size and a 16px web body size look about the same.

Should I use px or rem for font sizes?

Prefer rem. When a reader increases their browser's default text size — a common accessibility need — rem-based type scales up with it, while fixed px values ignore the setting entirely. Pixels remain fine for things that genuinely should not scale, such as hairline borders.

All tools