> ## Documentation Index
> Fetch the complete documentation index at: https://docs.modaal.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# iOS and Android Screen Sizes, Safe Areas and Corner Radii

> Measured screen sizes, pixel scales, corner radii, safe-area insets, system bars and margins for iPhone, iPad, Android phones, tablets and foldables, with an interactive explorer.

This page lists the screen geometry a mobile screen has to fit on iOS and Android: the window size, the pixel scale, the display's corner radii, the cutout, the safe-area insets, the system bars, the content margins and, on foldables, the fold. Every number was read on the Xcode simulators (iOS 26.5, 27.0 and 27.1) and the Android emulator (Android 16, API 36) between 14 October and 2 November 2026, by probe apps that print the window size, the safe-area insets, the size classes and the frames of the system bars. iOS lengths are in points (pt), Android lengths in density-independent pixels (dp).

> [!NOTE]
>
> To have the agent check your app's screens against these numbers, paste the prompt in [Give the numbers to the agent](#prompt).

## Explore a device

Pick a platform, a device and, on a foldable, the screen and pose. The drawing is to scale. Hover a row of the table to find that value in the drawing; a layer that is switched off shows while its row is hovered.

What the layers draw:

* **Safe area**: the shaded bands are the safe-area insets, where the system draws the status bar, the home indicator, the cutout or a side column; the dashed outline is the safe area. Lay out content inside it and let backgrounds run to the edges.
* **System bars**: the status bar, the navigation bar (iOS) or top app bar (Android), and the tab bar (iOS) or navigation bar (Android) at their measured positions.
* **Corners**: the display's corner radius. The drawing uses circular arcs; iOS displays use continuous corners, whose curve starts farther from the corner than a circular arc of the same radius.
* **Cutout**: the camera cutout. The iPhone Duo's camera and reserved block come from the frames iOS reports for them; the other cutouts are drawn schematically, and their area lies inside the top inset.
* **Margins**: the distance from the safe area's sides to content, as measured in lists and forms ([Margins and spacing](#margins)).
* **Fold**: on a foldable's inner screen, the fold. It separates the two halves only in the half-open pose.

## Points, pixels and rounding

iOS lays out in points. A point is 2 pixels on the iPhone SE and the iPads (`@2x`) and 3 pixels on every other current iPhone (`@3x`): the iPhone 17's 402 × 874 pt window is 1206 × 2622 px.

Android lays out in dp, and a dp is `dpi ÷ 160` pixels. That ratio is rarely a whole number, so Android sizes are rarely whole dp:

| Device | Window in dp | Pixels | Density |
| - | - | - | - |
| Pixel 8 | 411.43 × 914.29 | 1080 × 2400 | 420 dpi (2.625) |
| Pixel 9 Pro Fold, cover | 443.08 × 994.46 | 1080 × 2424 | 390 dpi (2.4375) |
| Pixel Fold, cover | 411.43 × 796.95 | 1080 × 2092 | 420 dpi (2.625) |
| 360 dp phone | 360 × 780 | 1080 × 2340 | 480 dpi (3) |

The insets have the same fractions: the Pixel 8's status bar is 132 px, which is 50.29 dp. Rounded to whole dp these are 411 × 914 and 50; the tables on this page give two decimals where the pixels do not divide evenly. Compose measures and places layouts in whole pixels (`Dp.roundToPx()`), so a 16 dp padding on the Pixel 8 is 42 px and a divider 0.5 dp tall is laid out 1 px tall.

iOS has fractional values too: the iPhone 16e's corner radius is 47.33 pt, which is 142 px at `@3x`.

Fractional positions matter most for thin lines. A 1-pixel line is 0.33 pt at `@3x`, 0.5 pt at `@2x` and 0.38 dp at 2.625. A line whose edges fall between pixels lights the pixels it partly covers in a blended colour, and the line looks soft. Move the line below, then press **Snap to whole pixels**:

To keep thin lines and edges sharp, put them on multiples of `1 ÷ scale`: 0.33 pt at `@3x`, 0.5 pt at `@2x`, 0.381 dp at 2.625.

