The aspect ratio of a geometric shape is the ratio of its sizes in different dimensions. For example, the aspect ratio of a rectangle is the ratio of its longer side to its shorter side – the ratio of width to height, when the rectangle is oriented as a "landscape".
The aspect ratio is expressed as two numbers separated by a colon (x:y). The values x and y do not represent actual widths and heights but, rather, the relationship between width and height. As an example, 8:5, 16:10 and 1.6:1 are three ways of representing the same aspect ratio.
In objects of more than two dimensions, such as hyperrectangles, the aspect ratio can still be defined as the ratio of the longest side to the shortest side.
Applications and uses
The term is most commonly used with reference to:
Aspect ratios of simple shapes
For a rectangle, the aspect ratio denotes the ratio of the width to the height of the rectangle. A square has the smallest possible aspect ratio of 1:1.
Aspect ratios of general shapes
- The Diameter-Width Aspect Ratio (DWAR) of a compact set is the ratio of its diameter to its width. A circle has the minimal DWAR which is 1. A square has a DWAR of sqrt(2).
- The Cube-Volume Aspect Ratio (CVAR) of a compact set is the d-th root of the ratio of the d-volume of the smallest enclosing axes-parallel d-cube, to the set's own d-volume. A square has the minimal CVAR which is 1. A circle has a CVAR of sqrt(2). An axis-parallel rectangle of width W and height H, where W>H, has a CVAR of sqrt(W^2/WH) = sqrt(W/H).
If the dimension d is fixed, then all reasonable definitions of aspect ratio are equivalent to within constant factors.
Aspect ratios are mathematically expressed as x:y (pronounced "x-to-y").
Cinematographic aspect ratios are usually denoted as a (rounded) decimal multiple of width vs unit height, while photographic and videographic aspect ratios are usually defined and denoted by whole number ratios of width to height. In digital images there is a subtle distinction between the Display Aspect Ratio (the image as displayed) and the Storage Aspect Ratio (the ratio of pixel dimensions); see Distinctions.