iPhoneiOS · phone · 2021

iPhone 13 mini / 12 mini viewport size

375 × 812CSS px · 3× DPR · 1080×2340 physical

The iPhone 13 mini / 12 mini gives web pages a 375 × 812 CSS pixel viewport in portrait. That’s the width your layout and media queries actually see, not the 1080 × 2340 physical pixels of the screen: with a device pixel ratio of 3, every CSS pixel is 3 × 3 real pixels.

CSS viewport (portrait)375 × 812what web pages get
Landscape812 × 375phones and tablets turned sideways
Device pixel ratio3×1 CSS px = 3 × 3 screen pixels
Physical resolution1080 × 23405.4″ screen
Visible in the browser375 × 668Safari (iOS 26), first load
Released2021iOS phone

See your site on an iPhone 13 mini / 12 mini

Paste your address (or localhost:3000). doesitfit shows it at exactly 375 × 812, with Safari (iOS 26)’s bars if you want them, and tells you if anything spills.

Free, no sign-up. Or ask Claude, ChatGPT or Codex to check it.

What a web page actually sees

The full viewport is 375 × 812, but the browser’s own bars take some of it. In Safari (iOS 26) a page gets about 375 × 668 on first load (50px status bar and Safari’s 94px bottom tab bar on first load; the bars shrink when you scroll). That’s your real “above the fold”. Use 100dvh instead of 100vh for full-height sections, or they’ll hide behind the toolbar (why).

SettingWidthHeight
Full viewport (portrait)375px812px
Visible on first load (Safari (iOS 26))375px668px
Landscape (full)812px375px

What it means for your CSS

Breakpoints

At 375px: Tailwind uses base styles only (below sm, 640px); Bootstrap uses xs. In landscape (812px): Tailwind uses md (sm: md: styles apply), Bootstrap md.

Tailwind breakpoints on real devices

Content width

With 16px of padding on each side your text column is 343px; with 24px it’s 327px. Text closer than 8px to the edge looks cramped (more).

Sharp images

A full-width image needs about 1125px of real pixels (375 × 3).

<img src="hero-1125.jpg"
  srcset="hero-800.jpg 800w, hero-1125.jpg 1125w"
  sizes="100vw" alt="…">

Styles for this width

Content-first breakpoints beat device lists, but if something breaks at this width:

@media (max-width: 375px) {
  /* screens 375px wide and narrower */
}

How common is 375 × 812?

375 × 812 is the #9 most common phone screen size worldwide, with 2.19% of mobile traffic (Aug 2026, StatCounter).

Close in size:

Everything about the 375 × 812 viewport · All devices 375px wide · All iPhone sizes

Questions people ask

What is the viewport size of the iPhone 13 mini / 12 mini?

375 × 812 CSS pixels in portrait (812 × 375 in landscape), with a device pixel ratio of 3. The screen itself is 1080 × 2340 physical pixels.

How much of the iPhone 13 mini / 12 mini screen does a web page get in Safari?

About 375 × 668 on first load: the 50px status bar and Safari’s 94px bottom tab bar on first load; the bars shrink when you scroll. Design your first screen for that height, not the full 812px.

Which CSS breakpoint does the iPhone 13 mini / 12 mini fall into?

At 375px wide, Tailwind CSS uses base styles only (below sm, 640px) and Bootstrap uses its xs tier. In landscape (812px) Tailwind uses md (sm: md: styles apply).

How wide should images be for the iPhone 13 mini / 12 mini?

A full-width image needs about 1125px of real pixels (375 CSS px × DPR 3) to look sharp. Use srcset so smaller screens don’t download it.

How can I test my website on an iPhone 13 mini / 12 mini without one?

Open doesitfit.lol, paste your address (localhost works too) and pick the iPhone 13 mini / 12 mini. It shows your site at exactly 375 × 812 CSS pixels and flags anything that spills past the edge.

Guides that help

About these numbers

Confidence: High: confirmed by more than one independent source.

Sources include DeviceAtlas, Chrome DevTools device list (EmulatedDevices.ts), iosref.com, ios-resolution.com. Researched September 2026.