What Is the Aspect Ratio Calculator?
An aspect ratio describes the proportional relationship between an image's width and its height — for example 16:9 for widescreen video or 4:3 for classic displays. This calculator helps you resize an image or video to a new width while keeping it from looking stretched or squashed, by computing the matching height. It also reveals the simplest whole-number ratio of your original dimensions.
How to Use It
Enter your original width and original height (in pixels, or any consistent unit). Then type the new width you want. The calculator returns the new height that preserves the original proportions, along with the reduced aspect ratio (such as 16:9) and the decimal ratio (width ÷ height).
The Formula Explained
Resizing proportionally means scaling both dimensions by the same factor. The scale factor for width is \(\frac{\text{new\_w}}{\text{orig\_w}}\), and applying it to the height gives:
$$\text{new\_h} = \text{new\_w} \times \frac{\text{orig\_h}}{\text{orig\_w}}$$
The displayed ratio is found by dividing both original dimensions by their greatest common divisor (GCD), turning 1920×1080 into 16:9.
Worked Example
Suppose your original image is 1920×1080 and you want a new width of 1280. Then $$\text{new\_h} = 1280 \times \frac{1080}{1920} = 1280 \times 0.5625 = 720$$ So your resized image should be 1280×720 — still a perfect 16:9.
Common Aspect Ratios and Standard Resolutions
An aspect ratio is the width divided by the height, usually written as the simplest whole-number pair (W:H). The decimal value is \(W \div H\), so a larger number means a wider shape. The table lists widely used ratios and typical pixel sizes.
| Ratio | Decimal (W÷H) | Typical use | Example resolutions |
|---|---|---|---|
| 1:1 | 1.00 | Social posts, profile pictures | 1080×1080 |
| 4:3 | 1.333 | Classic TV, iPad, many compact cameras | 1024×768 |
| 3:2 | 1.50 | 35mm film and many DSLR/mirrorless photos | 3000×2000 |
| 16:10 | 1.60 | Laptop and some desktop displays | 1920×1200 |
| 16:9 | 1.778 | HD and 4K video, most monitors and TVs | 1280×720, 1920×1080, 3840×2160 |
| 9:16 | 0.5625 | Vertical video, Stories, Reels, Shorts | 1080×1920 |
| 21:9 | 2.333 | Ultrawide monitors (marketing label) | 2560×1080 |
| 2.39:1 | 2.39 | Anamorphic widescreen (CinemaScope-style) film | 2048×858 |
| 5:4 | 1.25 | Older 17–19 inch LCD monitors | 1280×1024 |
| 4:5 | 0.80 | Portrait-oriented social feed images (e.g. Instagram) | 1080×1350 |
Note: "21:9" is a marketing name; 2560×1080 actually reduces to 64:27 (about 2.370). Real-world pixel sizes are often rounded, so a screen labelled with one ratio may differ slightly from it.
Resizing Scenarios Compared
To keep proportions, the new height is \(\text{New Height} = \text{New Width} \times \dfrac{\text{Original Height}}{\text{Original Width}}\). For example, 1920×1080 resized to a width of 1280 gives \(1280 \times \dfrac{1080}{1920} = 1280 \times 0.5625 = \)720 pixels high.
| Original size | New width | Calculation | New height | Ratio |
|---|---|---|---|---|
| 1920×1080 | 1280 | 1280 × 1080 ÷ 1920 | 720 | 16:9 |
| 1920×1080 | 854 | 854 × 0.5625 | 480.375 → 480 | 16:9 (approx.) |
| 1920×1080 | 640 | 640 × 0.5625 | 360 | 16:9 |
| 1920×1080 | 1000 | 1000 × 0.5625 | 562.5 → 562 or 563 | 16:9 (approx.) |
| 4000×3000 | 1600 | 1600 × 3000 ÷ 4000 | 1200 | 4:3 |
| 1080×1920 | 720 | 720 × 1920 ÷ 1080 | 1280 | 9:16 |
Rounding to whole pixels
Images only have whole pixels. When the result is not an integer (480.375, 562.5), round to the nearest pixel. The ratio is then off by a tiny amount, which is normally invisible. If you need an exact ratio, choose a width that divides evenly (for 16:9, any multiple of 16).
Changing the ratio itself
The formula only preserves the existing ratio. Converting between different ratios, such as 16:9 to 4:3, cannot be done by resizing alone. You must either crop or add bars:
- Crop: 1920×1080 to 4:3 keeps a height of 1080 and a width of \(1080 \times 4 \div 3 = 1440\), so 480 px of width is cut.
- Letterbox/pillarbox: fitting 1920×1080 into a 1024×768 frame scales the image to 1024×576, leaving 768 − 576 = 192 px of bars (96 px top and bottom).
Stretching the image to fill the frame distorts it and is generally best avoided.
FAQ
Does it work for any units? Yes. As long as width and height use the same unit (pixels, cm, inches), the ratio and proportional result are valid.
What is the decimal ratio? It is width divided by height — a 16:9 image has a decimal ratio of about 1.7778. Useful when comparing to standards.
Can I find the new width from a known height? Just swap your inputs: treat the desired dimension as the "new width" by entering rotated values, or rearrange the formula as \(\text{new\_w} = \text{new\_h} \times \frac{\text{orig\_w}}{\text{orig\_h}}\).