Resolution and Aspect Ratio

visible image=f(resolution,size,aspect ratio)\text{visible image} = f(\text{resolution}, \text{size}, \text{aspect ratio})
  • Resolution
    Dots per unit length.
  • Image size
    Number of dots, or pixels, in the image.
  • Aspect ratio
    Ratio of rows to columns in the pixel grid.
  • Pixel aspect ratio
    Exact shape (Δx:Δy\Delta x : \Delta y) of a single pixel.

Physical dimensions of the image follow from these, with RR defined along the vertical axis so the vertical dot pitch is 1/R1/R and the horizontal dot pitch is ΔxΔy⋅1R\frac{\Delta x}{\Delta y} \cdot \frac{1}{R}.

width=Nc⋅ΔxΔy⋅1R\text{width} = N_c \cdot \frac{\Delta x}{\Delta y} \cdot \frac{1}{R}
height=NrR\text{height} = \frac{N_r}{R}
Here:
RR
resolution in dots per unit length
NcN_c
number of columns
NrN_r
number of rows
Δx:Δy\Delta x : \Delta y
pixel aspect ratio

For square pixels Δx=Δy\Delta x = \Delta y, so width=Nc/R\text{width} = N_c / R.

Changing Geometry

  • Changing resolution affects image granularity, potentially causing a checkerboard effect when upscaling
  • Changing pixel count affects file size
  • Changing physical pixel size or aspect ratio affects object geometry, potentially causing distortion

Stretching versus cropping to change aspect ratio

Left: Original. Centre: Stretched to a wider frame, distorting object geometry. Right: Cropped to the same frame, keeping geometry but losing content.
Generated from a photo by Hannes Röst, CC BY-SA 3.0.

Worked Example

Physical Image Size

An image has Nc=1200N_c = 1200, Nr=800N_r = 800, R=100 dots/inR = 100\text{ dots/in} and square pixels. Find its physical dimensions.

Solution Reveal Hide
width=1200100=12 in\text{width} = \frac{1200}{100} = 12\text{ in}height=800100=8 in\text{height} = \frac{800}{100} = 8\text{ in}

The image is 12 in×8 in12\text{ in} \times 8\text{ in}.

Written by November 3, 2026 2 min read
Was this helpful?