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:
- A4 is 210 × 297 mm. In points that is 210 / 25.4 × 72 = 595.28 and 297 / 25.4 × 72 = 841.89, so A4 is 595.28 × 841.89 pt. The decimals are real: A4 is defined in millimetres, so it never lands on whole points.
- US Letter is 8.5 × 11 inches, which is exactly 612 × 792 pt.
- US Legal is 8.5 × 14 inches, exactly 612 × 1008 pt.
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)
- 72 dpi: 595 × 841 px (exact 595.28 × 841.89), 0.50 megapixels
- 144 dpi: 1190 × 1683 px (exact 1190.56 × 1683.78), 2.0 megapixels
- 216 dpi: 1785 × 2525 px (exact 1785.84 × 2525.67), 4.5 megapixels
- 300 dpi: 2480 × 3507 px (exact 2480.33 × 3507.88), 8.7 megapixels
US Letter (612 × 792 pt)
- 72 dpi: 612 × 792 px, 0.48 megapixels
- 144 dpi: 1224 × 1584 px, 1.9 megapixels
- 216 dpi: 1836 × 2376 px, 4.4 megapixels
- 300 dpi: 2550 × 3300 px, 8.4 megapixels
US Legal (612 × 1008 pt)
- 72 dpi: 612 × 1008 px, 0.62 megapixels
- 144 dpi: 1224 × 2016 px, 2.5 megapixels
- 216 dpi: 1836 × 3024 px, 5.5 megapixels
- 300 dpi: 2550 × 4200 px, 10.7 megapixels
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
- Engine: headless Chromium 129, with the same pdf.js build and the same rendering calls the PDF to Images tool uses. Images were encoded with the browser's
canvas.toBlob, PNG as is and JPG at quality 0.92, again as the tool does. - Text page: an A4 PDF we generated, with a bold heading and 62 lines of 10.5 pt Helvetica body text, filling most of the page. The PDF itself is 2.6 KB.
- Photo page: an A4 PDF holding one public-domain photo from the US National Park Service ("Grand Canyon Crystal Rapid", via Wikimedia Commons), 3840 × 2550 pixels, placed with the Images to PDF A4 option (24 pt margin). On the page it measures about 19.3 × 12.8 cm, about 40% of the page area (43% of its height), with white space above and below. The PDF is 2.0 MB.
- Each page was rendered at 72, 144, 216 and 300 dpi and saved once as PNG and once as JPG. Sizes are in KB (1024 bytes) and MB (1024 KB).
The scripts and raw CSV files are in the site's research/pdf-page-size-and-dpi/ folder.
Text page results
- 72 dpi: PNG 174 KB, JPG 243 KB
- 144 dpi: PNG 572 KB, JPG 765 KB
- 216 dpi: PNG 1.0 MB, JPG 1.3 MB
- 300 dpi: PNG 1.6 MB, JPG 2.1 MB
Photo page results
- 72 dpi: PNG 450 KB, JPG 85 KB
- 144 dpi: PNG 1.7 MB, JPG 313 KB
- 216 dpi: PNG 3.4 MB, JPG 593 KB
- 300 dpi: PNG 6.5 MB, JPG 1.2 MB
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
- To share a page in a chat or on a website, use 144 dpi, and choose JPG for photo-heavy pages and PNG for text, slides and diagrams.
- For printing at full page size or for OCR on small text, aim for 216 dpi or more. If a tool offers only up to 216 dpi and your text is tiny, render only the pages you need, crop the area of interest, or check whether the PDF already has selectable text.
- To keep a document small and searchable, keep it as a PDF. Use Split PDF to send just a few pages instead of turning them into pictures; the guide on extracting pages has measured sizes for that.
- If a rendered image looks blurry at every setting, the page itself may be a low-resolution scan. More dpi gives a bigger copy of the same blur.
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.