Aspect Ratio Calculator
This free aspect ratio calculator answers three questions about any width and height at once.
How to use
- Enter the width and height of your image, video or design in pixels.
- Read the simplified ratio and the closest standard from the 16:9 / 4:3 / 1:1 / 21:9 / 3:2 table.
- Optionally pick "by new width" or "by new height" and enter a target to get the scaled size.
- Adjust any number and every value updates instantly, all in your browser.
Frequently asked questions
How is the ratio simplified?
Both dimensions are divided by their greatest common divisor (gcd). For 1920 × 1080 the gcd is 120, leaving exactly 16:9. The simplified pair is always whole numbers with no common factor left, the same reduction you would do by hand.
How is the "nearest standard" chosen?
The tool computes width ÷ height and picks the standard with the smallest absolute difference among 16:9, 4:3, 1:1, 21:9 and 3:2. The deviation is shown as a signed relative percentage: +6.7% means your ratio is 6.7% wider than the standard, −4% means 4% taller, and exact means a perfect match.
Why must width and height be whole numbers?
The calculator works in pixels, where fractional dimensions have no meaning. Zero, negative or decimal inputs cannot form a valid ratio, so the tool fails fast with an explicit message instead of silently rounding.
Is the scaled size rounded?
Yes, the computed side is rounded to the nearest whole pixel, because screens cannot render fractions of a pixel. Very small targets may land one pixel away from a mathematically perfect ratio — that is the closest a real image can get.
Is anything uploaded?
No. All arithmetic happens in your browser; the numbers you type never leave your device.
Related tools
About this tool
This free aspect ratio calculator answers three questions about any width and height at once. First it reduces your dimensions to their simplest whole-number ratio using the greatest common divisor, so 1920 × 1080 becomes 16:9 and 1024 × 768 becomes 4:3. Second it compares your ratio against the five standards that cover most screens and prints — 16:9, 4:3, 1:1, 21:9 and 3:2 — names the closest one, and shows how far off you are as a signed percentage: positive means your shape is a little wider than the standard, negative a little taller. Third it scales proportionally: enter a new width or a new height and it returns the matching side, rounded to whole pixels. Width and height must be positive integers — zeros, negatives and decimals fail with an explicit error rather than a guessed answer. Everything is computed locally in your browser as you type.