DoolityDoolity

Font Size Converter: pt, px, mm, Q, rem

Converts a font size between print units (pt, mm, Q, H) and web units (px, rem, em), and shows how many pixels the text takes in 72, 300, and 350 dpi images.

Decimal places
Print units
pt
mm
Q
H
Web units (CSS)
px
rem
em
px
px

⁦12pt⁩ = ⁦16px⁩ = ⁦4.23mm⁩ = ⁦16.93Q⁩ = ⁦1rem⁩ (⁦16px⁩ base)

72 dpi imageAt 72 dpi, 1 pt = 1 px.
12px
300 dpi image
50px
350 dpi image
58.33px
JIS point (0.3514 mm)
12.05pt

Preview

Shown at ⁦16px⁩

The quick brown fox jumps over the lazy dog.

いろはにほへと ちりぬるを

The on-screen preview differs from the printed size, depending on the device and zoom settings.

pt is the DTP point (1/72 inch). The JIS point is shown only for comparison.

If a reader changes the browser's font size, the real size of rem and em changes too.

Common font sizes (8–72 pt)

Common font sizes (8–72 pt)
ptpxmmQrem
810.672.8211.290.67
9123.1812.70.75
1013.333.5314.110.83
1114.673.8815.520.92
12164.2316.931
1418.674.9419.761.17
1621.335.6422.581.33
18246.3525.41.5
2026.677.0628.221.67
24328.4733.872
2837.339.8839.512.33
3242.6711.2945.162.67
364812.750.83
486416.9367.734
608021.1784.675
729625.4101.66

Calculated from W3C CSS Values and Units Level 4 (1 in = 96 px = 72 pt) and 1 Q = 0.25 mm. rem uses the rem base. Definitions checked on 26 October 2026.

How to use the font size converter

  1. Type a size in the unit you have, for example 13 in the Q field or 12 in the pt field.
  2. Read the other units. They change as you type.
  3. If your page uses a root font size other than 16 px, change the rem base. Change the em base to the font size of the parent element.
  4. Check the image pixels at 72, 300, or 350 dpi, and look at the preview for a rough idea of the size.
  5. Copy the one-line result or the CSS value.

What are font size units?

Font size units measure the size of type, either as a physical length for print, such as points, millimeters, and Q, or as a CSS length for screens, such as px, rem, and em.

The size of a font is the height of its em square, the box that the type is designed in, not the height of a capital letter. Two fonts at the same size can look larger or smaller, because each font draws its letters differently inside the em square.

How the units are calculated

  • The W3C CSS Values and Units Level 4 specification fixes 1 in = 96 px and 1 pt = 1/72 in. So 1 pt = 4/3 px, and 12 pt is exactly 16 px.
  • One inch is exactly 25.4 mm, so 1 pt is about 0.3528 mm and 1 px is about 0.2646 mm.
  • In Japanese phototypesetting, 1 Q (kyū, 級) and 1 H (ha, 歯) are both 0.25 mm. Q measures the type size, and H measures letter and line spacing. CSS also has a Q unit of 1/40 cm.
  • For font sizes, 1 rem is the font size of the root (html) element, and 1 em is the font size of the parent element. With a 20 px root, 1.5 rem is 30 px.
  • The Japanese standard JIS Z 8305:1962 sets 1 point at 0.3514 mm, the American point of metal type. It is about 0.4% smaller than the 1/72-inch point of DTP software.

When to use it

  • Turning a 12 pt size from a document into px or rem for a web page.
  • Converting a Japanese print specification in Q into pt for design software.
  • Checking how many pixels tall 9 pt text is in a 350 dpi image for print.
  • Writing a font size from a design mockup in px as a rem value in CSS.

Questions about font size units

How many pixels is 12 pt?

On the web, 12 pt is 16 px, because CSS sets 72 pt and 96 px to one inch. In a 72 dpi image, 12 pt is 12 px. In a 300 dpi image, it is 50 px.

How do I convert Q to pt?

Multiply the Q value by 0.25 to get millimeters, then divide by about 0.3528. For example, 13 Q is 3.25 mm, which is about 9.21 pt, and 20 Q is 5 mm, about 14.17 pt.

Why is 1 rem 16 px?

1 rem follows the font size of the root element. If a page does not set it, the browser's default font size is used, which MDN describes as usually 16 px. If a reader changes that setting, rem sizes change too. Set the rem base to match your page.

What is the difference between rem and em?

rem always uses the root font size. em uses the font size of the parent element, so em values compound when elements are nested: 1.25 em inside 1.25 em is about 1.56 times the outer size.

Why does the preview not match the printed size?

CSS defines a pixel by how large it looks from a normal viewing distance, not as a fixed physical length. Screens differ in pixel density, and zoom changes the size. On paper, 12 pt is about 4.23 mm.

Is my information sent anywhere?

No. The calculation runs in your browser. Your decimal places and base sizes are saved only in this browser.