Sub topic 7
Resolution: How Many Pixels Per Inch You Need
This chapter assumes you can place images in a layout application such as InDesign, Affinity, or Photoshop. It also assumes you know pixels, inches, and millimeters, and can tell a photo from a logo. Here you learn how resolution is measured, what number to aim for, how to work backward from a print size to a pixel count, and where people go wrong.
What resolution means in print
A raster image (a photo or any picture made of a grid of pixels) has a fixed number of pixels. It has no physical size until you place it on a page. Resolution is the link between the two. It is measured in pixels per inch (ppi): how many pixels of the image are laid along one inch of the printed page.
The same file can be printed at different sizes:
- 3000 px wide at 10 inches wide gives 300 ppi.
- 3000 px wide at 20 inches wide gives 150 ppi.
The pixel count never changed. Only the distance those pixels cover changed. This is why "the image is 300 dpi" is an incomplete statement. A 300 ppi value stored in a file's metadata is only a suggestion for the default placed size. What matters is the ppi at the size where the image finally appears in your layout.
ppi, dpi, and lpi
Three similar abbreviations cause confusion.
| Term | Stands for | What it measures |
|---|---|---|
| ppi | pixels per inch | Pixels in a digital image, per inch of placed size |
| dpi | dots per inch | Ink dots a printer or imagesetter lays down per inch |
| lpi | lines per inch | Spacing of the halftone screen used in offset printing |
Many people say "dpi" when they mean ppi, and applications often mix the terms. You control ppi. The printer's equipment controls dpi and lpi. Your job is to supply enough pixels for the press to work with.
The 300 ppi rule of thumb
For most commercial printing on paper, aim for 300 ppi at final placed size. This figure comes from the relationship between image resolution and halftone screens. Offset presses commonly use screens of 133 to 175 lpi. A common guideline asks for about 1.5 to 2 times the screen frequency in ppi, which lands between roughly 200 and 350 ppi. 300 ppi sits comfortably in that range and is the number most printers quote.
Treat it as a target, not a cliff. An image at 280 ppi will not look different from one at 300 ppi. The quality drops gradually as ppi falls, and the point where it becomes visible depends on the image, the paper, and how closely the reader looks.
| Use | Typical target ppi |
|---|---|
| Magazines, brochures, books, business cards | 300 |
| Newspaper (coarse screen, uncoated stock) | 150 to 200 |
| Posters viewed from an arm's length | 200 to 300 |
| Large banners and signs viewed from far away | 50 to 100 (see the large-format chapter) |
| Fine line art such as a scanned logo (bitmap) | 600 to 1200 |
Working backward from print size to pixels
The most useful habit is to calculate the pixels you need before you source or shoot an image. The formula is:
pixels needed = length in inches × target ppi
If your measurements are in millimeters, divide by 25.4 first. Always round up, so you never fall one pixel short.
The following Python code does this for a full-bleed background. It adds bleed (artwork that extends past the trim edge) to each side of an A4 page, then converts to pixels.
import math
MM_PER_INCH = 25.4
def document_size_with_bleed(trim_w_mm, trim_h_mm, bleed_mm=3):
"""Return the full document size including bleed on all four sides."""
return trim_w_mm + 2 * bleed_mm, trim_h_mm + 2 * bleed_mm
def pixels_needed(size_mm, ppi=300):
"""Pixels needed to cover a length in millimeters at the given ppi."""
return math.ceil(size_mm / MM_PER_INCH * ppi)
w_mm, h_mm = document_size_with_bleed(210, 297, bleed_mm=3) # A4 with 3 mm bleed
print(w_mm, h_mm) # 216 303
print(pixels_needed(w_mm), pixels_needed(h_mm)) # 2552 3579The result tells you that a background covering an A4 page with bleed needs at least 2552 × 3579 pixels. Note that the bleed counts. Many designers calculate from the trim size, then find the image is a few pixels short at the edges once bleed is added. The extra 3 mm on each side adds about 35 pixels per side at 300 ppi.
A 12-megapixel phone photo is typically around 4000 × 3000 pixels. At 300 ppi that covers about 13.3 × 10 inches. That is plenty for a full A4 page, so a modern phone camera is rarely the limiting factor. Heavy cropping is.
Cropping changes the math
When you crop a photo to use only part of it, you discard pixels. A 4000 px wide photo cropped to the central 1500 px and placed 5 inches wide gives only 300 ppi. Placed 8 inches wide, the same crop gives about 188 ppi. Always evaluate the pixels that remain after cropping, not the original file size.
Checking effective resolution
When you scale an image up in your layout, the same pixels spread over a longer distance, and the ppi falls. The ppi you actually get at the placed size is called effective resolution.
def effective_ppi(pixels, placed_length_inches):
"""Effective resolution of an image once it is scaled in the layout."""
return pixels / placed_length_inches
# A 1800 px wide photo placed 6 inches wide
print(effective_ppi(1800, 6)) # 300.0
# The same photo enlarged to 9 inches wide
print(effective_ppi(1800, 9)) # 200.0Enlarging the photo by 50% dropped it from 300 to 200 ppi. Scaling by a factor s divides the effective resolution by s. Most layout applications report this value in a links or info panel, and preflight tools flag images below a threshold. The next chapters return to checking this at the end of the workflow.
Common errors
Upsampling does not add detail
Opening a 100 ppi image in Photoshop and raising the resolution to 300 ppi with resampling turned on invents new pixels by interpolation (estimating new pixels from their neighbors). The file gets bigger, but the image has no more real detail. It may look smoother, but it will not look sharper. Modern AI-based upscalers can produce plausible detail, but they invent it, which is unacceptable for logos, product photos, or anything that must be accurate.
Changing the ppi value with resampling turned off is different. It only changes the size at which the image is placed. The pixel count stays the same.
Trusting the metadata value
An image labeled 300 ppi in its properties may be only 600 pixels wide, which is 2 inches at that setting. An image labeled 72 ppi may be 6000 pixels wide, which is plenty for a 20-inch print at 300 ppi. Ignore the label and look at the pixel dimensions.
Screen grabs and web images
Images saved from websites are usually sized for screens, often 72 to 150 ppi at the size you would use in print. They are almost always too small. A 800 px wide web image placed 4 inches wide gives only 200 ppi, and 8 inches wide gives 100 ppi.
Forgetting the bleed
As the code example showed, a background must cover the bleed as well as the trim area. Calculate from the full document size.
Judging on screen
At 100% zoom, a monitor shows roughly 72 to 110 ppi. A low-resolution image can look acceptable on screen and print badly. Check numbers, not appearance.
Raising quality where it counts
You do not have to treat every image the same. A small thumbnail-sized photo needs a 300 ppi target just as a large one does, but the pixel count it requires is far lower. Spend effort on large hero images, because they are the ones most likely to fall short. For images with soft or blurred content, such as an out-of-focus background, lower resolution is less noticeable. For sharp detail such as text in a photo, fine textures, or faces, hold to the full target.
Vector artwork (shapes defined by math rather than pixels) has no ppi at all and prints sharply at any size. The next chapters cover the differences between raster and vector in more detail.
A second worked example: a business card
A business card is small, but it is a good test of the full calculation. The following code computes the canvas size and safe-area size for a 3.5 × 2 inch card with 0.125 inch bleed and a 0.125 inch safety margin at 300 ppi.
def business_card_pixels(ppi=300, trim_in=(3.5, 2.0), bleed_in=0.125, safe_in=0.125):
full_w = trim_in[0] + 2 * bleed_in
full_h = trim_in[1] + 2 * bleed_in
safe_w = trim_in[0] - 2 * safe_in
safe_h = trim_in[1] - 2 * safe_in
return {
"full_with_bleed_px": (round(full_w * ppi), round(full_h * ppi)),
"safe_area_px": (round(safe_w * ppi), round(safe_h * ppi)),
}
print(business_card_pixels())
# {'full_with_bleed_px': (1125, 675), 'safe_area_px': (975, 525)}A full-bleed background photo for this card needs at least 1125 × 675 pixels. Key content, such as a name and phone number, fits inside the 975 × 525 pixel safe area. A logo placed as a raster image should be at least as many pixels as it occupies in that safe area, though a vector logo avoids the question entirely.
Exercise
A designer places a photo that is 2400 px wide so that it spans 8 inches on the page. What is its effective resolution? If the printer requires 300 ppi, what is the widest the photo can be placed, and how many pixels wide must a photo be to fill 8 inches?
Show answer
Effective resolution is 2400 / 8 = 300 ppi, so the photo meets the target as placed. At 300 ppi, the widest placement is 2400 / 300 = 8 inches, so it is already at its maximum. To fill 8 inches at 300 ppi you need 8 × 300 = 2400 pixels, which this photo has exactly.
Exercise
You are designing a 5 × 7 inch postcard with 0.125 inch bleed on every side, and you want a full-bleed photo at 300 ppi. What pixel dimensions must the photo have at minimum?
Show answer
The document with bleed is 5 + 0.25 = 5.25 inches wide and 7 + 0.25 = 7.25 inches tall. At 300 ppi that is 5.25 × 300 = 1575 pixels wide and 7.25 × 300 = 2175 pixels tall. The photo must be at least 1575 × 2175 pixels after any cropping.
Exercise
A client sends a logo as a 500 px wide PNG and asks for it to be 4 inches wide on a brochure. What is the effective ppi, and what would you do?
Show answer
The effective resolution is 500 / 4 = 125 ppi, which is too low for crisp print. Upsampling would only blur it. Ask the client for a vector version (SVG, EPS, or PDF) or a much larger file, or redraw the logo as vector artwork.