Skip to content

Screen size guide

iPhone Screen Size: Pixels, CSS Viewports and DPR

iPhone screen size depends on the model and whether you mean native pixels or CSS viewport. Compare current native resolutions, DPR behavior, and aspect-ratio checks.

Last checked: 2026-05-03

Source confidence: Official Last checked: 2026-05-03 Source: Apple: compare iPhone models Specs may change; verify before final production. Found a spec change? Send correction.

How we calculate this

Methodology and source handling

We calculate pixel dimensions from the visible size values, aspect ratios, DPI/PPI formulas, and source notes on this page.

Quick answer

Copy-ready answer

Recent iPhone native resolutions range from 1170 x 2532 px class devices to 1320 x 2868 px on iPhone 17 Pro Max. Use CSS viewport values for web layout and native pixels for screenshots or export sharpness.

iPhone Screen Size: Pixels, CSS Viewports and DPR

Dimensions and specs

Example native pixels 1,320 x 2,868 px
Aspect ratio 110:239
Design check Native pixels, CSS pixels, DPR
Recommended PPI Use device DPR for web; use native pixels for screenshots

Formula

How to calculate this size

Target canvas1,320 x 2,868 px

Export at the recommended pixel canvas before upload or handoff.

Aspect ratio110:239

Reduce width and height by their greatest common divisor.

Resize rulematch the target ratio before export

Use fit for no crop, fill or center crop for exact coverage, or pad when borders are acceptable.

Export checklist

Before you upload

Native pixels

Use native resolution for screenshots, video frames, and image sharpness checks.

CSS viewport

Use CSS pixels for responsive layout breakpoints and browser QA.

DPR and scaling

Check device pixel ratio, zoom, browser chrome, and OS display scaling before judging layout.

Common mistakes

Avoid these screen-size mistakes

Using native pixels as CSS viewport

A display can have thousands of hardware pixels while the browser exposes a much smaller CSS viewport.

Ignoring DPR or display scaling

Retina, HiDPI, browser zoom, and OS scaling change how many physical pixels map to one CSS pixel.

Checking only one orientation

Phone and tablet screenshots, app previews, and responsive layouts can change sharply between portrait and landscape.

Calculator

Check aspect ratio and screen pixels

Use the prefilled target, swap orientation if needed, and copy the reduced ratio before preparing screenshots or previews.

Workflow

How to read screen size

TermUse it for
Native pixels Asset sharpness, screenshots, video frames, and hardware comparison.
CSS pixels Responsive layout breakpoints and browser previews.
Device pixel ratio How many physical pixels the browser uses for one CSS pixel.
Safe preview Check real devices or simulators because browser chrome, zoom, and OS scaling change the usable area.

Specs

iPhone screen examples

Device or classNative pixelsNotes
iPhone 17 Pro Max 1320 x 2868 px portrait Apple lists 2868-by-1320 resolution at 460 ppi.
iPhone 17 Pro / iPhone 17 1206 x 2622 px portrait Apple lists 2622-by-1206 resolution at 460 ppi.
iPhone Air 1260 x 2736 px portrait Apple lists 2736-by-1260 resolution at 460 ppi.
iPhone 17e / 16e class 1170 x 2532 px portrait Apple lists 2532-by-1170 resolution at 460 ppi.

Checklist

Preview and export notes

CheckAction
Portrait and landscape Swap width and height before judging aspect ratio or screenshot crops.
Retina or HiDPI Export images at enough source pixels for the display density.
Browser UI Do not treat full native pixels as the CSS viewport available to a web page.

Related

Related pages and tools

Same branch

Nearby pages

FAQ

Common questions

Is iphone screen size the same as CSS viewport size?

No. Native pixels describe the display hardware. CSS viewport size depends on browser, zoom, orientation, operating-system scaling, and device pixel ratio.

Which value should designers use?

Use CSS viewport values for layout breakpoints and native pixels for screenshots, exports, and image sharpness checks.

What aspect ratio is the example iphone size?

The example native pixel size on this page reduces to 110:239.

References

Sources and references

Screen-size guidance uses official manufacturer specifications for native pixels and MDN for browser device-pixel-ratio behavior.

Last checked: 2026-05-03