Aspect Ratio Calculator
Simplify a width-to-height ratio or calculate matching dimensions without stretching the result. Choose a preset or enter any positive measurements.
Simplified ratio
16:9
Decimal ratio: 1.777778
Enter either a target width or target height. Target width takes priority when both fields contain values.
Proportional dimensions
1,280 × 720
How to calculate proportional dimensions
- Enter the original width and height.
- Check the simplified ratio or choose a common preset.
- Enter a new width or height to calculate its matching dimension.
Rounding to whole pixels may make the final dimensions differ from the exact mathematical ratio by a very small amount. Keep decimals when working with physical measurements or use the nearest whole number for pixel dimensions.
Frequently asked questions
What is an aspect ratio?
An aspect ratio describes the proportional relationship between width and height. A 16:9 image has 16 units of width for every 9 units of height, regardless of its pixel dimensions.
How do I calculate a missing width or height?
Enter the original width and height, then enter either a target width or target height. The calculator uses the original ratio to find the other proportional dimension.
Does an aspect ratio have to use whole numbers?
No. Dimensions can contain decimals, and this calculator scales them before simplifying the ratio. Most published ratios use whole numbers because they are easier to compare.
Does this calculator resize an image file?
No. It calculates proportional dimensions only. Use McStumble’s Image Resizer when you need to change the pixels in an actual image.
Related tools
- Image Resizer & Cropper
Resize, crop, and set DPI for images in your browser.
Open tool - Social Media Crop Preview
Preview and download one image cropped for Instagram, TikTok, YouTube, X, and LinkedIn.
Open tool - SVG to PNG Converter
Convert SVG vector graphics to PNG with custom dimensions.
Open tool - OG Image Generator
Design 1200×630 social share cards with gradients, text, and your logo.
Open tool