Aspect ratio calculator. Lock the shape, solve the size.
Lock any ratio and solve the missing width or height, simplify any width × height to its lowest terms with GCD, and scale with video, screen and social presets — everything computed in your browser, nothing uploaded.
A free online tool by Digital HeroesRatio locked. Edit width or height and the other follows. Click the lock to free both and read off the ratio instead.
Calculated locally. Nothing is sent anywhere.
Exact ratios, simplified automatically
Enter any width and height and the calculator reduces it to its simplest whole-number ratio using the greatest common divisor — so 1920×1080 reads as 16:9 and 2560×1600 reads as 16:10. Lock the ratio to resize without distortion, or unlock it to discover the ratio of a size you already have. Decimal ratios like 2.39:1 work too. It runs entirely in your browser, free forever.
Every dimension question, answered.
Four steps, no manual.
- Enter your ratio in the Ratio width and Ratio height fields, or click a preset chip.
- Type a width or height in the Dimensions section — with the lock closed, the other side recalculates automatically.
- Click the lock button to unlock, then type any width and height to measure and simplify the ratio of a size you already have.
- Use the orientation toggle to flip landscape and portrait, and read the decimal ratio and megapixels in the result panel.
Frequently asked questions.
Is the Aspect Ratio Calculator free?
Is it private? Is anything uploaded?
Does it work offline?
What does the lock button do?
How does the ratio simplification work?
Published · Last updated .