iPhone 14 vs Galaxy A54: screen size and viewport
The iPhone 14 lays web pages out at 390 × 844 CSS px with a pixel ratio of 3; the Galaxy A54 at 384 × 832 with 2.813. The iPhone 14 is 6 px wider and 12 px taller.
The two screens side by side
Specs compared
| Spec | iPhone 14 | Galaxy A54 | Difference |
|---|---|---|---|
| Viewport, portrait (CSS px) | 390 × 844 | 384 × 832 | +6 px wide, +12 px tall |
| Device pixel ratio | 3 | 2.813 | +0.188 for the iPhone 14 |
| Physical resolution | 1170 × 2532 | 1080 × 2340 | iPhone 14: 17% more pixels |
| Aspect ratio | 19.5:9 | 19.5:9 | about the same |
| Visible height, portrait, with browser bars | ~667 px | ~736 px | −69 px for the iPhone 14 |
| Landscape width (CSS px) | 844 px | 832 px | +12 px for the iPhone 14 |
| Visible height, landscape | ~340 px | ~304 px | +36 px for the iPhone 14 |
| First released | 2020 | 2024 | 4 years apart |
| Engine in MobileCheck | WebKit (Safari) | Chromium (Chrome) | different engines |
CSS px are the units media queries see. Visible heights subtract the status bar and the Safari on iOS and Chrome on Android bars as set in our device profiles; real bar heights vary with settings and scrolling. The release year is that of the first model with each screen.
What this means for your layout
How the width difference affects your layout
The iPhone 14 is 6 CSS px wider (390 vs 384, 2% more). One common breakpoint falls between them: (min-width: 390px) (a common phone test width) matches the iPhone 14 but not the Galaxy A54, so a rule written for that width applies on only one of the two.
In a 2-column card grid with 16 px page padding and 16 px gaps, each card is 171 px wide on the iPhone 14 and 168 px on the Galaxy A54. Check that buttons, prices and long words still fit in the narrower one.
Pixel density and image sizes
The iPhone 14 has the denser screen: 3× against 2.813×. A full-width image (sizes="100vw") needs about 1170 px on the iPhone 14 and 1080 px on the Galaxy A54 to look sharp.
With a srcset such as 640w, 828w, 1080w, 1290w, 1440w, 1640w, 2048w, the browser would normally pick the 1290w file on the iPhone 14 and the 1080w file on the Galaxy A54. Leave out the 1290w candidate and the iPhone 14 upscales a smaller file.
The Galaxy A54's ratio of 2.813 is fractional: one CSS pixel isn't a whole number of device pixels, so 1 px borders and hairlines can be rounded unevenly. Check thin lines on that screen rather than assuming they match.
How much fits above the fold
On first load about 736 px of the page is visible on the Galaxy A54 and 667 px on the iPhone 14: 69 px less (10%) on the iPhone 14, roughly 2 lines of 16 px body text at a 1.5 line height. The Galaxy A54 has the shorter screen but shows more, because its bars take less room (96 vs 177 px).
If your main button sits just above the fold on the Galaxy A54, it can end up below it on the iPhone 14. Keep the headline and the main action within the first 667 px, and size full-screen sections with 100svh rather than 100vh — see the 100vh problem on mobile.
In landscape
Turned sideways, the iPhone 14 is 844 px wide and the Galaxy A54 832 px; (min-width: 840px) matches only the iPhone 14 in landscape. The visible height drops to about 340 and 304 px, so a 64 px sticky header covers 19% and 21% of the screen — under the 25% at which MobileCheck flags fixed bars covering the page.
Different browser engines
The iPhone 14 renders with WebKit (Safari's engine) and the Galaxy A54 with Chromium (Chrome's), so fonts, form controls and some CSS can differ on top of the size difference. Chrome DevTools draws every emulated device with Chromium, which hides WebKit-only problems — see how to test on an iPhone and on Android.
More about these devices
- iPhone 14 viewport size — one screen for the iPhone 12 / 13 / 14 / 16e
- Galaxy A54 viewport size — one screen for the Samsung Galaxy S24 / S25 Ultra / A15 / A54 / A55
Or open the free check with the iPhone 14 and the Galaxy A54 preselected: full-page screenshots in WebKit and Chromium, with problems such as small text and crowded buttons highlighted.
Related comparisons
- iPhone 16 Pro vs Galaxy S24 Ultra — 402 vs 384 px wide, 3× vs 2.813×
- iPhone 16 Pro Max vs Galaxy S24 Ultra — 440 vs 384 px wide, 3× vs 2.813×
- iPhone 15 Pro Max vs Galaxy S24 Ultra — 430 vs 384 px wide, 3× vs 2.813×
- iPhone SE vs Galaxy A15 — 375 vs 384 px wide, 2× vs 2.813×
- iPhone 14 vs iPhone 15 — 390 vs 393 px wide, 3× vs 3×
- iPhone 14 vs iPhone 14 Plus — 390 vs 428 px wide, 3× vs 3×
Compare other devices → · All mobile viewport sizes →
Frequently asked questions
Is the iPhone 14 screen bigger than the Galaxy A54?
In CSS pixels, which decide how much of a page fits, the iPhone 14 is larger: 390 × 844 against 384 × 832. The iPhone 14 has more physical pixels (1170 × 2532), which makes it sharper rather than roomier.
Do I need different CSS for the iPhone 14 and the Galaxy A54?
Only if your breakpoints fall between 384 and 390 px: a min-width query at 390px applies to one and not the other. A fluid layout handles both without device-specific rules.
How much of a web page is visible on the iPhone 14 vs the Galaxy A54?
About 390 × 667 CSS px on the iPhone 14 and 384 × 736 on the Galaxy A54 when a page first opens in portrait, after the status bar and the browser's bars. Bar heights are our device profiles' estimates.