## Corner radii

The display's corners clip anything drawn under them. The radius per device is in the [device tables](#ios-devices): 62 pt on the iPhone 17, Air and 17 Pro Max, 55 pt on the iPhone 16, 30 pt on the iPad Pro, 39.6 dp on the Pixel 8. The iPhone SE's display is square. The iPhone Duo's cover screen has two radii: 8 pt on the two corners on the left and 59 pt on the two on the right in portrait.

Content inside the safe area and at least 16 pt from the side edges clears the corners on every measured iPhone and iPad. On the iPhone 17 (radius 62 pt, bottom inset 34 pt), a square-cornered element 16 pt from the side and resting on the safe area's bottom edge has its corner 8.15 pt inside the display's curve. The same element moved down to 16 pt from the bottom edge, inside the bottom inset, has its corner cut off by 3.05 pt.

An element near a screen corner keeps an even gap to the curve when its own radius is the screen's radius minus the margin, the concentric radius: on the iPhone 17 with a 16 pt margin, 62 − 16 = 46 pt. In SwiftUI on iOS 26 and later, `ConcentricRectangle` derives this radius from its container. Set the margin and the card radius below, or press **Use the concentric radius**:

Screen corner

Margin:

Card radius:

Use the concentric radius

The top-left corner of a screen with a card inset by the margin

Orange: the screen's corner. Dashed green: the concentric radius. Red: the part of the card the screen cuts off.

## Safe areas and insets

The insets are top / bottom / left / right in the tables below.

* **iPhones in portrait** reserve the status bar at the top: 59 pt with the Dynamic Island on the iPhone 16, 62 pt on the iPhone 17 and 17 Pro Max, 68 pt on the iPhone Air, 47 pt with the notch on the iPhone 16e. The home indicator takes 34 pt at the bottom. The iPhone SE has a 20 pt status bar and no bottom inset.
* **iPhones in landscape** hide the status bar. The top inset is 0, the bottom 20 pt, and both sides take the portrait top inset: 59 pt each on the iPhone 16.
* **iPads** reserve 32 pt at the top and 20 pt at the bottom in both orientations.
* **Android phones** reserve the status bar (50.29 dp on the Pixel 8) and the 24 dp gesture navigation bar. In landscape the cutout's side takes the cutout inset (50.29 dp on the Pixel 8) and the status bar drops to 28.19 dp.
* **Android tablets and the inner screens of the foldables** reserve 32 dp at the bottom.

Draw backgrounds, scrolling content and the Android top app bar's colour to the window's edges, and keep text, controls and tap targets inside the safe area. Android 15 enforces this edge-to-edge layout for apps that target API 35 or later.

### iOS devices

