Aspect Ratio Calculator
Calculate proportional image or video dimensions.
Calculate proportional dimensions
Maintaining an aspect ratio prevents images and video from appearing stretched.
Enter the original dimensions and a target width to calculate the matching height.
How to use the Aspect Ratio Calculator
- Enter or upload the information requested by the tool.
- Run the tool and review the result for accuracy.
- Copy or download the result, then test it in its intended context.
Practical example
Preview the result at several screen sizes and against the actual colors and typography used by the project.
What this tool cannot guarantee
Generated values are a starting point and should be tested for browser support, accessibility and compatibility with the full design system.
Continue this workflow with the CSS Clamp Calculator
Frequently asked questions
Is the Aspect Ratio Calculator free to use?
Yes. It is available without an account or paid subscription.
Is my input uploaded or stored?
The core operation runs in your browser. Avoid pasting secrets into any web page unless the individual tool explicitly explains how the data is handled.
Should I review the result before using it?
Yes. Check the output for your project and test it in the intended environment before production use.