- Dpi (“dots per inch”) is the number of dots a scanner reads along one inch, or 2.54 cm. Each dot becomes a pixel.
- A scan is a grid of dots: dpi tells you how many dots are read along 1 inch (2.54 cm). An A4 page at 300 dpi is 2,480 × 3,508 pixels, or 8.7 million pixels (8.7 megapixels).
- To read or send a document, 150 to 200 dpi is enough. To archive it or extract its text, use 300 dpi.
What is dpi?
A scanner reads your page as a grid of tiny dots. Each dot it reads becomes one pixel of the image: a pixel is the smallest dot of a digital image.
Dpi stands for “dots per inch” and tells you how many dots the scanner reads along 1 inch. An inch is an imperial unit of length: 1 inch = 2.54 cm.
Here is a square 1 inch on each side. At 300 dpi, it contains 300 × 300 = 90,000 dots.
Simplified diagram: each dot drawn stands for 30 real dots.From page to file size, in 5 steps
The more dots, the more detail, but the heavier the file. Here is the whole path, from the sheet of paper to the file size, for an A4 page. Pick a dpi and all the numbers are recalculated.
- Your page21 × 29.7 cm
An A4 sheet measures 21 cm by 29.7 cm.
- ÷ 2.54In inches8.268 × 11.693 inches
Dpi counts in inches, and 1 inch = 2.54 cm. So we divide each length in centimetres by 2.54.
- × 300In pixels2,480 × 3,508 pixels
The scanner reads 300 dots along each inch. So we multiply each length in inches by 300.
- width × heightIn megapixels8.7 megapixels
2,480 × 3,508 = 8,699,840 pixels. A megapixel is one million pixels: “mega” means million.
- × 3 bytesIn file size26.1 MB
A colour pixel takes 3 bytes: one for red, one for green, one for blue. 8,699,840 × 3 = 26,099,520 bytes, or about 26.1 MB (1 MB = 1 million bytes). This is the size before compression.
What dpi changes: sharpness and file size
When the dpi doubles, the width and the height double: there are 4 times as many pixels, and the file is 4 times heavier before compression. Small characters are better rendered, but the size climbs fast.
| Setting | Pixels (A4) | Million pixels | Raw size (pixels × 3 bytes) | Good for |
|---|---|---|---|---|
| 150 dpi | 1,240 × 1,754 | 2.2 | ≈ 6.5 MB | Reading on screen, sending by email |
| 200 dpi | 1,654 × 2,339 | 3.9 | ≈ 11.6 MB | Everyday documents |
| 300 dpi | 2,480 × 3,508 | 8.7 | ≈ 26.1 MB | Archiving, text recognition (OCR) |
| 600 dpi | 4,961 × 7,016 | 34.8 | ≈ 104 MB | Very small characters, images to enlarge |
Example at 150 dpi: 1,240 × 1,754 = 2,174,960 pixels, or 2.2 million pixels. Each pixel takes 3 bytes: 2,174,960 × 3 = 6,524,880 bytes, or about 6.5 MB. The final PDF is much lighter, because the image is compressed in it; its size depends on the content of the page.
Which dpi should you choose?
Here is the recommended setting depending on what you want to do with the scan.
| You want to… | Recommended dpi | Why |
|---|---|---|
| Send an invoice or a certificate by email | 150 to 200 dpi | Readable text, light file |
| Upload a supporting document (bank, insurance, administration) | 200 to 300 dpi | Meets the value the website asks for |
| Archive a contract, a diploma, a deed | 300 dpi | Faithful copy, sharp if you print it again |
| Extract the text (OCR) | 300 dpi | The software recognises the letters better |
| Scan a plan or very small characters | 600 dpi | Fine details stay sharp |
| Scan a printed photo you want to enlarge | 600 dpi | More pixels to enlarge |
Scanning with a phone: which dpi?
A phone has no dpi setting: it takes a photo that contains a certain number of pixels. To find its dpi, you work backwards: divide the photo's pixels by the size of the page, in inches.
Example with a 12-megapixel photo, taken in portrait above an A4 page:
| Step | Calculation | Result |
|---|---|---|
| Size of the photo | 12 megapixels, in portrait | about 3,000 × 4,000 pixels |
| Height of an A4 page | 29.7 cm ÷ 2.54 | 11.693 inches |
| If the page fills the whole height of the photo | 4,000 pixels ÷ 11.693 inches | ≈ 342 dpi |
| If the page takes up 80% of the height | 3,200 pixels ÷ 11.693 inches | ≈ 274 dpi |
In both cases, that is enough for a document. For a good result, lay the page flat, light it well and frame all of it.
1Make a PDF with your phone
- Open Scan a document.
- On a phone, tap “Take a photo” to photograph each page. You can also drop photos you already took.
- Under “Look”, choose “Document”: the background becomes whiter and the text sharper, like on a scan.
- Under “Page size”, choose “A4”, then tap “Create the PDF”.
- Download the PDF. Your original photos are not modified.
The photos are processed in your browser: nothing is uploaded.
2Shrink a scanned PDF
- Open Compress a PDF and drop your PDF.
- Start the compression and look at the size before and after.
- If a platform sets a limit, aim for a precise size: PDF under 500 KB, PDF under 1 MB, PDF under 2 MB or PDF under 5 MB.
- Download the result. Your original file stays untouched.
FileDiet scales the images in a PDF down to 2,200 pixels on each side at most, which is about 190 dpi on an A4 page, with a JPEG quality of 80%. Scanning at 600 dpi is therefore pointless if you plan to shrink the file afterwards: it will be reduced to that size anyway.
Frequently asked questions
What does dpi mean?
Dpi comes from “dots per inch”. It is the number of dots a scanner reads along one inch, or 2.54 cm. The higher it is, the more pixels the image has.
What is the difference between dpi and ppi?
None for a scan, in practice. You will also see “ppi” (pixels per inch), mainly for screens; for a scan, it is used the same way as dpi.
How do you calculate the number of pixels in a scan?
Multiply the size of the page, in inches, by the dpi. An A4 page measures 8.268 × 11.693 inches: at 300 dpi, that gives 2,480 × 3,508 pixels, or about 8.7 megapixels.
What resolution should I use to scan an official document?
If the organisation states a resolution, follow it. Otherwise, 200 to 300 dpi suits most documents: the text is sharp and the file stays reasonable. You can then shrink it with Compress a PDF.
Is 300 dpi too much?
No, it is the usual setting for archiving a document or extracting its text. The file is heavier than at 150 dpi, about 4 times heavier before compression, but you can shrink it afterwards without scanning again.
Why does my scan weigh several MB per page?
Often because of a high dpi, colour mode and weak compression: a colour A4 page at 300 dpi contains about 8.7 megapixels. Compress a PDF reduces this size without you having to scan again.
Can you increase the dpi of a scan afterwards?
Changing the dpi in a file's properties creates no detail: only the number of pixels counts, and it is fixed when you scan. For more sharpness, you have to scan again at a higher dpi.
What dpi does a scan made with a phone have?
A phone has no dpi setting: you calculate it by dividing the photo's pixels by the size of the page in inches. For a 12-megapixel photo (about 3,000 × 4,000 pixels), that gives between 270 and 340 dpi depending on how much of the image the page fills. Scan a document turns it into a PDF.
Does FileDiet send my scan to a server?
No. The PDF and the photos are processed in your browser, on your device. Nothing is uploaded or stored. The page How it works explains how to check this.
Sources
- ISO 216:2007: A and B paper sizes, including A4 (ISO)
- Technical Guidelines for Digitizing Cultural Heritage Materials (FADGI)
- Improving the quality of the output: resolution and text recognition (Tesseract OCR)