Aspect Ratio Calculator
Simplify a width and height to a ratio, and resize without distortion.
Enter values
px
px
px
—
—
Step by step
The formula
ratio = w : h (reduced); new height = new width × h / w
All calculations run locally in your browser and update instantly as you type.
Related calculators
Frequently asked questions
How do I resize without stretching?+
Keep the ratio: new height = new width × (original height ÷ original width). Enter your target width and the tool fills in the matching height.
All calculations run locally in your browser. Nothing you type is sent to a server.