Resize and keep the right shape
A stretched photo looks wrong. The ratio of width to height keeps the shape. Set the ratio once and the tool does the rest. You can also fit a size inside a box.
Type the numbers. The size updates as you go.
These two numbers set the ratio. A preset fills them in for you.
Change one side. The other side follows and keeps the shape.
The tool shrinks the shape until it fits inside the box.
This runs in your browser. Your file is not sent to us.
How to use aspect ratio calculator
- Set the ratio. Pick a preset or type your own width and height.
- Type a new side. Change the width or the height and the other follows.
- Copy the size. Use the new size in your editor or your style sheet.
What you get
- Common ratios in one click
- Width and height stay in step
- Fit a size inside a box
- Copy the size in one click
- No upload and no sign up
Why this runs in your browser
Most free PDF sites ask you to upload your file. Then you wait. Then you hope they delete their copy. That is a bad deal for a payslip, a contract or a passport scan.
Aspect Ratio Calculator reads the file on your device and saves the result to your downloads folder. There is no upload and no copy on a server. For the details, see how it works.
Aspect Ratio Calculator questions
What is an aspect ratio?
It compares width to height. A 16 to 9 image is wider than it is tall.
Will this crop my image?
No. It only gives you numbers. Use your editor to crop or resize the file.
How do I fit a size in a box?
Type the box size. The tool shrinks your ratio until it fits inside.
Does it round the numbers?
Yes. The result uses whole pixels, so it is ready to use.
Is my data sent anywhere?
No. Everything runs in your browser.