An image's aspect ratio is the relationship between its width and height. It describes shape, not image quality or file size. Knowing the ratio helps you resize an image without stretching it, prepare assets for a website, and decide whether a crop is needed to fit a required frame.
Calculate the ratio from width and height
Write the pixel dimensions as width:height, then divide both numbers by their greatest common divisor (GCD). For a 1920 × 1080 image, the GCD is 120: 1920 ÷ 120 = 16 and 1080 ÷ 120 = 9. The simplified aspect ratio is 16:9.
For dimensions that do not simplify to small whole numbers, the ratio can be left as a decimal or as the original width-to-height relationship, depending on the task.
Check dimensions with Tervilo
- Open the Tervilo Image Dimensions Checker.
- Select the image and read its width and height.
- Reduce the two values to a simplified ratio if you need the ratio in a compact form.
- Compare the result with the destination's required dimensions or ratio.
- If the shapes differ, use the Image Resizer for proportional resizing or the Image Cropper to select a new frame.
Worked examples
| Image dimensions | Simplified ratio | What it means |
|---|---|---|
| 1200 × 800 | 3:2 | Landscape image |
| 1080 × 1080 | 1:1 | Square image |
| 1920 × 1080 | 16:9 | Widescreen frame |
| 2560 × 1080 | 64:27 | Much wider than 16:9 |
A 1200 × 800 image can be resized proportionally to 900 × 600 because both dimensions are multiplied by 0.75. A 1920 × 1080 image can become 1280 × 720 without changing its shape.
Resize without distortion
When preserving the aspect ratio, choose one dimension and calculate the other. For a 16:9 image set to 1280 pixels wide, the height is 1280 × 9 ÷ 16 = 720 pixels. Setting it independently to 1280 × 800 changes the shape unless the image is cropped or padded.
When cropping is better
If a destination uses a different ratio, a crop removes parts of the source image to fit the target frame while keeping the remaining content undistorted. Place the crop around the subject before exporting. Padding is another option when the whole image must remain visible, but it adds empty space around the content.
Aspect ratio, resolution, and file size
Aspect ratio describes proportions. Resolution refers to pixel dimensions, such as 1920 × 1080. Two images can both be 16:9 but have different resolutions. File size also depends on image format, visual complexity, metadata, and compression, so the ratio alone cannot predict the file size.
Common mistakes
- Confusing aspect ratio with pixel resolution.
- Changing width and height independently and stretching the image.
- Resizing when a crop is required to fit a different frame.
- Assuming a ratio alone satisfies a destination's exact pixel requirements.
- Ignoring the position of the subject when cropping.
Before exporting
- □ I have the original width and height.
- □ I simplified the ratio correctly.
- □ I checked whether the destination specifies a ratio, exact pixels, or both.
- □ I used proportional resizing, cropping, or padding intentionally.
- □ I inspected the exported image at its intended display size.
Quick answer
Simplify width:height by dividing both dimensions by their GCD. Preserve that ratio to resize without distortion; crop or pad when the destination frame has a different shape.