| Device | Points (portrait) | Scale | Pixels | Corner radius (pt) | Cutout | Insets, portrait | Insets, landscape | Size classes, portrait | Size classes, landscape |
| - | - | - | - | - | - | - | - | - | - |
| iPhone SE (3rd generation) | 375 × 667 | @2x | 750 × 1334 | 0 | None | 20/0/0/0 | 0/0/0/0 | compact × regular | compact × compact |
| iPhone 16e | 390 × 844 | @3x | 1170 × 2532 | 47.33 | Notch | 47/34/0/0 | 0/20/47/47 | compact × regular | compact × compact |
| iPhone 16 | 393 × 852 | @3x | 1179 × 2556 | 55 | Dynamic Island | 59/34/0/0 | 0/20/59/59 | compact × regular | compact × compact |
| iPhone 17 | 402 × 874 | @3x | 1206 × 2622 | 62 | Dynamic Island | 62/34/0/0 | 0/20/62/62 | compact × regular | compact × compact |
| iPhone Air | 420 × 912 | @3x | 1260 × 2736 | 62 | Dynamic Island | 68/34/0/0 | 0/20/68/68 | compact × regular | regular × compact |
| iPhone 17 Pro Max | 440 × 956 | @3x | 1320 × 2868 | 62 | Dynamic Island | 62/34/0/0 | 0/20/62/62 | compact × regular | regular × compact |
| iPhone Duo, cover | 466 × 678 | @3x | 1398 × 2034 | 8, 59, 59, 8 | Camera in the side inset | 0/34/0/84 | 0/34/84/0 | compact × regular | compact × compact |
| iPhone Duo, inner | 669 × 951 | @3x | 2007 × 2853 | 55 | Camera in the content area, its region reported inactive | 82/34/0/0 | 0/34/0/84 | regular × regular | regular × regular |
| iPad mini (A17 Pro) | 744 × 1133 | @2x | 1488 × 2266 | 21.5 | None | 32/20/0/0 | 32/20/0/0 | regular × regular | regular × regular |
| iPad (A16) | 820 × 1180 | @2x | 1640 × 2360 | 25 | None | 32/20/0/0 | 32/20/0/0 | regular × regular | regular × regular |
| iPad Pro 11″ (M5) | 834 × 1210 | @2x | 1668 × 2420 | 30 | None | 32/20/0/0 | 32/20/0/0 | regular × regular | regular × regular |
| iPad Pro 13″ (M5) | 1032 × 1376 | @2x | 2064 × 2752 | 30 | None | 32/20/0/0 | 32/20/0/0 | regular × regular | regular × regular |

Corner radii are top left, top right, bottom right, bottom left where they differ. Size classes are width × height. The iPhone 17 Pro Max was measured on iOS 26.5, the iPhone Duo on iOS 27.1 with an app built with the iOS 27.1 SDK, and the other devices on iOS 27.0.

### Android devices

| Device | dp (portrait) | Density | Pixels | Corner radius (dp) | Cutout | Insets, portrait | Insets, landscape | Window classes, portrait | Window classes, landscape |
| - | - | - | - | - | - | - | - | - | - |
| 360 dp phone | 360 × 780 | 3 (480 dpi) | 1080 × 2340 | not reported | Punch hole, top left | 45.33/24/0/0 | 24/24/45.33/0 | compact × medium | medium × compact |
| Pixel 8 | 411.43 × 914.29 | 2.625 (420 dpi) | 1080 × 2400 | 39.6, 39.6, 38.9, 38.9 | Punch hole | 50.29/24/0/0 | 28.19/24/50.29/0 | compact × expanded | expanded × compact |
| Pixel Fold, cover | 411.43 × 796.95 | 2.625 (420 dpi) | 1080 × 2092 | not reported | Punch hole | 41.9/24/0/0 | 28.19/24/41.9/0 | compact × medium | medium × compact |
| Pixel Fold, inner | 700.95 × 841.14 | 2.625 (420 dpi) | 1840 × 2208 | not reported | None | 28.19/32/0/0 | 28.19/32/0/0 | medium × medium | expanded × medium |
| Pixel 9 Pro Fold, cover | 443.08 × 994.46 | 2.4375 (390 dpi) | 1080 × 2424 | 34.9 | Punch hole | 62.36/24.21/0/0 | 52.1/24.21/62.36/0 | compact × expanded | expanded × compact |
| Pixel 9 Pro Fold, inner | 851.69 × 882.87 | 2.4375 (390 dpi) | 2076 × 2152 | 34.9 | Punch hole | 55.79/32/0/0 | 55.79/32/0/0 | expanded × medium | expanded × medium |
| Pixel Tablet | 800 × 1280 | 2 (320 dpi) | 1600 × 2560 | not measured | None | 24/32/0/0 | 24/32/0/0 | medium × expanded | expanded × medium |

"Not reported" means the emulator reports no corner radius for that display. The 360 dp phone is the emulator's `small_phone` profile set to 1080 × 2340 px at 480 dpi with a punch-hole cutout. The Pixel Tablet's size is the Android SDK's `pixel_tablet` profile; its insets were read on an emulator of that profile.

## System bars

### iOS

