Aspect Ratio Calculator
Calculate a new image or video width and height while keeping the original aspect ratio.
Resize dimensions without changing aspect ratio
Enter the current pixel width and height, then set either a new width or height. The other dimension is rounded to the nearest whole pixel. The calculator does not resize or edit an image file.
Enter your details
Change the values, then run the tool.
Data handling
- Processing
- The selected input is processed in your browser. Got A Tool does not send it to our servers.
- Retention
- We do not retain selected files. Resetting or closing this page clears its working state.
- 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 file contents 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.
Processing happens in your browser. The selected file or entered values are not uploaded to Got A Tool or saved by this tool.
Frequently asked questions
- 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 →