What is DPI?

DPI stands for dots per inch: how many individual dots a printer or scanner can place within one inch of physical space. It's a resolution measurement for physical output, originally used to describe printer and scanner hardware. The higher the DPI, the more dots packed into that inch, and the finer the detail a printed image or scanned document can show. A standard home inkjet prints around 300 DPI; a professional print shop may go up to 600 or 1200 DPI for fine art or photo reproduction. DPI is a density measurement, not a size or file-format setting. A 300 DPI image can be any pixel dimensions at all, and raising the DPI number without also adding pixels doesn't create real detail, it just crams the same dots closer together on paper.

DPI vs PPI: what's the difference?

DPI measures printed or scanned dots. PPI (pixels per inch) measures the pixel density of a digital image or screen. Technically they're not the same unit: a printer lays down physical ink dots, while a screen or a digital photo is made of pixels that hold no ink at all. In casual use, though, people say "DPI" for both, and most image editors reinforce the mix-up (Photoshop's Image Size dialog labels its pixel-density field "Resolution" in pixels/inch, but everyone still calls it DPI out of habit). If you're talking about a printed photo or a scanned page, DPI is the technically correct term. If you're talking about how sharp an image looks on a monitor or phone, PPI is the accurate one, even though most people will say DPI anyway. The distinction matters most when you're prepping a digital file for print, since a screen's PPI and a printer's DPI setting aren't interchangeable.

How DPI affects image quality

Higher DPI packs more detail into the same physical inch, which is why it matters for anything viewed up close, like a printed photo or a document. But DPI alone doesn't determine quality, pixel count does. An image with only 500x500 total pixels can't become high quality at 300 DPI just by labeling it that way, since 500 divided by 300 works out to under two inches before it runs out of pixels and starts looking blurry when printed larger. The math that actually matters: pixel dimensions divided by target DPI gives the maximum print size that stays sharp. A 3000x2000 pixel photo printed at 300 DPI comes out to 10x6.67 inches. Push the same file to 20x13 inches and the effective DPI drops to 150, which starts to look soft up close even though nothing in the file itself changed.

What DPI to use for scanning and OCR

For most document scanning, 300 DPI is the standard tradeoff between text sharpness and file size. OCR (optical character recognition) software generally needs at least 200 to 300 DPI to reliably tell letters apart; below that, characters blur together and accuracy drops. Above roughly 300 to 400 DPI, accuracy gains flatten out while file size and processing time keep climbing, since doubling DPI roughly quadruples the pixels a scanner or renderer has to hold in memory. pixeltools' OCR PDF tool shows this tradeoff directly in its own code: it renders each PDF page internally at a fixed 144 DPI equivalent (2x the PDF's native 72-points-per-inch base) before handing it to the OCR engine, and that number is deliberately not user-configurable. The reasoning, straight from the source comment, is that it's "high enough for tesseract to read a normal scan cleanly without ballooning memory/time on long documents." That's the DPI tradeoff in miniature: pick the lowest resolution that keeps the thing you actually need reliable, rather than maximizing DPI for its own sake.

What DPI should you use for print vs screen?

For print, 300 DPI is the standard for photos and documents meant to be viewed up close. 150 DPI is often fine for large-format prints like posters viewed from a distance, since the eye can't resolve individual dots as well at range. For screens, DPI doesn't really apply the same way. What matters there is the image's actual pixel dimensions matching or exceeding the display size it'll be shown at, since browsers and apps render pixels directly instead of converting through a fixed inch-based density. That's why exporting a web image at "72 DPI" is a leftover myth from old print-to-screen conventions. A JPEG has no meaningful DPI until someone prints it; the 72 or 96 DPI value sometimes embedded in its metadata is just a default that print software reads, and browsers ignore it completely.

How to check or change an image's DPI

Most operating systems and editors show DPI/PPI in a file's properties or image-size dialog: on Windows, right-click a file, then Properties, then Details; on Mac, open it in Preview and use Tools, then Adjust Size; in Photoshop or GIMP, it's the Image Size dialog. Changing only the DPI number, without resampling, doesn't change the image data at all, it just changes what print size the file claims is correct at full resolution, since the pixel count stays exactly the same either way. To add real detail you need to increase the pixel count itself, which takes an upscaler that generates new pixel data rather than one that just relabels the file's metadata. pixeltools' resize tool scales pixel dimensions directly, and its AI upscaler is built for cases where more real pixel data is actually needed, such as preparing a low-resolution scan for a larger print run.