Aspect Ratio Calculator -- Resize Without Cropping

Published 2026-05-30

Why resizing breaks images

You have a 1920x1080 banner and need it at 800px wide for a blog thumbnail. If you set the width to 800 and guess the height, the image gets squished or stretched. The fix is simple math -- maintain the aspect ratio -- but doing that division in your head for every resize gets tedious fast.

The problem gets worse with social media. Each platform has different recommended dimensions: Instagram posts, YouTube thumbnails, Twitter headers, LinkedIn banners. You need to know what ratio each one expects and calculate the matching dimensions for your source image.

An aspect ratio calculator locks the proportions so you only change one dimension and the other scales automatically. No distortion, no guesswork.

How to calculate aspect ratio

  1. Open the Aspect Ratio Calculator.
  2. Enter your original width and height (e.g., 1920 x 1080).
  3. The tool displays the simplified ratio (16:9).
  4. Enter a new width or height -- the other dimension updates automatically to preserve the ratio.
  5. Copy the new dimensions for your resize.

Common aspect ratios reference

Social media dimensions

The math behind it

Aspect ratio is width divided by height, reduced to the smallest integers using the greatest common divisor (GCD). For 1920x1080, the GCD is 120, so the ratio is 16:9. To find a new height from a new width: new_height = new_width * (original_height / original_width). For 800px wide at 16:9, that is 800 * (1080 / 1920) = 450.


Built with vanilla HTML/JS. No frameworks, no backend, loads instantly.

Related tools

Joe — Software engineer with 20+ years of experience. Built ToolRack to provide fast, private tools without the bloat.