Aspect Ratio Calculator (Image Ratio, Resize and Crop)
About this tool
Find aspect ratios such as 16:9 or 4:3 from an image or video's width and height. Specify a new width or height to calculate the other dimension at the same ratio. For a centered crop, enter output dimensions such as 1200 × 630 px to find how many pixels to remove from each edge. No image file is needed. All processing happens entirely in your browser (no data is sent).
Calculate the ratio from width and height
Enter pixel dimensions if you know the original size, or values such as 16 and 9 if you know the ratio.
Aspect ratio (width:height) 16:9
Resize while keeping the ratio
New width × height 1280 × 720 px
Crop from the center
Enter the actual image dimensions in pixels in Original width and Original height above, then choose the ratio to keep. Entering 4 and 3 here means an image of 4 × 3 px.
Enter the output dimensions for a banner or Open Graph image. The calculator finds the largest area that can be cropped from the original at that ratio.
Remaining width × height 1080 × 1080 px
Pixels removed from each edge Left 420 px, right 420 px, top 0 px, bottom 0 px
Examples for 16:9, 9:16 and 4:3
- 16:9 landscape video Changing a 1920 × 1080 px video's width to 1280 px gives a height of 1280 × 9 ÷ 16 = 720 px.
- 9:16 portrait video Changing a 1080 × 1920 px video's height to 1280 px gives a width of 1280 × 9 ÷ 16 = 720 px.
- 4:3 photo Changing the width of a 4032 × 3024 px photo to 800 px gives a height of 600 px. Dividing the original dimensions by their greatest common divisor, 1008, gives the ratio 4:3.
For a paper print, use the Print Size and Pixel Calculator to find the dimensions in centimeters from the original image size and a chosen resolution.
Inputs must be integers from 1 to 1000000. Calculated dimensions are rounded to the nearest whole pixel, with a minimum of 1 px if rounding would give 0 px. For example, a width of 1000 px at 16:9 gives 562.5 px in height, rounded to 563 px, so the final ratio differs slightly.
To export a JPG or PNG at these dimensions, enter the results in the width and height fields of the Bulk Image Resizer.
Cropping a 4:3 photo to 16:9
To fill a landscape slide with a 4032 × 3024 px photo, choose 16:9 as the crop ratio. The remaining area is 4032 × 2268 px, removing 378 px from both top and bottom. Check whether text near those edges would be cut off before editing.
Cropping finds the largest whole-pixel area that exactly matches the chosen ratio. If the number of pixels to remove is odd, one extra pixel is removed from the right or bottom edge.
Making a 1200 × 630 px Open Graph image from a 4032 × 3024 px photo
Choose Specify output width and height, then enter 1200 and 630. The output ratio is 40:21. Remove 16 px from each side and 462 px from both top and bottom to leave 4000 × 2100 px. Crop that area in an image editor, then reduce the width to 1200 px; the height will be 630 px.