Home · Math · Ratios & Proportions · Aspect Ratio Calculator
Aspect Ratio Calculator
The aspect ratio of an image or screen is its width divided by its height; dividing both by their greatest common divisor gives the familiar whole-number form such as 16 : 9.
What this calculator does
The aspect ratio of an image or screen is its width divided by its height; dividing both by their greatest common divisor gives the familiar whole-number form such as 16 : 9. Every figure on this page is computed from the formula or definition stated below, with no hidden rounding steps, and the method notes name the exact convention where more than one exists.
The formula and method
The aspect ratio of an image or screen is its width divided by its height; dividing both by their greatest common divisor gives the familiar whole-number form such as 16 : 9.
Inputs use the units shown in the field labels and every denominator or total must be non-zero. The result is an arithmetic value from the stated formula only; it is not a quote, a rating or professional advice.
Worked example
With the example inputs this page opens with (width (pixels) 1920, height (pixels) 1080), the result is 1.7778 — aspect ratio as a decimal (w ÷ h). Change any figure and the result updates with the same formula.
Quick reference
| Width (pixels) | Aspect ratio as a decimal (w ÷ h) |
|---|---|
| 960 | 0.8889 |
| 1536 | 1.4222 |
| 1920 | 1.7778 |
| 2400 | 2.2222 |
| 2880 | 2.6667 |
| 3840 | 3.5556 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
How does the Aspect Ratio Calculator work?
The aspect ratio of an image or screen is its width divided by its height; dividing both by their greatest common divisor gives the familiar whole-number form such as 16 : 9. Width · Height → Aspect ratio as a decimal (w ÷ h). The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Aspect Ratio Calculator need?
Width · Height → Aspect ratio as a decimal (w ÷ h). Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.
Is the Aspect Ratio Calculator free to use?
Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.