| Bar | Size and position (iOS 26.5 and 27.0) |
| - | - |
| Navigation bar, inline title | 54 pt tall (58 pt on the iPhone Duo). Its top is the top inset where the status bar is a row (iPhones in portrait, iPads), and 24 pt from the window's top on the iPhones in landscape and on every iPhone Duo screen. |
| Navigation bar, large title | 106 pt tall (54 + a 52 pt title row); the title is 34 pt bold, 16 pt from the leading edge. It collapses to 54 pt once the content has scrolled 52 pt. |
| Bar buttons | A 44 pt glass circle for one icon, 16 pt from the side edge, its top at the bar's top; items on one side share one 44 pt capsule. |
| Tab bar, portrait | A capsule 62 pt tall, 21 pt above the window's bottom edge on every iPhone, the iPhone SE included. It is centred and as wide as its tabs: 274 pt with three. It narrows its tabs before it comes closer than 21 pt to a side edge. |
| Tab bar, landscape | A capsule 44 pt tall, 20 pt above the bottom edge, at least 38 pt from each side edge. |
| Bottom toolbar | Glass capsules 48 pt tall, 28 pt from the side edges and 28 pt above the bottom edge. |

The tab bar's capsule overlaps the bottom inset: its bottom edge is 21 pt above the window's bottom edge, 13 pt inside the 34 pt inset. Content that scrolls under it needs 83 pt of space at the bottom of the window (21 + 62) to scroll clear of it. On the iPads, iPadOS places the tab bar at the top; its frame was not measured here. On the iPhone Duo, where the status bar is a column in a side inset, the tab bar is a 48 pt column in that inset.

### Android

Compose Material 3 (1.3.2), measured on the Pixel 8:

| Bar | Size and position |
| - | - |
| Top app bar | 64 dp tall below the status bar inset. Its colour runs up under the status bar to the window's top. Icon buttons are 48 × 48 dp, 4 dp from the edges; the title starts at 16 dp, or 56 dp after a navigation icon. |
| Medium and large top app bars | 112 dp and 152 dp below the inset; each collapses to 64 dp as the content scrolls (by 48 dp and 88 dp). |
| Navigation bar | An 80 dp row above the 24 dp bottom inset, full width; its background runs to the bottom edge, 104 dp in all on the Pixel 8. |
| Navigation rail | Replaces the navigation bar at medium and expanded width (`NavigationSuiteScaffold`): Android phones in landscape, the inner screens of the foldables, tablets. |
| Floating action button | 56 × 56 dp, radius 16 dp, 16 dp from the right and bottom safe edges (above the navigation bar when there is one). |
| Snackbar | 48 dp tall with one line, radius 4 dp, 12 dp from each side and 12 dp above the bottom safe edge. |

## Margins and spacing

| | iOS (pt) | Android (dp) |
| - | - | - |
| Content to the side edge | 16 on the iPhone SE, 16 and 17; 20 in the iPhone Duo's windows 669 pt wide and wider | 16 at compact width |
| List row | 52 tall for one line, 70.67 with a subtitle; text 16 in from the section's edge | 56 tall for one line, 72 for two, 88 for three; 16 start and end padding |
| Grouped list section | 16 from the side edges, corner radius 26 | — |
| Button | 34.33 tall (regular) or 50.33 tall (large), capsule | 40 tall drawn in a 48 tall touch box, radius 20, 24 side padding |
| Search field | 44 tall, 16 from the side edges | 56 tall, radius 28, 360 to 720 wide, centred |
| Alert | 320 wide, radius 34, text 30 in from the sides | 320 wide, radius 28, 24 padding |
| Sheet | Top corners 38 (large detent); grabber 60 × 4 | Top corners 28; drag handle 32 × 4 |

The iOS values were measured on the iPhone 16 (iOS 26.5), the iPhone 17 and the iPhone SE (iOS 27.0) in portrait, and on the iPhone Duo; the iPads and the iPhones in landscape were not measured. The Android values were measured at compact width on the Pixel 8 and the 360 dp phone. Material 3's layout guidance uses 24 dp margins at medium and expanded width.

