Skip to content
1440px

21:9 Aspect Ratio

Exact 21:9 resolutions, the CSS you need, and where the ratio actually shows up.

Ultrawide · landscape
21:9 = 2.3333

Smallest whole-pixel size 7 × 3. In CSS: aspect-ratio: 21 / 9. Rotated it becomes 9:21.

Where 21:9 is used

Ultrawide gaming and productivity monitors — 2560×1080 and 3440×1440.

A marketing name rather than a true ratio: 3440×1440 is actually 43:18. It approximates cinema scope on a desktop panel.

21:9

Rendered live with aspect-ratio: 21 / 9.

21:9 resolutions

Every size below is exactly 21:9 — no rounding. Sizes marked as a standard are named display resolutions.

Exact 21:9 pixel dimensions
ResolutionWidthHeightMegapixelsStandard
161 × 69161690.01
168 × 72168720.01
175 × 75175750.01
182 × 78182780.01
189 × 81189810.02
196 × 84196840.02
203 × 87203870.02
210 × 90210900.02
217 × 93217930.02
224 × 96224960.02
231 × 99231990.02
238 × 1022381020.02
245 × 1052451050.03
252 × 1082521080.03
259 × 1112591110.03
266 × 1142661140.03
273 × 1172731170.03
280 × 1202801200.03
287 × 1232871230.04
294 × 1262941260.04
301 × 1293011290.04
308 × 1323081320.04
315 × 1353151350.04
322 × 1383221380.04
329 × 1413291410.05
336 × 1443361440.05
343 × 1473431470.05
350 × 1503501500.05
357 × 1533571530.05
364 × 1563641560.06
371 × 1593711590.06
378 × 1623781620.06
385 × 1653851650.06
392 × 1683921680.07
399 × 1713991710.07
406 × 1744061740.07
413 × 1774131770.07
420 × 1804201800.08

Using 21:9 in CSS

CSS
/* Modern — one line */
.box { aspect-ratio: 21 / 9; }

/* With a fixed width */
.box { width: 100%; max-width: 280px; aspect-ratio: 21 / 9; }

/* Legacy padding-top hack, if you still need it */
.box-legacy { position: relative; }
.box-legacy::before { content: ""; display: block; padding-top: 42.8571%; }
.box-legacy > * { position: absolute; inset: 0; }

Questions about 21:9

What resolution is 21:9?

21:9 is a ratio, not a fixed resolution — any size where width ÷ height equals 2.3333 qualifies. The smallest whole-pixel pair is 7 × 3, and common ones include .

What is 21:9 used for?

Ultrawide gaming and productivity monitors — 2560×1080 and 3440×1440.

How do I set 21:9 in CSS?

Use the aspect-ratio property: aspect-ratio: 21 / 9;. The element then keeps that shape at any width. It is supported in every current browser.

What is 21:9 the other way round?

Rotated to portrait it becomes 9:21 — the same shape, turned 90 degrees.

How do I calculate a 21:9 height from a width?

Multiply the width by 0.428571. For example width × ratio = height. The calculator does it both directions.

Other aspect ratios

All resolutions on this page are computed directly from the ratio, so every pair is exact. See methodology.