PDF Compression Calculator

Estimate the image DPI and quality a PDF needs to hit a target file size, from its page count and current size.

Current size per page 768 KB per page
per-page budget = target MB ÷ pages · reduction = 1 − target ÷ current
Target size per page 213 KB per page
per-page budget = target MB ÷ pages · reduction = 1 − target ÷ current
Reduction needed 72.2 %
per-page budget = target MB ÷ pages · reduction = 1 − target ÷ current
Is the target realistic? Demanding — a 72% reduction usually means dropping image resolution substantially, and scanned text will become visibly softer.
Suggested scan or image DPI 200 DPI greyscale, or 300 DPI bitonal for text-only scans.
Estimated size if the pages were text only 0.22 MB — roughly 4 KB per page plus about 120 KB of embedded font subsets
What to try In order of how much they save: downsample images to the DPI above; convert colour scans to greyscale, or to bitonal if they are text only; subset or drop unused embedded fonts; remove form fields and annotations you no longer need; and run a linearise/garbage-collect pass to drop orphaned objects. Re-saving through a tool that only restructures — as the page editors on this site do — cannot shrink an image-heavy PDF, because it never touches the image data.

Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.

What the PDF Compression Calculator does

This PDF compression calculator will estimate the image DPI and quality a PDF needs to hit a target file size, from its page count and current size. Fill in all 4 fields and the result updates as you type — there is no Calculate button to press and no page reload. It is most often used for working out what DPI a scan needs to fit an email attachment limit. People using this often want the PDF info and page counter next.

How to use it

  1. Enter the page count and current size of your document.
  2. Enter the size you need to reach, such as a 5 MB email attachment limit.
  3. Choose what the pages mostly contain, since that determines what is driving the size.
  4. Read the per-page budget and the suggested DPI, then check the feasibility verdict before committing.

How it works

PDF file size is almost always dominated by one thing: embedded images. A text and vector document costs a few kilobytes per page plus a one-off charge for embedded font subsets, which is why a hundred-page report exported from a word processor is often under a megabyte. A twenty-page scan at 300 DPI in colour can be eighty megabytes, because every page is a full-resolution photograph of a sheet of paper.

That tells you where compression effort belongs. Working out a per-page budget — your target divided by the page count — converts an abstract goal into the concrete question of what each page can afford, and the DPI suggestion follows from that. A 250 KB page budget comfortably holds 300 DPI greyscale; a 25 KB budget holds 150 DPI bitonal and nothing more.

The three biggest levers, in order: resolution, colour depth and encoding. Halving the DPI quarters the pixel count. Converting a colour scan to greyscale cuts it to a third of the data before compression; converting text-only pages to bitonal black and white cuts it dramatically further, and CCITT or JBIG2 encoding of bitonal scans is extraordinarily efficient on text. Those choices are also irreversible, which is why keeping the original is part of the process.

Two cautions. First, structural PDF tools — including the page editors on this site — cannot compress an image-heavy document, because they copy image data without touching it; shrinking such a file needs a tool that decodes and re-encodes the images, which is a different operation. Second, if the aim is to email a scanned text document, running OCR and exporting as text is often the right answer rather than compressing the scan: it produces a file a hundredth of the size, and it is searchable.

When to use it

  • Working out what DPI a scan needs to fit an email attachment limit.
  • Checking whether a target file size is achievable before trying.
  • Deciding between greyscale and bitonal for a batch of scanned documents.
  • Estimating how large a text-only version of a scanned document would be.

Common mistakes to avoid

  • Expecting a structural PDF tool to shrink an image-heavy file. It copies image data untouched.
  • Compressing a scanned text document when OCR and a text export would be a hundred times smaller and searchable.
  • Downsampling without keeping the original. Resolution and colour depth cannot be recovered afterwards.

Frequently asked questions

What DPI should I scan at to keep PDFs small?

200 DPI greyscale is a good general choice for text documents, giving roughly 100–150 KB per page. For text-only pages, 300 DPI bitonal with CCITT or JBIG2 encoding is both smaller and sharper. Reserve 300 DPI colour for pages where the colour carries information.

Why did re-saving my PDF not make it smaller?

Because the tool restructured the document without touching the images, and images are what the size consists of. Shrinking an image-heavy PDF requires decoding and re-encoding those images at lower resolution or quality.

What is the smallest a scanned page can realistically be?

A bitonal text page at 300 DPI with JBIG2 or CCITT Group 4 encoding commonly lands between 20 and 60 KB. Below that, the honest answer is to OCR the document and export it as text, which costs a few kilobytes per page and is searchable.

Related tools

See all pdf tools →