Aspect Ratio and Image Size Calculator

Aspect ratio, resizing and print size in one place

Give this calculator an image’s pixel dimensions and it reduces them to their aspect ratio, counts the pixels and megapixels, resizes the image proportionally to a target width or height, works out dimensions for standard preset ratios, and converts the pixels into a physical print size at your DPI. Everything a resize, an upload or a print order asks for, from two numbers.

Your image

Resize proportionally (optional)

If you fill in both, the width wins and the height is recalculated from the ratio; the results say so.

A preset ratio (optional)

Print size (optional)

Print size is pixels divided by DPI, and it is worked out for the resized dimensions if you set a target, otherwise for the original image.

Disclaimer: This calculator gives estimates for general information only. It is not financial, medical or other professional advice. Resized dimensions are rounded to whole pixels, which can shift the exact ratio by a fraction of a percent.

What this calculator does

It answers the four questions every image eventually raises. What shape is it: the width and height reduced by their greatest common divisor into a ratio like 16:9, with the decimal form for software that wants one. How much image is it: the pixel count and megapixels. What size can it become: the proportional resize to a target width or height, computed from the exact ratio and rounded openly to whole pixels. And how big is it on paper: the print dimensions at your DPI, in inches and centimetres. The preset section works the other way, taking a standard ratio and a width and returning the height that ratio demands, which is how social formats, slide sizes and video frames are specified. Cropping is deliberately absent from the silent arithmetic: changing an image’s ratio means discarding pixels, and this page computes the crop rather than pretending it away, as the limitations explain.

How to use it

  • Get the true pixel dimensions first. File properties, your editor’s image-size dialog or the camera’s data give the real numbers. Guessing from how an image looks on screen imports your monitor’s size into arithmetic that has nothing to do with it.
  • Resize from one dimension only. Enter the width you need and let the height follow, or the reverse. Entering both and hoping they agree with the ratio is how images get squashed; when both are filled in here, the width is used and the recalculated height is shown, so any disagreement is visible instead of baked into a distorted image.
  • Upscaling adds pixels, not detail. The resize arithmetic is happy to take 800 pixels to 8,000; the image is not, because interpolated pixels are guesses. Treat big upscale targets as file-size and layout answers, not quality answers, and keep the original stored somewhere unscaled.
  • Print size is the quality ceiling in disguise. At 300 DPI, the standard for quality print, a 1920 x 1080 image is a 6.40 x 3.60 inch print. Displayed larger it still prints, at fewer effective DPI and visibly softer. The print rows let you test the size you want against the image you actually have before the printer does.
  • Presets are specifications, not suggestions. A platform asking for 9:16 will crop or letterbox anything else. The preset result gives the exact height for your width at that ratio, so the crop happens in your editor, under your control, rather than automatically on upload.

How it is calculated

  • Aspect ratio = width and height divided by their greatest common divisor (1920 and 1080 share 120, giving 16:9). The decimal ratio is width / height. Total pixels = width x height; megapixels = total / 1,000,000.
  • Resized height = target width x height / width; resized width = target height x width / height; each rounded to the nearest whole pixel. Preset height = preset width x ratio height / ratio width, rounded likewise.
  • Print size = pixels / DPI in inches, x 2.54 for centimetres. All figures are computed from the exact inputs and rounded only for display, to two decimals for ratios, pixel counts and print sizes.

Worked examples

A 1920 x 1080 screenshot. The greatest common divisor of 1920 and 1080 is 120, so the reduced ratio is 16:9, decimal 1.78. The image holds 2,073,600 pixels, 2.07 megapixels. Resized to a width of 1280, the height follows exactly: 720. Resized to a width of 1000, the exact height is 562.50, which rounds to 563 whole pixels, and the results note the rounding, because that half pixel is the difference between the true ratio and every real file. At 300 DPI the image prints at 6.40 x 3.60 inches, 16.26 x 9.14 cm.

