Skip to content
1440px

9:18 Aspect Ratio

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

Tall phone (2:1) · portrait
9:18 = 0.5

Smallest whole-pixel size 1 × 2. In CSS: aspect-ratio: 9 / 18. Rotated it becomes 2:1.

Where 9:18 is used

Phones from around 2017 — the first generation of "tall" screens.

The 2:1 phone screen arrived when bezels shrank and the home button disappeared.

9:18

Rendered live with aspect-ratio: 9 / 18.

9:18 resolutions

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

Exact 9:18 pixel dimensions
ResolutionWidthHeightMegapixelsStandard
320 × 6403206400.2
480 × 9604809600.46
640 × 128064012800.82
720 × 144072014401.04
800 × 160080016001.28
960 × 192096019201.84
1080 × 2160108021602.33
1200 × 2400120024002.88
1280 × 2560128025603.28
1440 × 2880144028804.15
1600 × 3200160032005.12
1920 × 3840192038407.37
2048 × 4096204840968.39
2560 × 51202560512013.11
3200 × 64003200640020.48
3840 × 76803840768029.49
5120 × 1024051201024052.43

Using 9:18 in CSS

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

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

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

Questions about 9:18

What resolution is 9:18?

9:18 is a ratio, not a fixed resolution — any size where width ÷ height equals 0.5 qualifies. The smallest whole-pixel pair is 1 × 2, and common ones include 640 × 1280, 720 × 1440, 800 × 1600, 960 × 1920.

What is 9:18 used for?

Phones from around 2017 — the first generation of "tall" screens.

How do I set 9:18 in CSS?

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

What is 9:18 the other way round?

Rotated to landscape it becomes 2:1 — the same shape, turned 90 degrees.

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

Multiply the width by 2. For example 1080 × 2 = 2160. 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.