Typography converter

Pixels to points converter (px to pt)

1 pixel (px) equals exactly 0.75 points (pt). To convert pixels to points, multiply by 0.75, which is 72/96: pt = px × 0.75.

px

16 pixels (CSS) equals

12points

pt = px × 72 ÷ 96 = px × 0.75

Exact conversion factor1 px = 0.75 pt1 pt = 1.33333333333 px

So 16 px is 12 pt, 24 px is 18 pt and 96 px, one CSS inch, is 72 pt.

By Hira Noor, mathematicianLast reviewed Report a problem

Pixels to points formula

Formula

pt = px × 72 ÷ 96 = px × 0.75

CSS fixes one inch at exactly 96 px and 72 pt, so one pixel is 72/96 = 0.75 points. To go back from points to pixels, divide by 0.75 or multiply by 4/3. This holds for CSS, browsers and print stylesheets. For the pixels of a raster image (Photoshop, a scan, a photo), use the image’s own resolution instead: pt = px × 72 ÷ ppi.

How to convert px to pt: worked examples

  1. Convert 16 px to points (browser default text)

    16 px × 0.75 = 12 pt

    Browsers render body text at 16 px unless a page changes it, the same size as 12 pt text in Word, Outlook or Google Docs.

  2. Convert 14 px to points

    14 px × 0.75 = 10.5 pt

    Half points are normal: Word and InDesign accept 10.5 pt as a font size.

  3. A 24 px heading in points

    24 px × 0.75 = 18 pt

  4. One CSS inch: 96 px in points

    96 px × 0.75 = 72 pt

    An inch is 96 px and 72 pt in CSS, which is where the factor 72/96 = 0.75 comes from.

  5. A 1920 px wide layout in points

    1920 px × 0.75 = 1440 pt

    This treats the width as CSS pixels: 20 inches at 96 px per inch. Printed from a browser, a 1920 px wide page box is 1440 pt (20 in) wide.

  6. A 600 px image at 300 ppi in points (print)

    600 px × 72 ÷ 300 ppi = 144 pt

    Placed in InDesign at 300 ppi, the image is 144 pt (2 in) wide. Image pixels follow the image resolution, not the 96 px CSS inch.

  7. Convert 12 pt back to pixels

    12 pt ÷ 0.75 = 16 px

    To go from points to pixels, divide by 0.75 or multiply by 4/3, or use the points to pixels converter.

Common CSS sizes in points

One inch is 96 CSS pixels and 72 points, so every 16 px lines up with 12 pt.
Browser default text and heading sizes, plus common page and screen widths, given in CSS pixels with the same length in points. Heading sizes are the default browser styles (h1 2em, h2 1.5em, h3 1.17em of 16 px).
SizePixels (px)Points (pt)
Hairline border10.75
Small text (0.75rem)129
Browser default text (1rem)1612
Default h3 heading18.7214.04
Default h2 heading2418
Default h1 heading3224
1 inch9672
US Letter width (8.5 in)816612
US Letter height (11 in)1,056792
Full HD height1,080810
Full HD width1,9201,440

What are pixels and points?

Pixel (CSS, px)

The CSS reference pixel is exactly 1/96 inch, or 0.75 pt. Browsers scale it to device pixels, so on a high-density screen one CSS pixel may cover several physical pixels.

Point (pt)

The desktop publishing (PostScript) point is exactly 1/72 inch, about 0.3528 mm. It is the point used by CSS, word processors and design software for font sizes.

Both units are defined by the CSS Values and Units specification (opens in a new tab), which ties them to the inch: 1 in = 96 px = 72 pt. One pixel is therefore 72/96 = 0.75 points and one point is 96/72 = 4/3 ≈ 1.3333 pixels, exactly. The CSS pixel is a reference unit, not a dot on the screen. Browsers map it to device pixels through the device pixel ratio, so on a screen with a ratio of 2, such as most Retina displays, each CSS pixel covers 2 × 2 physical pixels and 16 px text is still 12 pt.

