Samsung Galaxy S23 & S24 Ultra viewport size
Samsung Galaxy S23 / S24 Ultra (2023) lays web pages out at 384 × 824 CSS pixels with a pixel ratio of 3.75.
Browser bars and the visible area
The viewport height is the whole screen, but Chrome on Android keeps part of it for its own interface. In portrait about 80 px at the top (status bar and address bar) and 16 px at the bottom (navigation bar) are covered, leaving roughly 384 × 728 CSS px for the page when it first opens. In landscape the bars take about 80 px.
That is why 100vh can be taller than what people see. Use 100svh for the smallest visible height, 100dvh for the current one, and keep the most important content and buttons within the first 728 px.
Media queries that match the Samsung Galaxy S23 & S24 Ultra
/* Samsung Galaxy S23 / S24 Ultra, portrait */
@media (max-width: 384px) and (orientation: portrait) { … }
/* high-density screen (3.75×) */
@media (min-resolution: 3dppx) { … }
Rather than targeting one device, write fluid styles and add breakpoints where your layout needs them — the same CSS then works on the hundreds of models with similar sizes.
Testing on the Samsung Galaxy S23 & S24 Ultra
Android phones render with Chromium, the engine behind Chrome. Pixel ratios like 3.75 mean thin borders and small images can look blurry or uneven — check them at the real ratio. See how to test a website on Android.
The Samsung Galaxy S23 / S24 Ultra is one of the 51 devices in the free check, and you can tap around your site on it in the phone window.
Similar phones
- Xiaomi Redmi Note 11 / 12 / 13 — 393 × 873, 2.75× (2022)
- Xiaomi 13 / 14 — 393 × 851, 2.75× (2022)
- Google Pixel 4a / 5 — 393 × 851, 2.75× (2020)
- Xiaomi Redmi Note 8 / 9 — 393 × 851, 2.75× (2019)
- Google Pixel 3 — 393 × 786, 2.75× (2018)
Frequently asked questions
What is the Samsung Galaxy S23 & S24 Ultra viewport size?
384 × 824 CSS pixels in portrait and 824 × 384 in landscape, with a device pixel ratio of 3.75.
What is the Samsung Galaxy S23 & S24 Ultra screen resolution?
1440 × 3090 physical pixels (the CSS viewport multiplied by the pixel ratio of 3.75).
How much of the screen does the browser take on the Samsung Galaxy S23 & S24 Ultra?
About 80 px at the top and 16 px at the bottom in portrait with Chrome on Android, so roughly 728 CSS px of the page is visible when it first opens.