🖼️ Image Tools

Image aspect ratio calculator

If you load an image or enter the width and height pixels, the aspect ratio appears right away as the shape of the preview box, and the resize size based on the width or height you want is calculated immediately.

🗓️ Last updated 2026.08.20 ⏱️ Work time About 30 seconds 🔒 No file transfer to the server, local processing in the browser Translation updated: 2026-11-02

ratio · preview · resize

Aspect Ratio Preview Simulation

If you change the width and height, the preview box changes to that ratio, and the width-based and height-based resize results are calculated together.

Waiting

Load an image or choose the original width and height pixels and a preset, then enter the target width or height size.

Enter a value.
🖼️ Ratio preview
📂 Load size from image
🖼️ Drag or click an image to load the actual size The file is not uploaded, and the browser reads only the width and height pixels.
Simplified aspect ratio
Shown after input
📐 Pixel input
If you change the target width, the width-based result updates, and if you change the target height, the height-based result updates.
📏 Resize result
Size based on target width
Display of the size based on target width
Size based on target height
Display of the size based on target height
Displays the aspect ratio and resize result after input.
Simplification method Width:height simplified by the greatest common divisor (GCD)
Resize Opposite side pixels rounded to fit one target side length
Processing location Local processing in the browser, no file transfer to the server

Image Aspect Ratio Calculator Usage Guide

The image aspect ratio calculator is a tool that loads an image or takes width and height pixels so you can check an aspect ratio such as 16:9, 4:5, or 1:1 right away, and that calculates how many pixels the other side becomes when you resize to a desired width or height. The preview box shows the entered ratio in its actual shape, and it is useful when you want to change only the size while keeping the original ratio in work where each platform requires a different size, such as a blog featured image, a YouTube thumbnail, a shopping mall detail image, or a social feed image.

If you shrink or stretch an image without checking, important parts such as faces, products, logos, and game icons can look distorted. When you select a file, the browser automatically reads the actual width and height pixels, which can reduce mistakes from copying the numbers by hand, and you can also quickly compare several sizes by entering them directly or with a preset. The image file and the entered values are not sent to a server or stored, and you can use the tool to judge whether you need to keep the original ratio or crop to a platform specification such as 4:5 or 1:1.

When you need this tool

  • When you want to know the height after shrinking a 1920×1080 image to a width of 1280px
  • When you compare common ratios such as Instagram 4:5, square 1:1, and YouTube 16:9 with the original ratio in the preview
  • When you check, before making a thumbnail, banner, or detail image, whether you can resize without cropping

Check before calculating

  • Load an image, or check the actual width and height pixels of the original image, and then enter them.
  • First distinguish whether it is a resize that keeps the ratio or a crop fitted to a specific platform specification.
  • The calculated result is a rounded pixel value, so a difference of 1px can occur in the editor you use.

How to use

  1. Load an image by clicking or dragging, or press a preset such as 16:9 or 4:5.
  2. Check the original width and height pixels filled in automatically, or enter them yourself.
  3. To calculate based on the width, enter the target width in px.
  4. To calculate based on the height, enter the target height in px.
  5. Compare the preview box shape, the aspect ratio, and the two resize results, then apply it in the editor.
Input valuesAn image loaded in the browser, or the original width and height in px, the target width and height in px, and a ratio preset
Output valuesPreview box shape, aspect ratio in lowest terms, width-based result, height-based result
Calculation methodReduce the ratio by the greatest common divisor and round the pixels on the opposite side to match one target length
Processing locationLocal processing in the browser, no server transmission or storage of the image file and entered values

The difference between keeping the ratio and cropping

A resize that keeps the ratio leaves the width:height ratio as it is and changes only the overall size, so the image is not cropped. By contrast, fitting a 16:9 original to 1:1 or 4:5 changes the ratio itself, so a crop that cuts away part of the image is required. If the preview box shape differs from the target platform specification, you can take that as a sign that a crop is needed.

How to read it for social and thumbnail work

Recommended ratios differ by platform: YouTube thumbnails are 16:9, Instagram feeds are 1:1 or 4:5, and vertical video covers are 9:16. Bring up a common ratio quickly with a preset and compare it with the original, then enter a target width or height to check the actual output pixels, and you can match the size in one pass before uploading.

How to interpret pixel rounding

When the aspect ratio is reduced to integers, or when the opposite side is calculated to match a target size, the decimals are rounded. A difference of about 1px can therefore occur in the editor, and for most work it is small enough to ignore. For print and precision work where exact pixels matter, use the calculated result as the baseline and check the final value again in the editor.

Sources and review basis

The calculation uses only reduction by the greatest common divisor and a simple proportion, and it does not depend on external data. The aspect ratio and resize calculation logic was reviewed again on 2026-06-15, and representative inputs such as 16:9 and 1:1 are fixed with golden tests (AR-001..004).

This tool only calculates numbers and does not directly retouch or crop the image file. Check the recommended size, safe area, and file size limit of the actual upload platform together with each service's own guidance.

FAQ

What values do you need to enter in the image aspect ratio calculator?

If you enter the original image's width pixels and height pixels, the aspect ratio in lowest terms is shown together with the preview box. To see the resize result, also enter a target width or a target height. Common ratios such as 16:9, 4:5, and 1:1 can be entered at once with the preset buttons.

If you shrink a 16:9 image to a width of 1280px, what is the height?

If you shrink a 16:9 original using a width of 1280px as the basis, the height is 720px. The calculator's default example (original 1920×1080, target width 1280) shows this value.

Can it also calculate social ratios such as 4:5 or 1:1?

Yes. If you press a preset (4:5, 1:1, 4:3, 21:9) or enter the original width and height pixels yourself, the aspect ratio in lowest terms is shown together with the shape of the preview box. If you enter a target size, the resize result is calculated as well.

If you change it according to the calculated result, the image is not cropped, right?

A resize that keeps the ratio is not cropped. However, fitting a platform specification whose ratio differs from the original (for example, a 16:9 original to 1:1) requires a separate crop. If the preview box shape differs from the target ratio, that is a sign that a crop is needed.

Are the loaded image file or the entered values saved on the server?

No. When you select a file, the current browser reads locally only the image's width and height pixels and the preview. It does not send or save the image file or the entered values to the server.

📖 If you have to decide first which aspect ratio to make, first check in Complete guide to 16:9 and 4:5 thumbnail aspect ratios (Korean) the recommended specifications for each platform, YouTube, Instagram, and Reels, and the principle of simplifying aspect ratios. If the aspect ratio is decided, you can get the numbers with this calculator.