A 4000 x 3000 photograph. Ratio 4:3, 12.00 megapixels. Scaled by height to 1200 pixels tall, the width becomes 1600. At 300 DPI it prints at 13.33 x 10.00 inches, which is why 4:3 camera files fill many print sizes nearly exactly while 16:9 frames leave white borders or demand crops on the same paper.

An ultrawide preset. For a 21:9 frame at a width of 2520, the preset height is 2520 x 9 / 21 = 1080. Standard widths in standard ratios keep landing on whole pixels because the formats were designed to; odd widths in the same ratio (2500 in 21:9 gives 1071.43, rounded 1071) show the rounding row doing its small, honest work.

Reading your results

Compare the reduced ratio with the format you are feeding. A 16:9 image into a 4:3 slot, a 3:2 photo into a 1:1 profile frame: every mismatch is resolved by cropping or by bars, and the preset section tells you the dimensions that resolve it by cropping least. Read megapixels as a budget, not a badge: they set the ceiling for both enlargement and print size, and distribution platforms will recompress whatever you upload regardless. And read the resized figures with the rounding note attached; at favicon and icon sizes, a pixel of rounding is a visible fraction of the image, and small sizes deserve the exact check this page shows.

Limitations

  • Pixels are not the whole of print quality. Print size here is pure geometry. A heavily compressed or slightly blurred 24 megapixel file can print worse than a clean 8 megapixel one at the same dimensions, because DPI arithmetic cannot see image quality, only image size.
  • Changing ratio means cropping, and cropping is a choice. This page computes the dimensions a new ratio needs; which part of the image survives is an editorial decision no calculator should make silently. If a result requires cropping your image, it is resizing one dimension and discarding from the other, and the discarded content is yours to choose.
  • DPI metadata can lie. The DPI stored in a file is a label, not a property of the pixels; the same image saved at 72 or 300 DPI contains identical data. This calculator uses the DPI you enter as the print intention, which is the only way the number has meaning.
  • Rounding is real at small sizes. Whole pixels are indivisible, so tiny images cannot always hold an exact ratio (a 16:9 thumbnail 25 pixels wide has no exact height). The displayed rounding is the honest file you will actually get, not an approximation of one.

Frequently asked questions

What aspect ratio is 1920 x 1080?

16:9. Divide both dimensions by their greatest common divisor, 120: 1920 / 120 = 16 and 1080 / 120 = 9. It is the standard shape of HD and 4K video (3840 x 2160 reduces the same way), of most laptop and television screens, and of the video players embedded across the web, which is why content made at 16:9 fits so many places without bars or cropping.

How many megapixels do I need for a good print?

Work backwards from the print. At 300 DPI, an 8 x 10 inch print needs 2400 x 3000 pixels, which is 7.2 megapixels; a 4 x 6 needs 1200 x 1800, or 2.16 megapixels. The print rows here do the same arithmetic forward from the image you have: enter its pixels and 300 DPI and the inches are your quality ceiling at that standard. Viewed from further away, posters and banners are routinely printed at 100 to 150 DPI, which stretches the same pixels across four to nine times the area.

Why did my resized height come out a half pixel off?

Because the exact answer is often not a whole number, and files cannot hold half a pixel. 1000 pixels wide in 16:9 is exactly 562.5 tall; the file must be 562 or 563, and this calculator rounds to 563 and says so. The ratio of the resulting file is 1000:563, within a fraction of a percent of 16:9, invisible in any real use, and the note exists so that anyone checking the arithmetic to the pixel finds the explanation waiting instead of a mystery.

What is the difference between resizing and cropping?

Resizing scales the whole image to new pixel dimensions and keeps everything in the frame; cropping cuts the frame to a new shape and discards what falls outside. Resizing to a different ratio without cropping is impossible without distortion: something must give, either the shape of the content (squashing) or its extent (cropping). This page resizes proportionally, computes the dimensions a preset ratio demands, and leaves any crop to your editor, where you can see what is being discarded.

Related calculators

Method: exact ratio reduction by greatest common divisor, proportional scaling from the unrounded ratio with whole-pixel rounding declared, print dimensions as pixels over DPI, exactly as defined on this page. Last reviewed: 13 October 2026.