html2apk Get the app

Android viewport sizes and breakpoints

What width does your HTML actually get on an Android phone? The common size classes, your own device's numbers, and media queries that cover them.

FreeRuns in your browserNothing uploaded

This device

Open this page on your Android phone to see its numbers.

Common Android widths (portrait, CSS px)

Media query generator

What it does

Most Android phones lay out web content at 360 to 412 CSS pixels wide in portrait — 360px is the single most common width, and large phones such as Pixel and Galaxy S Ultra models are around 384–412px. Foldable cover screens can be as narrow as 344px, and tablets start around 600px. Design for 320–430px and test at 360 and 412.

CSS pixels and device pixel ratio

A phone's screen might be 1080 or 1440 physical pixels wide, but the browser divides by its device pixel ratio (DPR) — typically 2.6 to 3.5 on Android — so pages lay out at about 360–412 CSS pixels. Media queries, your layout and the WebView in your app all use CSS pixels. Many phones also let users change "display size", which changes the CSS width.

Size classes worth designing for

Width (CSS px)Typical devicesDesign note
320–359Small or older phones, display size set to largeMust not scroll sideways
360The most common Android widthPrimary design target
384–430Large phonesUse extra width for spacing, not more columns
344 (tall)Foldable cover screensVery narrow and tall — test it
600–840Small tablets, unfolded foldablesTwo-column layouts start here
800+TabletsConstrain line length

These breakpoints follow Android's window size classes (compact under 600, medium 600–840, expanded 840+). Preview any size with the phone frame preview.

Frequently asked questions

What is the most common Android screen width for web design?

360 CSS pixels in portrait. Design at 360 and check 320 and 412.

Should my HTML app support landscape?

Games and slides often lock orientation in the builder. For other apps, make sure nothing breaks on short landscape screens around 360px tall.

Turn your HTML into an APK today

Install the free builder on your Android phone, add your HTML file, ZIP or website, and install a signed APK a few minutes later. No watermark, no card.