Home · Math · Ratios & Proportions · Image Ratio Calculator
Image Ratio Calculator
An image's ratio is fixed by its pixel dimensions; a decimal above 1 is landscape, below 1 is portrait, and exactly 1 is square.
What this calculator does
An image's ratio is fixed by its pixel dimensions; a decimal above 1 is landscape, below 1 is portrait, and exactly 1 is square. 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
An image's ratio is fixed by its pixel dimensions; a decimal above 1 is landscape, below 1 is portrait, and exactly 1 is square.
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 (image width (pixels) 3000, image height (pixels) 2000), the result is 1.5000 — image ratio as a decimal. Change any figure and the result updates with the same formula.
Quick reference
| Image width (pixels) | Image ratio as a decimal |
|---|---|
| 1500 | 0.7500 |
| 2400 | 1.2000 |
| 3000 | 1.5000 |
| 3750 | 1.8750 |
| 4500 | 2.2500 |
| 6000 | 3.0000 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
How does the Image Ratio Calculator work?
An image's ratio is fixed by its pixel dimensions; a decimal above 1 is landscape, below 1 is portrait, and exactly 1 is square. Image width · Image height → Image ratio as a decimal. 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 Image Ratio Calculator need?
Image width · Image height → Image ratio as a decimal. 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 Image 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.