Apple iPhone X – Viewport, Resolution & Specs

The Apple iPhone X is one of the most popular modern smartphones for web designers and front-end developers to test responsive layouts.
If you want to check how your website looks and behaves on this device, you can easily simulate it using the Phone Simulator – Mobile Emulator Tool Chrome extension — no real device required.
Viewport Size (CSS Resolution)
This is the resolution that matters most to designers and developers — it defines media query breakpoints, layout scaling, and how elements adapt to the screen.
For the Apple iPhone X, the CSS viewport measures:
- Width: 375 px
- Height: 812 px*
ℹ️ Note: The visible height can vary slightly depending on the browser UI (Safari, Chrome, etc.).
Test on Apple iPhone X Instantly
Preview your responsive website on the Apple iPhone X right inside your browser.
Install the Phone Simulator – Mobile Emulator Tool and test across 30+ mobile devices with just two clicks. It’s fast, free, and doesn’t require any external services.

Pixel Density (Device Pixel Ratio)
The Apple iPhone X has a device pixel ratio of 3 — meaning each CSS pixel is represented by three physical pixels.
This ensures sharper visuals, crisper text, and smoother icons on high-resolution displays.
For CSS targeting:
@media only screen and (-webkit-min-device-pixel-ratio: 3) {
/* High-DPI specific styles */
}In JavaScript:
window.devicePixelRatio
// returns: 3Physical Screen Resolution
Based on its pixel density, the manufacturer’s screen resolution equals:
- Width: 1125 px
- Height: 2436 px
About the Apple iPhone X
The Apple iPhone X released in 2017.
The iPhone X redefined Apple’s smartphone design, introducing a modern edge-to-edge display and gesture navigation.
Using the Phone Simulator – Mobile Emulator Tool, developers can preview websites exactly as they would appear on this device — helping ensure a consistent user experience across screens.
Try It Now 💫
Start testing your website on the Apple iPhone X and other smartphones and tablets directly in Chrome.
No physical devices, no setup — just realistic mobile previews.