TabGarden

Guides

PDF Page Size and DPI: Points, Pixels and Which Resolution to Pick

How PDF points map to pixels for A4, Letter and Legal at 72 to 300 dpi, which resolution suits screen, print or OCR, and measured PNG and JPG sizes.

A PDF page has no pixels. It has a size in points, and everything on the page (text, lines, photos) is placed in that coordinate space. Pixels only appear when something turns the page into a picture: a screen showing it, a printer printing it, or a converter such as PDF to Images saving it as PNG or JPG. This guide explains how the two units relate, gives exact pixel sizes for the common paper formats, and shows what different resolutions cost in file size, measured on two sample pages.

Points: the unit inside every PDF

PDF measures pages in points, and 1 point is 1/72 of an inch. One inch is 25.4 mm, so one point is about 0.353 mm. A page size in a PDF is simply a width and a height in points:

A PDF page can be any size. A page made from a phone photo with the "Same as image" page size in Images to PDF is as many points wide as the photo is pixels wide, which is why such pages look enormous when you check their size in a viewer. The guide on scanning documents with phone photos covers that case.

From points to pixels: the formula

When a page is rendered at a given resolution in dots per inch (dpi), each inch of the page becomes that many pixels. Since an inch is 72 points:

pixels = points × dpi / 72

The factor dpi / 72 is the render scale. At 72 dpi the scale is 1, so one point becomes one pixel. At 144 dpi the scale is 2, at 216 dpi it is 3, and at 300 dpi it is 300 / 72 ≈ 4.1667.

The result is usually not a whole number, and a picture cannot have a fraction of a pixel. The PDF to Images tool, like many renderers, rounds down. That is why the same A4 page can be described as 2480 × 3507 or 2480 × 3508 pixels at 300 dpi, depending on whether a program rounds down or to the nearest pixel.

Exact pixel sizes for A4, Letter and Legal

We computed these with the formula above and rounded down, which is what the tool does. The exact (unrounded) value is shown where it has decimals.

A4 (595.28 × 841.89 pt)

US Letter (612 × 792 pt)

US Legal (612 × 1008 pt)

Notice how fast the pixel count grows. Doubling the dpi doubles the width and the height, so the image has four times the pixels. Going from 72 to 216 dpi multiplies the pixel count by nine. File size and memory use follow the pixel count, not the dpi number.

The PDF to Images tool offers 72, 144 and 216 dpi. We include 300 dpi here because it is a common figure for print and OCR, so you can compare.

Which resolution to choose

For screens

For reading on a monitor or phone, sharing in a chat, or putting a page on a website, 144 dpi is a sensible default. An A4 page becomes about 1190 pixels wide, enough for sharp text on high-density laptop and phone screens. 72 dpi gives a page that looks soft as soon as anyone zooms in; it is fine for thumbnails and quick previews.

For print

A printed image looks sharp when it has enough pixels for the printed size. If you will print the image at the same physical size as the PDF page, more pixels per inch means finer detail on paper. At 216 dpi a capital letter in 10.5 pt Helvetica is about 22 pixels tall (Helvetica capitals are about 0.72 of the font size, so 10.5 × 0.72 × 3); at 300 dpi it is about 31 pixels, which leaves more room for fine print and thin lines. If a print service names a resolution, use theirs. If the image will be printed smaller (a page shown as a quarter-page figure in a report), fewer pixels are needed, because the same pixels are squeezed into less paper.

Keep one thing in mind: if your goal is to print a PDF, print the PDF itself. A PDF with real text and vector drawings prints at the printer's full resolution. Converting it to an image first can only lose sharpness.

For OCR (text recognition)

OCR software reads letter shapes, so small text needs enough pixels per letter. The documentation of Tesseract, a widely used open-source OCR engine, says it works best on images which have a DPI of at least 300 dpi. What really matters is how tall the letters are in pixels, so 216 dpi can work for large type and fail for footnotes. If you are converting a page only to run OCR, and the text in your PDF is already selectable, you do not need OCR at all: the text is already in the file.

Measured: file sizes at each resolution

Pixel counts tell you about memory. File size depends on what is on the page, so we measured it.

Method

The scripts and raw CSV files are in the site's research/pdf-page-size-and-dpi/ folder.

Text page results

Photo page results

What the numbers show

PNG won for text, JPG won for the photo. On the text page, PNG was smaller than JPG at every resolution, by about a quarter. PNG compression is lossless and does well on large areas of flat colour with sharp edges; JPG at quality 0.92 spends many bytes keeping those edges clean. On the photo page it was the reverse: the JPG was five to six times smaller than the PNG at every resolution. The comparison between formats is covered in more depth in JPG vs PNG vs WebP.

File size grew more slowly than pixel count for text. From 72 to 300 dpi the pixel count grows about 17 times, but the text PNG grew about 9 times (174 KB to 1.6 MB). Large white areas compress very well at any size. The photo grew closer to the pixel count: the photo JPG went from 85 KB to 1.2 MB, about 14 times.

A 300 dpi image of a page can be much bigger than the PDF it came from. The text PDF is 2.6 KB, because it stores letters as text plus a font reference. Its 300 dpi PNG is 1.6 MB, more than 600 times larger. If your goal is a smaller file, converting to images is the wrong direction for text documents.

Rendering the photo page did not recover the photo's full detail at these settings. The original photo on that page has about 505 pixels per inch of paper (3840 pixels across 7.6 inches). Even 300 dpi uses fewer pixels than that, so the rendered image is a downscaled copy. If you need the original photo out of a PDF, rendering the page is not the same as extracting the embedded image.

Practical checklist

Common questions

Is "dpi" stored in the image file?

Image files can carry a resolution note, but the pixel count is what matters. A 1190 × 1683 image is the same picture whether its file says 144 or 300 dpi; only the size it prints at by default changes.

Why is my A4 render one pixel shorter than another tool's?

Because A4 is not a whole number of points, the exact pixel height has a fraction (3507.88 at 300 dpi). Rounding down gives 3507, rounding to nearest gives 3508. Both are correct renderings of the same page.

Does a higher dpi make the PDF itself better?

No. Converting a PDF to images never changes the PDF. The dpi only decides how many pixels the copy has.