🔤

Typography Converter.

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

px Pixel
rem REM
1 px = 0.0625 rem
em EM
1 px = 0.0625 em
pt Point
1 px = 0.75000019 pt
% 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.

FAQ

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.

Tips

  • Type in either field — conversion works both ways.
  • Use the swap button to reverse the direction instantly.
  • Click "Share" to copy a link with your value pre-filled.