Font Size & Unit Converter

Try an example:
px
16
pt
12
em
1
rem
1
%
100

Font size preview · 16px

Kitora. Readable type. Aa 0123

Preview uses this site’s font, limited to 12–96px for display. Calculated and copied values keep their original size.

For CSS font sizes: 1pt = 4/3px; em and % use the parent size, while rem uses the root size.

Chinese type sizes

Chinese sizepxptSelect
初号5642
小初4836
一号34.6666666726
小一3224
二号29.3333333322
小二2418
三号21.3333333316
小三2015
四号18.6666666714
小四1612
五号1410.5
小五129
六号107.5
小六8.6666666676.5
七号7.3333333335.5
八号6.6666666675

What is Font Size & Unit Converter?

Choose the input unit to convert between CSS px, pt, em, rem and percentages. CSS uses 96px per inch and 72pt per inch; these are CSS units, not a measurement of physical screen pixels.

For font-size conversions, em and percentages use the parent font size; rem uses the root element font size. Set them separately when your document uses different values. The Chinese publishing table starts from point sizes.

Common conversions, with the assumptions visible

Choose “1.5em → px” to set both base sizes to 16px. The result is 24px because 1.5 × 16 = 24. Change the input unit to convert in the opposite direction; the converter accepts px, pt, em, rem and percentages as inputs.

CSS defines an inch as 96px or 72pt, so px = pt × 4/3 and pt = px × 3/4. These are CSS reference units, not a measurement of physical display pixels, monitor DPI or printer resolution.

Parent = 16px; root = 16px
Inputpxptem / rem
1.5em24181.5
64em102476864
18px1813.51.125
12pt16121
150%24181.5

When 1.5em is not 1.5rem

Choose “Different em / rem bases”. With a 20px parent and a 16px root, 1.5em resolves to 30px, or 1.875rem. A value of 1.5rem still resolves to 24px. The two relative units agree only when their bases agree.

For font-size, em and % use the parent’s computed font size; rem uses the root element’s font size. Inspect those values in your browser’s developer tools instead of assuming every page uses 16px. em used on other properties, such as padding, usually refers to the element’s own font size; this converter is specifically for font-size.

A page where the bases differ
html { font-size: 16px; }
.card { font-size: 20px; }
.card .title { font-size: 1.5em; }  /* 30px */
.card .note  { font-size: 1.5rem; } /* 24px */

Use the result in a real layout

For a 24px heading in a design whose root size is 16px, start with 1.5rem. For a label that should scale with a 20px card, 1.2em produces 24px in that card. Recheck the layout when the root size, parent size or user’s text preferences change.

The Chinese publishing-size table uses point values. Selecting 小四 loads 12pt, which corresponds to 16 CSS px. This is a size reference: the perceived size still depends on the font, line height and rendering, and it is not a guarantee of a physical print measurement.

Zero is a valid input size. Both base sizes must be positive; blank, negative or non-finite inputs show no result. Very large values may be rounded for display. The tool does not resolve calc(), clamp(), viewport units or an entire stylesheet.

Frequently asked questions

Can I convert em or pt back to px?

Yes. Select em, pt, rem or % as the input unit. The px result updates immediately.

Why do em and rem sometimes differ?

For font-size values, em uses the parent font size and rem uses the root font size. The converter lets you enter each base separately.

References and example checks

Examples checked against this tool: .