01 / Steps
How to calculate and change an image aspect ratio
- Upload an image. Choose a JPEG, PNG, WebP, or GIF file to inspect its source dimensions and simplified ratio.
- Set the target. Enter an exact width and height or choose a common ratio preset for the destination.
- Choose how it fits. Keep the original, show the full image with Fit, fill the frame with Fill / Crop, or add space with Pad.
- Export the result. Review the preview, select a file format and quality, then download the processed image.
02 / Fit options
Fit vs Fill / Crop vs Pad
Choose whether to keep the whole image or fill the target frame.
Fit keeps the whole image with automatic empty space. Pad also lets you choose the background and image position.
| Mode | Full image | Output canvas | Crops | Background control |
|---|---|---|---|---|
| Original | Yes | Source size | No | None |
| Fit | Yes | Target size | No | Automatic |
| Fill / Crop | No | Target size | Yes | None |
| Pad | Yes | Target size | No | Custom |
Choose Fit or Pad to keep everything. Choose Fill / Crop to cover the frame, then move the focal point if faces, text, or edges are being cut off.
Common image aspect ratios and sizes
Start with the destination shape, then choose enough pixels for the intended output. Review the guides for a 1:1 square image, 4:5 portrait image, 3:2 photograph, 16:9 widescreen image, or 9:16 vertical image.
Choose an export format
Use JPEG for most photos and smaller files. Choose PNG for transparency or crisp graphics. WebP is a good general-purpose option for websites. An animated GIF exports as the still frame shown in the preview.
Keep the image sharp
A new aspect ratio changes the shape, while a new resolution changes the pixel count. Enlarging a small image cannot add real detail and may make it look soft. The JPEG quality setting changes compression, not dimensions.
03 / FAQ
Frequently asked questions
How do I find the aspect ratio of an image?
Import the image and read the source ratio shown beside its dimensions. The calculator simplifies the pixel width and height to the smallest equivalent ratio.
How can I change an image aspect ratio without cropping?
Choose Fit to center the complete image with automatic empty space, or Pad to keep it complete while choosing the background and image position.
What is the difference between Fit, Fill / Crop, and Pad?
Fit centers the complete image and leaves unused canvas space transparent, or white for JPEG. Fill / Crop covers the canvas and trims overflow. Pad keeps the complete image and lets you control its position and the background color or transparency.
Can I resize an image to 1:1, 4:5, 16:9, or 9:16?
Yes. Choose a ratio preset or enter an exact target width and height, then select the fitting mode that matches the result you need.
Does changing the aspect ratio reduce image quality?
Cropping or padding does not create extra detail. Enlarging beyond the source dimensions can make the exported image look softer, while JPEG compression can remove some image data.
Which image format should I export?
Use JPEG for most photographs, PNG when you need transparency or crisp graphics, and WebP when you want a practical balance of quality and file size for the web.
Are my images uploaded or stored?
No. Inspection, preview, and export happen locally in your browser. The tool does not upload or store your image on a server.
Can I export an image with transparent padding?
Yes. Select Pad, choose a transparent background, and export as PNG or WebP because JPEG does not support transparency.
How we check the tool
Preview and export checks
The preview and downloaded file use the same target dimensions, fit mode, crop position, and padding settings. Automated tests cover dimension limits, fit calculations, crop direction, transparency, and export formats. Browser image decoding can still differ by file type, so inspect an important download before publishing it.
Last reviewed by AspectDock on . Read our review process.