The 0.75 factor comes from Windows, which treated a screen as 96 pixels per logical inch, so 12 pt text was drawn 16 pixels tall. Early Macintosh screens were 72 pixels per inch, where one pixel and one point were the same size, and that is why some older tools and articles still say 1 px = 1 pt. CSS adopted the 96 px inch, so in a browser 16 px and 12 pt are the same size.

Pixels in an image are different: their size depends on the resolution the image is placed or printed at. In Photoshop, InDesign or a print shop, use pt = px × 72 ÷ ppi, so 300 px is 72 pt (1 in) at 300 ppi and 300 pt at 72 ppi. Illustrator works at 72 ppi, so 1 px = 1 pt there. For the reverse direction use the points to pixels converter, and for picas, millimeters and TeX points the full typography converter.

Points and pixels are in the fixed ratio 4:3 (96 px = 72 pt = 1 inch). The ratio calculator scales ratios like this one, and the length converter handles inches and millimeters.

Practice problems

A web design uses 18 px body text. What size is that in Word?

18 px × 0.75 = 13.5 pt.

A layout is 1200 px wide. How wide is it in points and inches?

1200 × 0.75 = 900 pt, and 900 ÷ 72 = 12.5 in (or 1200 ÷ 96 = 12.5 in).

A client wants 11 pt text on a web page. What px value matches it?

11 ÷ 0.75 = 14.667 px. Use 14.67px, or write 11pt in the CSS, which renders at the same size.

Frequently asked questions

How many points are in 1 pixel?

1 px = 0.75 pt exactly. CSS defines one inch as 96 px and as 72 pt, so one pixel is 72/96 = 0.75 points. In the other direction, 1 pt = 4/3 ≈ 1.3333 px.

How do I convert px to pt?

Multiply the pixels by 0.75, or multiply by 3 and divide by 4. For example, 16 px × 0.75 = 12 pt, 20 px = 15 pt and 32 px = 24 pt.

Why is 16 px equal to 12 pt?

Because CSS puts 96 px and 72 pt in one inch. 16 px is 16/96 = 1/6 inch, and 1/6 inch is 72/6 = 12 pt. That is also why the default browser text size of 16 px matches 12 pt text in Word.

Does px to pt depend on screen resolution or DPI?

Not in CSS. A CSS pixel is fixed at 1/96 inch and browsers scale it to the screen, so 16 px is 12 pt on any display. It does depend on resolution for raster images, where pt = px × 72 ÷ ppi: 300 px is 72 pt at 300 ppi but 300 pt at 72 ppi.

Should I use px or pt for font sizes?

Use px or rem for screens and CSS, and pt for print: Word, Google Docs, InDesign, PDF and print stylesheets. Points in a screen stylesheet work, but the browser turns them into pixels at 4/3, so they add nothing over px.

What is the difference between px, pt and em?

px and pt are absolute: 1 px is 1/96 inch and 1 pt is 1/72 inch. An em is relative to the current font size, so 1 em is 16 px (12 pt) with the browser default but 20 px (15 pt) inside 20 px text. You cannot convert em to pt without knowing the font size.

Do Photoshop, Illustrator and Figma use px or pt?

Figma sizes everything in pixels. Illustrator works at 72 ppi, so 1 px = 1 pt there. Photoshop converts with the image resolution: pt = px × 72 ÷ ppi, so a 72 ppi document gives 1 px = 1 pt and a 300 ppi document gives 300 px = 72 pt.

How do I convert px to pt for an email signature or Outlook?

Outlook and Word size fonts in points, while HTML signatures are often written in pixels. Multiply by 0.75: a 13 px signature font is 9.75 pt, 14 px is 10.5 pt and 16 px is 12 pt.

Are iOS points the same as typographic points?

No. Apple’s pt in iOS and macOS design is a layout unit equal to 1 pixel at 1x, 2 pixels at 2x and 3 at 3x. It is about the size of a CSS pixel, not 1/72 inch. To turn screen pixels into iOS points, divide by the screen scale: a 1170 px wide 3x iPhone screen is 1170 ÷ 3 = 390 pt wide.