Device Screen Size Database

The Device Screen Size Database gives you the resolution, diagonal size, PPI, and aspect ratio for dozens of real phones, tablets, laptops, and monitors in one searchable table. Type a device name into Search devices, or narrow the list with the Filter by device type dropdown, and you'll get exact width and height in pixels alongside the physical screen diagonal so you can compare devices side by side without hunting through spec sheets. The pixel ruler works out the exact figure live as you type, with the formula shown alongside the result.

Screen Size Database

DeviceResolutionDiagonalPPIAspect Ratio
iPhone 15 Pro Max1290×27966.7″460 PPI19.5:9
iPhone 151179×25566.1″460 PPI19.5:9
iPhone SE (3rd gen)750×13344.7″326 PPI16:9
Samsung Galaxy S24 Ultra1440×30886.8″501 PPI19.3:9
Samsung Galaxy S241080×23406.2″416 PPI19.5:9
Samsung Galaxy A541080×23406.4″403 PPI19.5:9
Google Pixel 8 Pro1344×29926.7″489 PPI19.8:9
Google Pixel 81080×24006.2″428 PPI20:9
OnePlus 121440×31686.82″510 PPI19.8:9
Xiaomi 141200×26706.36″460 PPI19.5:9
iPhone 12 mini1080×23405.4″476 PPI19.5:9
Budget Android (720p class)720×16006.5″270 PPI20:9
iPad Pro 12.9" (M4)2064×275212.9″264 PPI4:3
iPad Pro 11" (M4)1668×242011″264 PPI4:3
iPad Air (5th gen)1640×236010.9″264 PPI4:3
iPad (10th gen)1640×236010.9″264 PPI4:3
Samsung Galaxy Tab S91600×256011″274 PPI16:10
Samsung Galaxy Tab S9 Ultra1848×296014.6″240 PPI16:10
Amazon Fire HD 101200×192010.1″224 PPI16:10
Microsoft Surface Pro 91440×192013″267 PPI3:2
MacBook Air 13" (M2/M3)1470×95613.6″224 PPI3:2
MacBook Pro 14" (M3)1512×98214.2″254 PPI3:2
MacBook Pro 16" (M3)1728×111716.2″254 PPI3:2
Dell XPS 131920×120013.4″169 PPI16:10
Dell XPS 151920×120015.6″141 PPI16:10
Lenovo ThinkPad X1 Carbon1920×120014″161 PPI16:10
HP Spectre x360 141920×128013.5″173 PPI3:2
Budget Windows Laptop (1080p 15.6")1920×108015.6″141 PPI16:9
Framework Laptop 132256×150413.5″201 PPI3:2
Chromebook (1366×768 class)1366×76811.6″135 PPI16:9
Standard 24" 1080p Monitor1920×108024″92 PPI16:9
27" 1440p Gaming Monitor2560×144027″109 PPI16:9
27" 4K Monitor3840×216027″163 PPI16:9
34" Ultrawide 1440p Monitor3440×144034″110 PPI21:9
Apple Studio Display5120×288027″218 PPI16:9

Every time you design a responsive layout, write a media query, or plan a test suite, you're making a bet about which screens your users actually own — and getting that bet wrong means broken layouts, cropped images, and lost conversions. The Device Screen Size Database gives you verified display specs, pixel densities, scale factors, and CSS coordinate dimensions for hundreds of devices in one searchable place, so every decision you make about CSS thresholds, image assets, and window handling is grounded in real data rather than guesswork. Whether you're a frontend developer optimising a product grid for ui design, a designer validating touch targets for ux design, or a QA engineer planning cross-device test coverage, the display stats and device stats here tell you exactly which screen sizes matter most for your audience.

Complete Device Screen Size Database: Resolution, PPI & Display Specifications by Device

The table below covers the most widely deployed handsets, slabs, monitors, and portable computers worldwide. Every entry shows the rank by global usage share, the native pixel count (hardware pixels), the CSS coordinate space (the window dimensions the OS and browser use), the diagonal screen diagonal in inches, PPI, scale factor, width-to-height ratio, and typical usage orientation. Results are estimates for general information only — real-world share figures vary by region, year, and data source. Use the resolution simulator any time you want to compare entries side by side.

Common Screen Resolutions Worldwide in 2026 and Their Pixel Densities

Online traffic data consistently shows that no single dimension dominates. Screen fragmentation means your page structure must be resilient across dozens of window dimensions simultaneously. The entries below represent the highest-traffic categories based on aggregated browser statistics and worldwide screen usage data from multiple analytics providers. Popularity data is grouped into three bands: High (more than 3% of worldwide popularity), Medium (1–3%), and Low (under 1%).

RankDevice / OSPhysical ResolutionLogical ResolutionPhysical Size (in)PPIScale FactorAspect RatioOrientationPopularity
1Android (generic mid-range)1080×2400360×8006.54053× (xxhdpi)20:9PortraitHigh
2Windows desktop / laptop1920×10801920×108024.0921× (mdpi)16:9LandscapeHigh
3Budget laptop / legacy monitor1366×7681366×76815.61001× (mdpi)16:9LandscapeHigh
4iPhone 14 / 15 (iOS)1170×2532390×8446.14603× (@3x)19.5:9PortraitHigh
5iPhone 15 Pro / 16 Pro (iOS)1179×2556393×8526.14603× (@3x)19.5:9PortraitHigh
6Android (large flagship)1440×3200360×8006.75254× (xxxhdpi)20:9PortraitMedium
7Samsung Galaxy S (premium android)1440×3088360×7706.84964× (xxxhdpi)19.3:9PortraitMedium
8iPad (iOS tablet)2048×1536768×10249.72642× (@2x)4:3BothMedium
9Android tablet1280×8001280×80010.11491× (mdpi)16:10BothMedium
10QHD desktop / gaming monitor2560×14402560×144027.01091× (mdpi)16:9LandscapeMedium
11Mid-range monitor / laptop1440×9001440×90013.31281× (mdpi)16:10LandscapeMedium
12iPhone SE / older iOS640×1136320×5684.03262× (@2x)16:9PortraitLow
13Android entry-level (360×800)720×1600360×8006.52702× (xhdpi)20:9PortraitHigh
14iPhone Plus / Max (414×896)828×1792414×8966.13262× (@2x)19.5:9PortraitMedium
154K / 5K panel (retina 4k / retina 5k)3840×2160 / 5120×28801920×108027.0163–2182× (xhdpi)16:9LandscapeLow

Mobile vs Tablet vs Desktop: Aspect Ratio and Screen Size Comparison

Screen size means something different depending on the device type. On mobile devices, the dominant proportions are tall and narrow portrait-mode designs with ratios around 20:9 and similar elongated formats. Popular handsets like the Samsung Galaxy S series and Google Pixel series sit between 6.1 and 6.9 inches diagonally, with native pixel counts ranging from 1080×2400 on mid-range Android phones to higher-density flagship panels. Slate panels — particularly the iPad at 768×1024 CSS pixels and Android slabs at a similar traditional ratio — favour the classic width-to-height proportion of roughly 4:3, though wide-format devices increasingly use 16:10. PC monitors and portable computers cluster around widescreen proportions with Full HD at 1920×1080 (1080p) and older screens at 1366×768, while mid-range screens step up to 1440p and creative workstations reach ultra-high-density panel territory.

Device CategoryTypical Logical Width RangeCommon Aspect RatiosScale Factor RangeTypical Orientation
Mobile (Android)320–480 dp9:16, 20:9, 19.5:92× (xhdpi) – 4× (xxxhdpi)Portrait
Mobile (iOS)375–430 logical points19.5:9, 9:162× (@2x) – 3× (@3x)Portrait
Tablet601–1024 dp4:3, 16:10, 3:21× (mdpi) – 2× (xhdpi)Both
Laptop / Desktop1024–2560 px16:9, 16:10, 8:51× (mdpi) – 2× (xhdpi)Landscape
Large / 4K Monitors1920–5120 px16:9, 21:91× (mdpi) – 2× (xhdpi)Landscape

Key Display Metrics Explained: PPI, Pixel Density, and Logical Resolution

Native pixel count is the raw count of screen dots — width × height in actual device pixels on the panel. CSS coordinate space (also called points on iOS, or dp/dip on Android) is the window space that your CSS, Swift, or Kotlin code sees. The scale factor (also called device pixel ratio or pixel ratio) is the multiplier between the two. A 3× Apple handset with native pixel dimensions of 1170×2532 presents a display resolution of 390×844 to your code — identical to how a lower-density device would behave, ensuring density-independent page structure across the entire device fleet.

PPI (pixels per inch, sometimes written px per inch) is calculated from the native pixel count and the diagonal screen size in inches:

$$\text{PPI} = \frac{\sqrt{w_{px}^{2} + h_{px}^{2}}}{d_{\text{in}}}$$

where \(w_{px}\) is width px, \(h_{px}\) is height px, and \(d_{\text{in}}\) is the diagonal in inches. Screens above approximately 300 ppi are typically classified as retina display quality — individual pixels fall below the human eye threshold at normal viewing distances. Modern flagship handsets reach 416 ppi (Samsung Galaxy S24) or 505 ppi (Galaxy S24 Ultra), delivering noticeably sharper text and sharper images than older 250–300 ppi panels.

Android groups devices into density tiers: 100% mdpi (baseline, ~160 dpi), 150% hdpi (~240 dpi), 200% xhdpi (~320 dpi), 300% high-density (~480 dpi), and a fourth tier for ultra-high-density panels (~640 dpi) for the most pixel-dense screens. iOS uses @1x, @2x, and @3x as its scale multipliers, corresponding to retina screens and super retina panels respectively.

Screen Resolution Stats Reference in the Device Screen Size Database by Platform

Understanding which dimensions and device types your audience actually uses requires going beyond a static device list — you need to know the screen resolution stats split across platform, region, and year. This reference aggregates popularity data drawn from browser statistics, page views, and monthly page views reported by multiple global data providers, making it a practical guide for mobile development teams prioritising their design and verification effort. Check the explore a mobile viewport sizes rather than relying on guesswork or an outdated spec page.

Desktop vs Mobile vs Tablet: Resolution Comparison by Platform Stats

The handset vs PC split in site visits has shifted dramatically over the past decade. Today, handheld traffic accounts for over 55% of global online visits by page views in most worldwide region stats, while PC traffic holds roughly 42–44% and slab traffic has settled at 2–3% according to cross-platform figures. This platform-level breakdown shapes which dimensions deserve the most verification coverage in your release cycle.

  • PC screen dimensions: 1920×1080 (Full HD) is the single most common PC screen dimension worldwide, covering roughly 25% of PC screen usage. 1366×768 still appears on a significant share of entry-level portables and older screens. A 2560×1440 panel is growing fast on gaming monitors and mid-range screens. Ultra-wide and high-density panels are growing in popularity among creative teams and power users.
  • Handheld screen dimensions: 360×800 CSS pixels (at various native pixel counts) is the most common handheld screen dimension worldwide. 390×844, 414×896, and 393×852 points cover the bulk of current-generation Apple handset traffic. Android phones range from 320×480 (legacy) to high-density flagships at larger native pixel counts.
  • Slab screen dimensions: iPad at 768×1024 CSS pixels remains the dominant slab screen dimension globally. Android slabs typically present at 800–1280 CSS pixels wide, with popular devices like the Amazon Fire HD and Samsung Galaxy Tab covering a broad range of native pixel counts.

Market Share by Operating System: Android, iOS, and Windows

OS market share context is critical for interpreting dimension data correctly. Android holds the largest global handset OS share — over 70% in most worldwide region stats — but its open ecosystem creates extreme device fragmentation across hundreds of screen dimensions and density tiers. Apple's mobile platform controls roughly 27–28% of the handset OS market share but is far less fragmented: the current generation (iPhone 14, iPhone 15, and iPhone 16 series) plus the previous two generations account for the vast majority of active Apple handsets. Windows powers most PC screens, with Chrome OS holding a modest share in education markets. BlackBerry OS is effectively legacy; its entries remain in the database for completeness but carry near-zero traffic weight in modern data analysis.

Filtering Resolution Stats by Region and Year

Screen resolution stats are not static. As flagship devices trickle down to mid-range price points, native pixel counts like 1080×2400 grow in market share while older 720×1280 panels recede. This tool lets you view figures filtered by region (global, North America, Europe, Asia, and more), by year, and by platform. This statistic period flexibility is essential when your product serves geographically concentrated audiences. A developer targeting South Asian Android users will find that hdpi and high-density tiers still carry significant weight in their usage data, even as premium markets have moved almost entirely to higher density tiers. Tracking these shifts year-over-year using the view by year control helps your process stay ahead of the curve rather than optimising for the screen sizes of three years ago. Worldwide trends indicate an ongoing shift toward taller proportions on handheld screens and higher-resolution panels on PC — plan your responsive layout thresholds accordingly.

How This Screen Resolution Stats Reference Is Built and What Each Metric Means

This free tool is a browser-based utility — the complete device data is embedded in the page as local JavaScript, so every search, filter, and sort by metric operation runs instantly with no server requests and no data sent to any external system. You get offline access after the initial page load, which makes it a genuinely handy reference for use in low-connectivity environments like conference halls or client offices. Device lookup results are compiled from manufacturer panel specs, cross-referenced against screen stats from multiple data providers, and updated with each current generation of flagship devices. The database covers popular handsets, slabs, monitors, and portable computers across Android, iOS, Windows, and Chrome OS platforms, including detail entries for every major handset from Apple, Samsung, Google Pixel, OnePlus, Xiaomi, and more.

Understanding Scale Factors: From Physical Pixels to Device-Independent Pixels

The key concept that makes cross-device design tractable is the separation of screen dots (the actual pixels counted by the panel) from device-independent units (the coordinate space used by your CSS, Swift UI, or Android page engine). A device-independent-pixel — written as dp or dip in Android terminology — has a fixed physical size regardless of screen density, so a button specified at 44 dp appears roughly the same physical size on a 100 mdpi monitor as on a high-density phone. This is the core principle behind a solid responsive layout in mobile development.

Here is a worked example for the Apple handset released in 2022:

  1. Native pixel count: 1170 × 2532 screen dots (actual pixels on the panel)
  2. Multiplier: @3x (super retina — 3 screen dots per CSS point in each axis)
  3. CSS window size: \(\frac{1170}{3} \times \frac{2532}{3} = 390 \times 844\) CSS points — this is what your stylesheet and Swift page code sees
  4. PPI calculation: $$\text{PPI} = \frac{\sqrt{1170^{2} + 2532^{2}}}{6.1} = \frac{\sqrt{1{,}368{,}900 + 6{,}410{,}624}}{6.1} = \frac{\sqrt{7{,}779{,}524}}{6.1} \approx \frac{2789}{6.1} \approx 457\text{ ppi}$$
  5. Asset implication: A 44pt button (matching Apple's minimum touch target guideline) requires a 132px graphic file at @3x to render at full pixel-level sharpness — that is your asset size for the @3x image set.

Android developers face a similar calculation mapped to density tiers. A button at 300 dp width renders at 300 px on a 100% mdpi device (ratio 1:1), at 450 px on a 150% hdpi device (1.5:1), at 600 px on a 200% high-density device (2:1), at 900 px on a 300% triple-density device (3:1), and at 1200 px on an ultra-high-density device (4:1). The pixel mapping is handled automatically by the platform; designers should always work at CSS coordinate dimensions and supply graphic files at each multiplier tier (@1x, @2x, @3x for iOS; mdpi through the highest Android tier).

CSS uses its own coordinate space. The browser's CSS pixels align with the CSS window size — so a window width of 390 px in CSS matches the 390 CSS points of the Apple handset released in 2022, not its 1170 screen dots. Browser magnification and OS-level scaling can shift this relationship further; always verify window scaling behaviour during cross-device verification rather than relying on nominal specifications alone.

/* Width class groupings (six classes) based on device-independent pixels */
/* These mirror the screen clusters used in the screen size map */

/* XS: max 414 dp — handsets in portrait mode */
@media (max-width: 414px) { ... }

/* S: 415–600 dp — large phones, small slabs */
@media (min-width: 415px) and (max-width: 600px) { ... }

/* M: 601–800 dp — slabs in portrait */
@media (min-width: 601px) and (max-width: 800px) { ... }

/* L: 801–1024 dp — slabs in landscape, small portables */
@media (min-width: 801px) and (max-width: 1024px) { ... }

/* XL: 1025–1440 dp — portables, mid-range PC screens */
@media (min-width: 1025px) and (max-width: 1440px) { ... }

/* XXL: min 1441 dp — large PC panels, wide monitors */
@media (min-width: 1441px) { ... }

These six width classes group device window dimensions into manageable bands for a responsive layout. They are not necessarily the only thresholds you should use in your CSS — treat them as a starting map, then refine based on your own screen resolution stats and visitor data.

Safe Areas, Notches, and the Dynamic Island on Modern Panels

Not all of a panel's CSS window area is usable screen space. On modern Apple devices, features like the notch, the cutout region (introduced on the Pro model in 2022 and carried forward), the home indicator bar at the bottom, and rounded corners all reduce the space available for content. iOS exposes safe area insets — values in CSS points — that define where content can be placed without being obscured. For the latest Pro model, the top safe area inset is 59pt to account for the sensor bar cutout. Designers should always account for safe areas when placing navigation bars, CTA buttons, hero banners, and interactive elements near screen edges.

On Android devices, the approach to safe areas varies by device vendor and platform version. Edge-to-edge panels on high-end Android flagships like the Samsung Galaxy S series require developers to use WindowInsets APIs (in Kotlin/Java) or equivalent Flutter/React Native equivalents to query the system bars and cutout regions at runtime. This tool records top safe area inset values where available, giving you a fast reference during the ux design process rather than requiring a physical device to check the values.

Privacy and offline access details

This tool is a true browser-based utility with an embedded dataset. All device data — every entry covering handset specs, slab specs, and monitor screen size records — is bundled into the page at the initial page load. No search query, no filter selection, and no device lookup result is transmitted to any server. The tool works offline after that first load, making it safe to use in privacy-sensitive environments. There is no account creation, no tracking pixel, and no external API call. It is a completely free tool with no data sent anywhere outside your own browser.

Testing Across Device Screen Resolutions for Responsive Design and QA

Device fragmentation is the central challenge of modern front-end development and interface verification. With hundreds of distinct screen sizes in active use worldwide, no team can afford to test on every physical device — but skipping critical dimensions leads to dimension-specific issues that surface in production. A well-structured approach grounded in real screen resolution stats from the database turns an overwhelming matrix into a manageable test plan.

What Is the Ideal Screen Size for Responsive Design Breakpoints?

There is no single ideal screen size — the goal of a responsive web design is to deliver a great user experience across the full spectrum. However, market share data gives you a hierarchy of priorities. Based on global stats and dimension market share trends for 2026, the following responsive CSS thresholds cover the overwhelming majority of worldwide traffic:

  • 360px — the most common handheld screen width globally (xs class, portrait mode Android)
  • 390–430px — current-generation Apple handset CSS widths (xs class, 430 CSS points for the largest Plus models)
  • 768px — iPad portrait and slab threshold (m class), also the classic slab screen dimension boundary
  • 1024px — slab landscape and small portable screen width (l class), targeting window dimensions like 1024×768
  • 1280–1366px — entry-level portables and older screens (xl class)
  • 1920px — Full HD PC screen, the single highest-traffic PC dimension (xxl class)

Fluid page structures that reflow gracefully between these six classes will cover the majority of your users. For digital products targeting corporate users, weight your verification toward wider PC screen dimensions; for ecommerce targeting broad consumer audiences, prioritise the 360–390px handheld band and run thorough orientation testing for both portrait orientation and landscape mode.

How to Test Your Application Across Different Screen Resolutions

Effective dimension verification requires a blend of automated testing in simulators, cross-device checks on physical hardware, and visual testing tools for pixel-level comparisons. Here is the recommended workflow for a typical web development team in mobile development:

  1. Pull the top 5 dimensions for your region and platform from the database — this is your primary coverage tier. A developer targeting European PC users, for example, will weight heavily toward 1920×1080, 1366×768, and 1440×900.
  2. Add at least two handheld dimensions: one representing the dominant Android window size (360×800) and one for current-generation Apple handsets (390×844).
  3. Include slab coverage at 768×1024 for portrait mode and a wider slab view (1024×768 landscape mode) to catch structural issues in multi-column transitions.
  4. Run structural checks in browser developer tools using the device emulation panel, setting exact window dimensions matched to the database entries.
  5. Validate on real devices: simulators handle CSS thresholds well but miss touch behaviour nuances, page-paint quirks specific to different browser engines, and performance issues related to asset load on constrained physical equipment.
  6. Run visual regression tests using an interface regression tool — capture screenshots at each target dimension and compare against a baseline to catch structural shifts, overlapping text, hidden buttons, broken grids, misplaced icons, unreadable text, and cropped images before they reach production.

A worked example of this process: a verification team building a handheld-first ecommerce site uses the database to identify that their reporting dashboard shows 78% of traffic coming from five dimensions — 360×800 (28%), 390×844 (22%), 1920×1080 (16%), 414×896 (8%), and 768×1024 (4%). They configure five browser or simulator test configurations matching these entries exactly, then run their automated suite across all five in CI/CD pipelines on every pull request. This combination of database-driven dimension selection and automated testing cuts their bug report volume related to structural issues by over 60% within two release cycles.

/* Example responsive product grid */
/* Adapts from 360px handheld to 1920px PC screen using CSS Grid */
/* Targeting the most common dimensions in the database */

.product-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr; /* XS: single column at 360px handheld */
}

/* S: 415px+ — large phone, two columns */
@media (min-width: 415px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* M/L: 768px+ — slab portrait, 768×1024 */
@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* XL: 1024px+ — portable, targeting common mid-range dimensions */
@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

/* XXL: 1441px+ — large PC screen, Full HD and beyond */
@media (min-width: 1441px) {
  .product-grid {
    grid-template-columns: repeat(5, 1fr);
    max-width: 1800px;
    margin: 0 auto;
  }
}

This column progression ensures your product cards reflow smoothly from a single-column stack at 360×800 all the way to a five-column arrangement at 1920×1080, with no horizontal scrolling at any intermediate window width.

How to Avoid Flaky Tests Caused by Inconsistent Viewport Sizes

Flaky dimension tests — tests that pass sometimes and fail others — are almost always caused by inconsistent window configurations rather than genuine bugs. The most common culprits are: browser magnification set to a non-100% level when a test is recorded, OS-level scaling changing the effective CSS window size, and browser chrome (toolbars, address bars) consuming window height unexpectedly. To eliminate flakiness:

  • Always set window dimensions explicitly in your test framework rather than relying on the browser window size — use the exact width × height values from the database as your window size parameters.
  • Reset browser zoom to 100% before each test session; a zoom level of 110% turns a 1920×1080 window into an effective 1745×982 CSS canvas, breaking threshold assumptions silently.
  • For orientation switching tests, explicitly trigger the orientation change event rather than manually rotating the window, and add a small settle delay before asserting structural state.
  • In CI/CD pipelines, pin browser versions to specific releases to prevent browser engine updates from introducing unexpected page-paint changes between test runs.
  • When combining visual diff with interface verification, use a staging environment with fixed network conditions and lazy loading disabled to ensure asset load timing does not affect screenshot capture timing.
  • For accessibility settings tests (large font, high contrast, dark mode), run these as a separate test configuration rather than mixing them with standard dimension testing — the combination creates too many variables for reliable verification.

What to validate: across every dimension in your test matrix, confirm structural reflow is correct, image proportions are maintained with no cropped images, typography remains readable (text readability, no overlapping text), touch interactions fire correctly on handheld devices, product cards and category filters align to the grid, modal checks show modals are fully within the window, and content spacing is visually balanced. Cross-browser verification across at least two browser engines (e.g., Chromium and WebKit) at each dimension catches page-paint differences that simulators running a single engine miss entirely. Combining real device testing with parallel checks in simulators across your device combinations gives you both accuracy and speed — use the database's screen size comparison data to justify which device combinations warrant real-device slots in your test coverage budget.

Finally, remember that the database entries cover panel specs and worldwide usage data — they are a starting point, not a substitute for your own site analytics. Use this tool to establish a strong baseline of high-traffic dimensions, then layer your own visitor data on top to tune the matrix for your specific audience's screen height, screen size, and platform distribution.

Frequently Asked Questions

What is the difference between physical and logical resolution?
Physical resolution refers to the actual number of pixels on the screen hardware (e.g. 1170×2532). Logical resolution, also called CSS pixels or device-independent pixels, is what browsers and apps use for layout — calculated by dividing physical pixels by the device pixel ratio (DPR). For example, an iPhone 14 with 1170×2532 physical pixels and a DPR of 3 has a logical resolution of 390×844.
What does PPI mean and why does it matter?
PPI stands for Pixels Per Inch — it measures how densely pixels are packed on a screen. Higher PPI means sharper, crisper images and text. For UI design, PPI matters because it determines how fine your design elements appear. Most modern smartphones range from 300–500 PPI, while desktop monitors typically sit between 90–140 PPI.
What are device-independent pixels (dp or CSS px)?
Device-independent pixels are a virtual unit used in CSS and UI design that remains consistent across devices regardless of pixel density. A screen with a 3x device pixel ratio renders 3 physical pixels for every 1 CSS pixel. This abstraction allows developers to design layouts that look correct on both standard and high-DPI screens without manual scaling.
What is the most common screen resolution in 2026?
According to global usage stats, 1920×1080 (Full HD) remains the most common desktop screen resolution, while 390×844 and 414×896 are among the most common logical resolutions for smartphones. Mobile resolutions vary widely due to the range of Android devices, whereas iOS devices follow a more predictable set of resolutions.
How do I choose which screen sizes to support for responsive design?
Focus on the most popular devices in your target market. A good starting point is supporting the six common CSS breakpoint classes: XS (up to 414dp), S (415–600dp), M (601–800dp), L (801–1024dp), XL (1025–1440dp), and XXL (1441dp+). Use analytics from your own site to identify which resolutions your actual visitors use and prioritize those.
Should I test screen resolutions on emulators or real devices?
Emulators are useful for quick layout checks during development, but they may not accurately replicate real-device rendering, touch behavior, or font rendering. For production-quality testing, especially for critical UI decisions, testing on real physical devices provides the most reliable results.
What is the ideal screen size for responsive design?
There is no single ideal screen size — responsive design should adapt fluidly across all viewports. However, designing around 375–390px logical width covers most modern smartphones, while 768px covers tablets in portrait mode and 1280–1440px handles most desktop layouts. Using percentage-based and fluid grid layouts ensures compatibility across the full spectrum.
What are safe area insets on iPhone?
Safe area insets are regions on iPhone screens (especially those with a notch or Dynamic Island) where system UI elements like the status bar or home indicator overlap your content. CSS provides the env(safe-area-inset-*) variables to account for these zones. You should apply padding or margins using these values to prevent important content from being hidden behind device UI.