CalcSeed

Aspect Ratio Resize Calculator

Enter a ratio and a target width to find the matching height.

=
Quick answer: with the default inputs (16, 9, 1,920 px), the target height is 1,080. At these inputs: decimal ratio = 1.78. Change any input to update the result.
Target height
—

What an aspect ratio is

A ratio like 16:9 says the shape stays constant: every 16 units of width come with 9 units of height, whether that is a 320 × 180 thumbnail or a 3840 × 2160 4K frame. Resizing while keeping the shape means scaling both dimensions by the same factor, which is what this calculator solves: give it the ratio and the target width, and it returns the one height that preserves the geometry. At the defaults — 16:9 with a target width of 1920 px — the answer is 1080 px.

h=w×rhrwh = w \times \frac{r_h}{r_w}

The ratio factor is 9 ÷ 16 = 0.5625, so 1920 × 0.5625 = 1080 exactly. The decimal readout shows the ratio divided out — 16 ÷ 9 ≈ 1.7778, displayed rounded as 1.78 — and that single number is handy in CSS and layout math, where a container’s padding trick or aspect-ratio property just needs the decimal form.

Worked example, step by step

Take 16:9 and a 1920 px target width. Step one: divide the target width by the ratio width — 1920 ÷ 16 = 120, the scale factor. Step two: multiply by the ratio height — 120 × 9 = 1080 px. Every 16:9 dimension pair works the same way: 1280 → 720, 2560 → 1440, 3840 → 2160, because each width divides by 16 into a whole number. Not every width does: 1920 ÷ 21 = 91.43 for a 21:9 frame, so the tool rounds the final height to the nearest whole pixel.

Reading the scale factor

The intermediate number — target width divided by ratio width — is worth computing out loud, because it is the scale factor between the ratio units and your pixels. At the defaults it is 1920 ÷ 16 = 120, meaning the 16-unit ratio cell is rendered 120 times across. Multiply that factor by the ratio height and you have the height; the same factor converts any other ratio dimension, which is why resize tools that preserve ratio internally do exactly this one division and one multiplication.

Heights for common ratios at 1920 px wide

RatioDecimalHeight at 1920 pxTypical use
16:9≈1.77781080HD video, YouTube, modern monitors
16:101.61200Laptop panels and older wide displays
4:3≈1.33331440Classic TV, iPad, legacy photos
3:21.5128035mm film and many DSLRs
1:111920Square social posts
21:9≈2.3333823 (rounded)Ultrawide monitors and cinema

The 21:9 row shows the rounding rule in action: 1920 × 9 ÷ 21 = 822.857, which rounds to 823. One pixel of drift is unavoidable when the width is not divisible by the ratio — every player and renderer snaps to whole pixels, so the practical standard for ultrawide video is 2560 × 1080 rather than a stretched 1920.

Solving for width instead

The relationship is symmetric: if you know the height and need the width, multiply by the ratio width and divide by the ratio height. For 16:9 at 1080 tall, that is 1080 × 16 ÷ 9 = 1920. The tool’s target-width field is the dimension you control; flip which value you enter depending on whether you are fitting a container’s width or a video’s height.

Crop versus letterbox

When the source shape and the target shape disagree, you have two honest options. Cropping trims the longer dimension to match — fitting a 4:3 photo into 16:9 cuts 25% of its height — while letterboxing keeps everything and fills the leftover bars with black. What you should never do is stretch: a 4:3 image forced to 16:9 distorts every face in it by 33%, since 16 ÷ 12 = 1.3333 but the display assumes 1.7778.

Where ratio math bites in practice

  • Responsive video embeds: pick the height that matches the source ratio so the player never letterboxes
  • Open Graph and social images: platforms crop to a fixed ratio, and 1.91:1 links previews versus 1:1 feeds
  • CSS aspect-ratio boxes: the decimal form (16 / 9) sets a container that reserves the right height before images load
  • Thumbnail grids: equal widths with ratio-correct heights keep rows aligned without stretching
  • Print scaling: a 300 DPI print of a 16:9 frame is 12.8 × 7.2 inches at 3840 × 2160 source pixels

Common mistakes

  • Entering the ratio reversed — 9:16 with a 1920 width returns 3413, a portrait height, instead of 1080
  • Forgetting the rounding: a computed 822.857 must ship as 823, or renderers stretch it silently
  • Mixing decimal and ratio forms: using 1.78 as the divisor drifts about 0.12% from the exact 16 ÷ 9 = 1.7778
  • Assuming marketing names are exact: "21:9" panels are really 43:18 (≈2.3889), so 2560 ÷ 43 × 18 = 1071, not 1080

When you need the ratio itself from two known dimensions — reduced to its smallest pair, with diagonal and pixel density included — the Aspect Ratio Calculator runs the reverse direction, and the Screen Resolution Calculator adds the physical-size layer.

Frequently asked questions

What height matches 1920 px at 16:9?

1080 px. The scale factor is 1920 ÷ 16 = 120, and 120 × 9 = 1080. This is the classic 1920 × 1080 HD frame.

How do I find the width from a known height?

Multiply the height by the ratio width and divide by the ratio height. For 16:9 at 1080 tall: 1080 × 16 ÷ 9 = 1920 px wide.

Why does the height come out rounded?

Pixels are whole units. A 21:9 frame at 1920 wide computes to 822.857, which the tool rounds to 823 — a one-pixel compromise that every real renderer also makes.

What is the decimal form of 16:9?

16 ÷ 9 ≈ 1.7778, displayed as 1.78 after rounding. The decimal is what CSS aspect-ratio properties and quick layout math use.

Can I use ratios other than 16:9?

Yes. Any two positive numbers work, including non-integers. Common pairs are 16:9, 16:10, 4:3, 3:2 and 1:1, each producing a different height at the same target width.

Why is 21:9 not exactly 21:9?

Marketing name aside, ultrawide panels are 43:18 ≈ 2.3889. At 2560 px wide the true height is 2560 ÷ 43 × 18 ≈ 1071, which is why 2560 × 1080 is the shipped resolution.

How much of a 4:3 photo is lost when cropping to 16:9?

25% of the height. A 4:3 image at 1600 × 1200 cropped to 16:9 keeps 1600 × 900, discarding 300 pixels of height — letterboxing preserves it all instead.

Does rounding break the ratio?

By at most half a pixel. The rounding error is never more than 0.5 px on the height, which is invisible in practice; stretching to force an exact match is far more visible than the rounding.

What width gives exactly 1080 at 16:9 without rounding?

Any multiple of 16: 1920, 2560, 3840. Widths divisible by 16 produce whole-number heights because 1080 × 16 ÷ 9 = 1920 exactly, and every multiple of that frame inherits the property.

Method and sources

Calculation basis

Conversions and formats follow the relevant IETF RFCs and IEEE standards, including RFC 4648 for Base64 and RFC 791 for IPv4 addressing.

Last updated: November 18, 2026
Formula & data sources
  • Aspect ratio: height = width × ratio height / ratio width.

Cite this page

Reference formats
APA 7CalcSeed. (2026, November 18). Aspect Ratio Resize Calculator. https://calcseed.com/c/developer/aspect-ratio-resize-calculator/
MLA 9"Aspect Ratio Resize Calculator." CalcSeed, 18 Nov. 2026, calcseed.com/c/developer/aspect-ratio-resize-calculator/.
ChicagoCalcSeed. "Aspect Ratio Resize Calculator." Last modified November 18, 2026. https://calcseed.com/c/developer/aspect-ratio-resize-calculator/

Related calculators