Deep DiveDPICompression⏱ 12 min read

DPI and PDF File Size Explained — What Actually Happens When You Compress a PDF

Why does a one-page PDF from Canva weigh 8MB while a 50-page Word export is only 600KB? Why does your scanned payslip compress from 4MB to 300KB but a digital bank statement barely changes? The answer is DPI — dots per inch. Understanding how DPI and image compression interact in PDFs makes it much easier to choose the right compression settings and predict the result before you hit submit.

What Is DPI and Why Does It Matter for PDFs?

DPI stands for dots per inch — the number of pixels used to represent one inch of an image. Higher DPI means more pixels, more detail, and a larger file size. Lower DPI means fewer pixels, less detail, and a smaller file.

PDFs are a mixed format: they can contain vector elements (text, lines, shapes drawn with mathematical coordinates) and raster elements (photos, scans, embedded images stored as pixel grids). DPI only applies to the raster elements — the images. This distinction explains why the same compression setting produces dramatically different results on different PDFs.

When a scanner captures a physical document at 300 DPI, it stores 300 × 300 = 90,000 pixels per square inch. When that image is embedded in a PDF and later compressed, the tool reduces the pixel density to, say, 96 DPI — storing only 9,216 pixels per square inch. The image is smaller in bytes, looks nearly identical on a screen, and takes a fraction of the storage space.

DPI vs PPI — Is There a Difference?

In casual usage, DPI (dots per inch) and PPI (pixels per inch) are used interchangeably for digital images. Technically, DPI refers to physical printer output (how many ink dots per inch) while PPI refers to pixel density in digital files. For PDF compression purposes, the distinction doesn't matter — both terms describe the same concept: how many data points represent one inch of an image. This guide uses DPI throughout as it's the more commonly recognised term in consumer contexts.

How DPI Affects File Size — With Real Numbers

The relationship between DPI and file size is roughly quadratic: double the DPI and the image takes up approximately four times the storage space. Here's what that looks like in practice for a single A4 page:

DPIPixels in an A4 imageApprox. file size (JPEG)Best used for
72 DPI595 × 842 px~50–150KBScreen viewing, portal uploads, email
96 DPI794 × 1123 px~100–300KBScreen + light A4 printing
150 DPI1240 × 1754 px~300KB–1MBGood print quality, standard office printing
300 DPI2480 × 3508 px~1–4MBProfessional print, press-ready files
600 DPI4960 × 7016 px~4–16MBHigh-resolution archiving, technical drawings

A single A4 page with one embedded photo at 300 DPI occupies 1–4MB. A 10-page report with a photo on every page can easily reach 20–40MB before compression. After downsampling those images to 96 DPI, the same document might be 1–3MB — a 90%+ reduction with no visible difference when read on screen.

Why Canva PDFs Are So Large

Canva and other design tools export PDFs with embedded images at 300 DPI or higher by default — optimised for commercial printing quality. A simple one-page design with background gradients, icons, and a photo can be 8–15MB because every graphical element is stored at full print resolution. Compressing to 96 DPI (Balanced mode) typically reduces a Canva PDF by 80–90% — a 10MB file becomes 1–2MB — with no visible quality difference when shared digitally.

Why Text Is Never Affected by Compression

This is the most important concept to understand — and the one that surprises most people.

Text in a PDF is not stored as pixels. It's stored as font instructions — mathematical descriptions of how to draw each character, along with references to font files embedded in the document. When a PDF viewer renders text, it draws it fresh at whatever resolution your screen requires. Text in a PDF is, in this sense, resolution-independent.

This means:

How to Tell If Your PDF Has Real Text or Image Text

Open the PDF and try to select a word with your cursor. If the text highlights blue when you click and drag, it's real vector text — compression won't change how it looks. If you can't select any text, the document is image-based (a scan or screenshot) — every "character" is actually a pixel, stored as an image. Image-based PDFs compress dramatically better than text-based ones.

What Compression Levels Actually Do to Your File

When you compress a PDF, the tool performs two main operations: downsampling (reducing image DPI) and recompression (applying more efficient compression algorithms to the pixel data that remains). Here's exactly what ShrinkPDF's levels do:

Light Compression

Applies minimal downsampling — images are reduced to around 150–200 DPI, and JPEG quality is kept high. File size reduction is typically 20–35%. Visually indistinguishable from the original even when zoomed in closely. Best for: portfolios, product photography, medical imaging, design work, or any situation where image fidelity is the priority and you're not constrained by a strict size limit.

Balanced Compression

Targets approximately 96 DPI with moderate JPEG quality settings. This is the sweet spot for most documents shared digitally. A 96 DPI image looks sharp on any standard monitor at 100% zoom — screens typically display at 72–110 PPI, so 96 DPI provides slightly more data than the screen shows, resulting in crisp rendering. File size reduction is typically 40–60%. Recommended for: email attachments, presentations, reports, mixed-content documents.

Maximum Compression

Targets approximately 72 DPI with aggressive JPEG compression. This matches the baseline screen resolution, so images look good at 100% zoom but become noticeably softer when zoomed in significantly. Produces the smallest possible output file — typically 65–85% smaller than the original. Recommended for: scanned documents, government portal uploads, any file that needs to meet a strict size limit (1–2MB). Text quality is completely unaffected.

A Common Misconception About Maximum Compression

