Aspect Ratio Calculator
Calculate a new image or video width and height while keeping the original aspect ratio.
Data handling
Storage and export controls
- Retention
- The tool's working state is kept only while this page is open. Inputs and results are not saved to persistent storage by Got A Tool.
- Export
- The tool may prepare a result after you run it. It downloads or copies it only when you choose that action.
Advertising and analytics are separate site services. We do not send selected tool input to them. Read the Privacy Policy for details.
How it works
Aspect Ratio Calculator: a practical guide
An aspect ratio describes the proportional relationship between an image's width and height. When one dimension changes, the other can be calculated from the original ratio. This calculator is useful for planning image, video, slide, and thumbnail dimensions before using an editor or image converter.
- STEP 01
Enter the original width and height in whole pixels.
- STEP 02
Choose whether to set a new width or a new height.
- STEP 03
Enter the target dimension and calculate the matching whole-pixel size.
What this tool does and its limits
The original ratio is reduced to the simplest integer pair, then the other target dimension is rounded to the nearest whole pixel. Rounding can create a difference of less than one pixel from the exact mathematical ratio. The calculator does not inspect or resize a file; use an image editor or Image Converter to make the actual change.
Questions
Aspect Ratio Calculator details
Does this resize my image?
No. It calculates dimensions only. Use an image tool to resize the file itself.
Why is the calculated side rounded?
Raster image dimensions use whole pixels, so a fractional result is rounded to the nearest integer.
Which values are accepted?
Positive whole-number dimensions from 1 to 1,000,000 pixels.
What is an aspect ratio?
It is the width-to-height proportion, often written as 16:9 or 4:3. Images with the same ratio can have different pixel sizes.
Keep working
Related tools
Image Cropper
Crop, rotate, and flip JPG, PNG, or WebP images privately in your browser.
Open tool →Image Converter
Convert and resize JPG, PNG, and WebP images privately in your browser.
Open tool →PDF to JPG / PNG
Turn PDF pages into JPG or PNG images. Preview pages, choose your resolution, and download images without uploading your PDF.
Open tool →