Aspect Ratio Calculator
Resize dimensions while keeping the aspect ratio, with a visual preview
Change any field and the other side will be calculated automatically in proportion.
Instructions
Aspect Ratio Calculator Instructions
Overview
When resizing images, videos or canvases, the biggest risk is distorting the ratio. This tool helps you keep the original ratio while converting the other side, and shows the simplified ratio.
How to Use
- Enter the original width and height (default 1920 × 1080)
- Change either the "new width" or "new height" field and the other is calculated automatically
- You can also click the common ratio buttons at the top (16:9, 4:3, 1:1, 21:9, 9:16, 3:2) to apply one quickly
- The results area shows the simplified ratio, decimal ratio, new dimensions and total pixel count, with a scaled diagram below
Notes
- Decimal results are rounded to two decimal places; use whole pixels for actual exports
- If the original ratio is unusual (for example 1920:1081), the simplified ratio is shown in decimal form instead
- All calculations run in the browser; no images are uploaded
FAQ
Why calculate the ratio before resizing?
Stretching only the width or height distorts the image. Calculating the other side from the ratio keeps the image undistorted, which is exactly what the "keep aspect ratio" button does in image editing software.
What are common 16:9 sizes?
Common ones include 1920×1080, 1280×720, 2560×1440 and 3840×2160. Enter 1920 and 1080 as the original width and height, then set the new width to the value you want.
Which ratio is used for vertical videos?
The common vertical ratio for short videos is 9:16, for example 1080×1920 and 720×1280. Just click the 9:16 button to apply it.
Related Articles
What Is the Difference Between Image Compression and Format Conversion?
Through this article, you can distinguish the applicable scenarios of image compression and format conversion, master specific solutions to three types of problems: poor image quality, format errors, and batch processing, and learn to choose install-free local processing tools to reduce ineffective retries.
tool-tutorialsHow to Fix Favicon Generator Icons Not Displaying in the Browser
Troubleshoot favicon not displaying in three steps: path, declaration, and cache. Learn format and size selection, generator usage flow, and mobile creation methods, and handle large file errors.
tool-tutorialsWhat Is the Difference Between Deleting PDF Pages and Splitting a PDF, and Which Should You Choose?
This article helps you quickly decide whether to use page deletion or splitting, and provides step-by-step local browser page deletion operations, methods for handling large files on a phone, and troubleshooting ideas for files that won't open after deletion and page number misalignment in scanned documents.
tool-tutorialsWhat Is HTML Entity Encoding and Decoding? Principles and Usage of Special Character Escaping
Use a tool that runs locally in the browser to complete HTML entity encoding and decoding, distinguish its boundaries from URL encoding, troubleshoot garbled text step by step, and correctly choose the encoding direction in API debugging and mobile scenarios.