## Size classes

**iOS** reports a horizontal and a vertical size class, each compact or regular. Every iPhone is compact × regular in portrait. In landscape the iPhone SE, 16e, 16 and 17 are compact × compact, and the iPhone Air and 17 Pro Max are regular × compact. The iPads and the iPhone Duo's inner screen are regular × regular in both orientations.

**Android** window size classes are read from the window, not the device:

| Class | Width | Height |
| - | - | - |
| Compact | under 600 dp | under 480 dp |
| Medium | 600 to 839 dp | 480 to 899 dp |
| Expanded | 840 dp and over | 900 dp and over |

The Pixel 8 is 914.29 dp wide in landscape, which is expanded width, so a layout that switches on the width class shows its navigation rail there.

## Foldables

Choose a foldable in the [explorer](#explorer) and its poses appear under **Screen**.

| Device and pose | Screen | Fold |
| - | - | - |
| iPhone Duo, closed | Cover, 466 × 678 pt | — |
| iPhone Duo, open flat | Inner, 669 × 951 pt (951 × 669 held wide) | A 40 pt band at 455.5–495.5 pt with 20 pt margins inside it; does not separate the content |
| iPhone Duo, half open | Inner | The same band; separates the content into two halves |
| iPhone Duo, tent | Cover in landscape, insets 0/34/0/84 | — |
| Pixel Fold, closed | Cover, 411.43 × 796.95 dp | — |
| Pixel Fold, open flat or half open | Inner, 700.95 × 841.14 dp | A zero-width line at 420.57 dp; separates the halves only when half open |
| Pixel 9 Pro Fold, closed | Cover, 443.08 × 994.46 dp | — |
| Pixel 9 Pro Fold, open flat or half open | Inner, 851.69 × 882.87 dp | A zero-width line at 425.85 dp; separates the halves only when half open |

On the iPhone Duo the status bar is a column at the top of an 84 pt side inset on the cover in portrait and on the inner screen held wide; on the inner screen held tall it sits at the trailing end of the navigation bar's row, and the top inset (82 pt) holds the navigation bar. An app built with an SDK earlier than iOS 27.1 runs letterboxed on the iPhone Duo: its window is 80 pt shorter along one side, and an 80 pt strip outside the window holds the time. [iPhone Duo: App Store prep](https://docs.modaal.dev/guides/iphone-duo-app-store-submission.md) covers building with both SDKs.

## Give the numbers to the agent

Paste this into the chat with the [Plan toggle](https://docs.modaal.dev/articles/modes-and-prompts.md) off and edit the device list to the ones your app supports:

```text theme={null}
Check every screen of the app against these windows and fix what does not fit:
- iPhone SE (3rd generation): 375 × 667 pt, insets top 20, bottom 0.
- iPhone 17 Pro Max: 440 × 956 pt, insets top 62, bottom 34; display corner radius 62 pt.
- Pixel 8: 411.43 × 914.29 dp, insets top 50.29, bottom 24.
- 360 dp phone: 360 × 780 dp, insets top 45.33, bottom 24.
Rules:
1. Text, controls and tap targets stay inside the safe area; backgrounds run to the edges.
2. On iOS, scrolling content above a tab bar ends 83 pt above the window's bottom edge (the 62 pt capsule plus its 21 pt gap); on Android, above the 80 dp navigation bar and the bottom inset.
3. Elements within the display's corner radius of a corner use the concentric radius: the screen's radius minus their margin.
4. Hairlines and 1 px borders sit on whole pixels: multiples of 1 ÷ scale.
Report each screen and window you changed, with the element and the old and new values.
```

## Related

> [card] [Design your app with a design system](https://docs.modaal.dev/ai-design.md)
>
> Turn reference screenshots into the design tokens the agent applies to every screen.

> [card] [Design prompts that work](https://docs.modaal.dev/design-prompts.md)
>
> The vocabulary and copy-paste prompts for spacing, contrast and tap targets.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.