Many people avoid Maximum compression because they fear their document will become "unreadable." In practice, for the documents most commonly compressed — payslips, transcripts, IC copies, bank statements, official letters — Maximum compression produces a file that is visually indistinguishable from the original when read normally on screen. The quality difference only becomes apparent when zooming in to 200%+, which is not how these documents are reviewed. A government portal reviewer reading your submitted payslip does not zoom in to inspect pixel-level image quality.

Screen DPI vs Print DPI — What You Actually Need

The DPI you need depends entirely on the final use of your document. Most people compressing PDFs are preparing files for digital sharing — email, portal upload, WhatsApp — not professional printing. This changes the requirement significantly:

For 95% of document sharing and portal uploads in Malaysia and Southeast Asia — where documents are reviewed on screen, not printed commercially — 72–96 DPI is completely adequate. You're not submitting your payslip to be printed on a billboard.

When NOT to Compress

How Different PDF Types Respond to Compression

Not all PDFs compress equally, and understanding why helps you set realistic expectations:

PDF TypeMain contentTypical compression reductionRecommended level
Scanned document (colour, 300 DPI)Image of page70–85%Maximum
Scanned document (grayscale, 300 DPI)Image of page60–75%Maximum
Canva / design exportHigh-res images + vector75–90%Balanced
PowerPoint / Slides exportMixed text + images50–75%Balanced
Word / Google Docs exportText + occasional images30–60%Maximum or Balanced
Text-only PDF (no images)Pure vector text5–20%Either (minimal impact)
Already compressed PDFMixed5–25%Balanced

The key pattern: documents with high-DPI images (especially scans) compress dramatically. Documents that are already digital text compress minimally — not because the tool is ineffective, but because there's very little pixel data to reduce.

Scanning at the Right DPI — Avoiding the Problem at Source

If you're scanning physical documents for portal uploads or email, choosing the right scan settings eliminates the need for post-processing compression entirely. These settings produce portal-ready files directly:

A single A4 page scanned at 150 DPI in grayscale with Microsoft Lens typically produces a PDF of 50–200KB per page — a 10-page document comes in under 2MB with no compression needed. Compare that to the same document scanned at 300 DPI in colour (3–5MB per page, 30–50MB total) and the difference in approach is stark.

✓ Try It Yourself — See the DPI Difference

No registration. No file size limit. Your file never leaves your browser.

📚 Compress My PDF Now

Frequently Asked Questions

What DPI should a PDF be for emailing?
72–96 DPI is completely adequate for emailing. The recipient reads your document on a screen, and standard laptop and desktop screens display at 72–110 PPI — a 96 DPI PDF looks sharp at normal viewing zoom. You only need higher DPI if the recipient will print the document at A3 or larger, or for professional press printing where 300 DPI minimum is required.
Why does my compressed PDF look blurry when I zoom in?
At high zoom levels (200%+), you're seeing the individual pixels of the compressed images at 72–96 DPI — each pixel is now displayed larger than intended. This is expected behaviour, not a flaw. Documents are read at 100% zoom, not at 200%+ where pixel-level sharpness becomes visible. Text always remains sharp at any zoom because it's stored as vector data, not pixels — so even if images look slightly softer when zoomed, text stays crisp.
Will compression affect a PDF I want to print at home?
For standard A4 home or office printing on a laser or inkjet printer, Balanced compression (96 DPI) looks fine. Most readers don't notice the difference between 96 DPI and 300 DPI when printed on A4 paper and held at normal reading distance. For professional press printing, large format printing (A3+), or commercial brochures, do not compress below 150 DPI — in those cases, keep the full-resolution original.
Why is my Canva PDF so large?
Canva exports PDFs with all images at 300 DPI by default — optimised for print quality, not digital sharing. A simple one-page design with a background image, icons, and text can be 8–15MB because every visual element is stored at full print resolution. Compressing to 96 DPI (Balanced mode) typically reduces a Canva PDF by 80–90% — a 10MB file becomes 1–2MB — with no visible quality difference on screen.
My scanned document didn't compress much. Why?
If a scanned document showed less than 30% reduction after Maximum compression, it was likely already compressed by the scanner app before being saved. Many modern apps (CamScanner, Adobe Scan) apply their own compression at export time. The second pass of compression has less headroom to work with. The most effective fix for future scans is to change the scan settings directly — 150 DPI grayscale produces small files from the start, regardless of which compression tool you use later.
Is 96 DPI good enough for Malaysian government portal submissions?
Yes. Malaysian government portals (LHDN, EPF, JPA, UPU, SPA) review submitted documents on screen — they do not print them at high resolution or inspect pixel-level image quality. A document at 72–96 DPI is clearly readable for text, stamps, IC numbers, and signature lines at normal screen zoom, which is all that's required for official review purposes. The portal's 1–2MB size limit is what matters — DPI is the means to meet that limit, not an end in itself.
Can I check what DPI my PDF's images are currently stored at?
In Adobe Acrobat Pro: Tools → Print Production → Preflight, then examine the image resolution report. In free tools, you can estimate: if your scanned PDF is 2–4MB per page, it's likely at 300 DPI colour. If it's 200–500KB per page, it was probably already compressed to ~150 DPI. Under 150KB per page suggests 96 DPI or lower, or a grayscale scan. You don't need to know the exact DPI to compress effectively — just select Maximum for portal uploads and verify the result.