# Aspect Ratio Calculator — Find & Resize Image Dimensions

> Calculate and simplify image aspect ratios, read dimensions from an image, and resize to a target ratio locally in your browser.

Source: https://toolpantry.app/aspect-ratio-calculator

## About

Calculate a simplified aspect ratio, read an image's real dimensions, and work out the missing side for a new canvas. Everything runs locally.

## Quick answer

**How do I find an image's aspect ratio?** Enter the width and height to get the simplified ratio like 16:9, or fill three of four fields to calculate the missing dimension.

## How to calculate a missing dimension

1. **Enter the known side and the ratio** — or pick a preset like 16:9 or 4:5.
2. **Read the missing dimension** — with a live frame preview to sanity-check it.
3. **Apply it everywhere** — cropping, CSS, or a request to a designer.

## Why ratios save you from distortion

- Making a banner without stretching faces
- Instagram 4:5 and Stories 9:16 without trial and error
- Video thumbnails at 16:9 while the source image is 4:3

## Good to know

Scaling both sides by the same factor is what locks a ratio — one wrong side and faces stretch. When CSS is the destination, remember the modern aspect-ratio property exists: you often do not need a padding-top hack anymore. Related: [social media size guide](https://toolpantry.app/social-media-size-guide) and [image splitter](https://toolpantry.app/image-splitter).

Know the ratio you need? [Crop image](https://toolpantry.app/crop-image) can lock to 1:1, 4:3, or 16:9 and cut the photo for you.

## Notes

Aspect ratio is width ÷ height. The calculator rounds a missing pixel dimension to the nearest whole pixel; it does not crop or resize the source image.

## FAQ

**What does 16:9 mean?**

For every 16 units of width, the frame has 9 units of height. A 1,920 × 1,080 image and a 1,280 × 720 image both use 16:9.

**Can this crop my image?**

No. This page calculates dimensions only. Use the main image tool's crop mode when you need to fill a fixed frame and remove the excess edges.

**Is my image uploaded?**

No. The optional image picker uses the browser's local image decoder to read natural width and height. The file is not sent to a server.
