Aspect Ratio Calculator
Work out the aspect ratio of any dimensions and scale them proportionally.
To calculate an aspect ratio, enter the original width and height and the simplified ratio appears instantly, along with the CSS aspect-ratio declaration. Enter a new width and the matching height is worked out so the image scales without distortion.
Runs in your browser- Privacy
- Runs entirely in your browser — nothing is uploaded
- Cost
- Free, unlimited, no sign-up
Frequently asked questions
Why do aspect ratios matter more than resolution?
What ratio should a social image be?
How to use the aspect ratio calculator
- 1Set the original width.
- 2Set the original height.
- 3Set the new width.
- 4The result appears immediately — copy or download it.
Embed this tool
Put the working aspect ratio calculator on your own site. It runs in your visitors' browsers exactly as it does here — free, no account, nothing uploaded.
Share this tool
Related tools
Image Colour Palette ExtractorPull the dominant colours out of any image as HEX and RGB values.Image CropperCrop images visually with drag handles, aspect-ratio presets and a live preview.Image ResizerResize images by size, percentage or a social-media preset visually in the interactive UI editor or in bulk.Placeholder Image GeneratorGenerate placeholder images at any size with custom colours and label text.Video Frame ExtractorPull still frames out of a video as images — for thumbnails and contact sheets.AVIF ConverterConvert images to and from AVIF in your browser, with a real encoder check so you never get a PNG renamed to .avif.
Last updated
More image tools