No processing of your file contents takes place on any server. You need no data-processing agreement with gottrix to handle confidential or business documents.
Hosted in GermanyGlobal Content Delivery
Origin servers at Hetzner in Germany, delivered worldwide through a content delivery network. Your file contents are never transmitted in the process - they never leave your device.
The aspect ratio describes how the width and height of an image or screen relate to each other - for example 16:9 for widescreen, 4:3 for older monitors, 1:1 for square posts or 3:2 for classic photos. This calculator reduces the ratio of any two dimensions to the smallest whole numbers (via the greatest common divisor), also shows it as a decimal, and on request works out the proportional target height for a desired target width - so you can scale without distortion.
The calculation runs entirely locally in your browser, in pure JavaScript - nothing is uploaded and nothing is stored. Enter the width and height; the calculator works out the reduced ratio and the decimal value. If you also enter a target width, you get the matching height that keeps the ratio exactly. The dimensions are unit-free - you can enter pixels, millimetres or any numbers, the ratio stays the same. Change any input and everything updates instantly.
An honest note: for the reduced ratio the inputs are rounded to whole numbers. If no simple ratio fits (e.g. with odd dimensions like 1234 by 567), the calculator shows the smallest whole-number ratio that fits exactly - which can turn out large. The calculator does not crop anything or add borders; it only computes the dimensions and ratios. To actually crop or scale images, use the matching image tools.
This tool calculates with a fixed, documented formula - not with probabilities like a chat AI model. Given the same input, it always returns the same result, which you can recalculate yourself.
Aspect Ratio Calculator works down to the exact pixel - unlike a chat AI, which describes or estimates dimensions in words but does not write exact pixel values into an image file or compute them reliably.
Free, no account - calculate as often as you like; your inputs stay on your device.
Specifications
Specifications
Input formats
Form inputs (no file)
Processing
Locally in your browser (JavaScript)
File upload
None
In 3 steps
Enter the width and height (pixels or any unit).
Optionally enter a target width to get the proportional height.
Read off the reduced ratio, the decimal value and the target height.
Limitations: A pure calculation helper: reduces width to height to the smallest whole-number ratio (inputs rounded to whole numbers), shows the decimal value and the proportional target height. Unit-free. It does not crop or scale image files - the image tools do that.
FAQ
Are my inputs uploaded?
No. The calculation runs entirely locally in the browser (pure JavaScript); nothing is sent or stored.
What does the aspect ratio mean?
It is width to height, reduced to the smallest whole numbers. 1920 by 1080 gives 16:9, for example.
How do I scale without distortion?
Enter the original dimensions and the desired target width - the resulting target height keeps the ratio exactly.
How does Aspect Ratio Calculator differ from a chat AI when it comes to calculating?
Aspect Ratio Calculator evaluates a fixed, programmed formula instead of predicting text: the same input always gives the same result, and you can recalculate it. A chat AI, by contrast, generates a probable answer and can miscalculate numbers.
Can a chat AI crop or calculate images to an exact pixel size?
No. A chat AI only describes dimensions in words and cannot reliably apply them exactly. Aspect Ratio Calculator calculates or crops down to the exact pixel, using the dimensions you enter.
Aspect Ratio Calculator: free and without an account?
Yes. Using it is free and needs no account: you can calculate as often as you like, and your inputs stay on your device.