Play n Tools

Free tools & games for everyone

Free · No sign-up · No accounts

Aspect ratio calculator

Find the ratio of any size, resize keeping the shape, find the largest crop of a ratio, fit inside a frame with bars, and look up common sizes.

How to use

  1. Find the ratio: type a width and height to get the simplest ratio, its decimal value and the nearest common ratio.
  2. Resize: type a ratio (like 16:9) or the original size (like 1920x1080), then one new side; get the other side.
  3. Crop and fit: find the biggest crop of a chosen shape inside your picture, and how a picture fits inside a frame with bars.
  4. Common sizes lists standard screen, video, photo and print sizes with their ratios.

Keyboard and touch

TabMove between tabs, boxes and buttons
Enter in a boxCalculate

Tips

  • 1920 x 1080, 1280 x 720 and 3840 x 2160 are all 16:9: the same shape at different sizes.
  • Some sizes do not reduce neatly: 1366 x 768 is 683:384, which is close to 16:9.
  • Cropping a 3:2 photo to 4:5 for a portrait post keeps only part of the picture; the crop tab shows how much.
  • Video encoders often need even widths and heights; tick the box when resizing video.

About the maths

The ratio is the width and height divided by their greatest common divisor (Euclid's algorithm); sizes with decimals are first multiplied by 10 until they are whole. The nearest common ratio is the one with the smallest relative difference. The largest crop keeps the full height when the picture is wider than the target shape, otherwise the full width, and is centred. Fitting scales the picture by the smaller of the two frame-to-picture ratios. Everything runs in your browser.

See you tomorrow!

A fresh daily puzzle every morning, and new tools added every month.

Browse every product