Viewport sizes for iPhone, Android, iPad and laptops (2026)

CSS viewport widths, heights and device pixel ratios of current iPhones, Android phones, foldables, tablets and laptops, in one table.

A viewport size is the width and height a device gives a web page, in CSS pixels. It is not the screen's resolution: an iPhone 17 Pro has a 1206 × 2622 pixel panel, but a page sees 402 × 874, because each CSS pixel is drawn with 3 × 3 physical pixels. That factor is the device pixel ratio (DPR).

The tables below come from Panescope's device library, which we keep for the extension. Sizes are in portrait for phones and tablets and in landscape for laptops. Sources: Apple's published logical resolutions, Chrome DevTools' emulated devices and measured viewport data.

iPhone

DeviceViewport (CSS px)DPR
iPhone 17 Pro Max440 × 9563
iPhone Air420 × 9123
iPhone 17 Pro402 × 8743
iPhone 17402 × 8743
iPhone 16 Pro Max440 × 9563
iPhone 16 Plus430 × 9323
iPhone 16393 × 8523
iPhone 16e390 × 8443
iPhone 15 Pro Max430 × 9323
iPhone 15 / 15 Pro393 × 8523
iPhone 14390 × 8443
iPhone 13 mini375 × 8123
iPhone SE (3rd gen)375 × 6672

Android phones

DeviceViewport (CSS px)DPR
Pixel 10412 × 9242.625
Pixel 9 Pro XL448 × 9973
Pixel 9 Pro427 × 9523
Pixel 9412 × 9242.625
Pixel 8412 × 9152.625
Galaxy S25 Ultra384 × 8322.8125
Galaxy S25360 × 7803
Galaxy S24360 × 7803
Galaxy A55384 × 8322.8125
Generic Android360 × 8003

Foldables

DeviceViewport (CSS px)DPR
Galaxy Z Fold 6, folded369 × 9052.625
Galaxy Z Fold 6, unfolded707 × 8232.625
Pixel 9 Pro Fold, folded412 × 9222.625
Pixel 9 Pro Fold, unfolded791 × 8202.625
Galaxy Z Flip 6360 × 8803

Tablets

DeviceViewport (CSS px)DPR
iPad mini (A17 Pro)744 × 11332
iPad (A16)820 × 11802
iPad Air 11-inch (M3)820 × 11802
iPad Pro 11-inch (M4)834 × 12102
iPad Air 13-inch (M3)1024 × 13662
iPad Pro 13-inch (M4)1032 × 13762
Galaxy Tab S9800 × 12802
Surface Pro 7912 × 13682

Laptops and desktops

DeviceViewport (CSS px)DPR
Laptop HD1280 × 7201
Laptop1366 × 7681
Desktop1440 × 9001
MacBook Air 13 (M4)1470 × 9562
MacBook Pro 141512 × 9822
Windows laptop, 1080p at 125%1536 × 8641.25
MacBook Air 15 (M4)1710 × 11122
MacBook Pro 161728 × 11172
Full HD1920 × 10801
QHD2560 × 14401

What to do with these numbers

  • Design breakpoints around your content, not around devices; then check the devices that sit just above and below each breakpoint.
  • Always test 360 px wide: it is still the narrowest common phone, and the most likely to overflow.
  • Serve images for the DPR: a 400 px wide image slot on a DPR 3 phone needs a 1200 px image to look sharp.

Panescope includes all of these devices (and custom ones you add), each with its size, DPR and user agent, so you can open several at once. See how to test on multiple devices at once.

Try it on your own site

Panescope is free for up to 3 screens. Pro for 3 days, no card needed.

Add to Chrome

Test every screen before your users do.

Free to start. Pro for 3 days without a card.