Photo aspect ratio calculator
Find the aspect ratio of any photo size, work out the missing side when resizing to a ratio such as 4:5 or 9:16, or see the largest crop that fits.
Work with aspect ratios in three steps.
- Choose what you need
Find the ratio of a size, resize to a ratio, or crop a photo to a ratio.
- Enter the size
Type the width and height in pixels or read them from a photo, then pick a ratio such as 4:5, 9:16 or your own.
- Read the result
See the simplified ratio, the missing side or the largest crop, with a drawn preview of the shape.
What an aspect ratio tells you.
An aspect ratio describes the shape of a photo, not its size. It compares the width with the height, so a 1080 × 1350 px post and a 4320 × 5400 px photo are both 4:5: the second one is simply four times larger in each direction.
To find the ratio, the calculator divides the width and the height by the largest number that goes into both. For example, 4032 × 3024 px shares 1,008, which leaves 4 and 3, so the photo is 4:3, the usual shape of an iPhone photo. When a size does not simplify to small numbers, the ratio is shown as a decimal, such as 1.91:1.
When you resize to a ratio, one side sets the other. A 4:5 photo that is 1,080 px wide has to be 1,350 px tall, because the height is five quarters of the width. If the result is not a whole number, it is rounded to the nearest pixel.
When a photo has a different shape from the one you need, the largest crop keeps the full height and trims the sides, or keeps the full width and trims the top and bottom. A 4032 × 3024 px photo cropped to 4:5 keeps all 3,024 px of height and becomes 2,419 px wide, so 806 or 807 px come off each side.
Make the whole collage in SnapLayout.
SnapLayout is a collage and carousel app for iPhone. Pick a layout, add your photos and export at the exact size for Instagram, TikTok or Facebook.
Download on the App Store