Skip to content
1440px

Nintendo Switch Screen Size

CSS viewport, native resolution, pixel ratio and pixel density for the Nintendo Switch — the numbers you need to design and build for it.

CSS viewport · portrait
1280 × 720 px

Native resolution 1280 × 720 px at 1× · 237 PPI · 6.2″ · 16:9. Design at 1280 × 720 and export assets at 1×.

Nintendo Switch display specifications
PropertyValue
CSS viewport (portrait)1280 × 720 px
CSS viewport (landscape)720 × 1280 px
Native resolution1280 × 720 px
Device pixel ratio
Pixel density237 PPI
Screen diagonal6.2 in
Panel size5.4 × 3.04 in
Aspect ratio16:9
Total pixels0.92 MP
Released2017
Operating systemvarious

Among the 17 handhelds on this site, the Nintendo Switch has the 16th largest CSS viewport area. Its 1280 px width is 267 px below the 1547 px average for this category.

Targeting the Nintendo Switch in CSS

Device-specific media queries are brittle — a new model with the same width will not match. Use them for genuine per-device fixes only, and prefer width buckets for layout.

CSS media query
/* Target Nintendo Switch specifically */
@media only screen
  and (device-width: 1280px)
  and (device-height: 720px)
  and (-webkit-device-pixel-ratio: 1) {
  /* … */
}

/* More useful in practice — the width bucket it falls into */
@media (min-width: 1280px) { /* … */ }

Compare with other Handhelds & E-Readers models

Nintendo Switch compared with nearby Handhelds & E-Readers models
DeviceCSS viewportNativeDPRPPIDiagonal
Nintendo Switch1280 × 7201280 × 7202376.2″
Nintendo Switch Lite1280 × 7201280 × 7202675.5″
reMarkable 21404 × 18721404 × 187222610.3″
Kindle Paperwhite 111236 × 16481236 × 16483006.8″
Nintendo Switch OLED1280 × 7201280 × 7202107″
Steam Deck LCD1280 × 8001280 × 8002167″
Kindle Scribe1860 × 24801860 × 248030010.2″
ASUS ROG Ally1920 × 10801920 × 10803157″
Steam Deck OLED1280 × 8001280 × 8002047.4″

Questions about the Nintendo Switch screen

What is the screen size of the Nintendo Switch?

The Nintendo Switch has a 6.2-inch display. In CSS the viewport measures 1280 × 720 px in portrait, and the panel itself has 1280 × 720 physical pixels at 237 PPI.

What resolution should I design for on the Nintendo Switch?

Design at 1280 × 720 and export assets at . That gives you 1280 × 720 px images, which is exactly what the panel renders. Designing directly at 1280 × 720 means every measurement is 1 times larger than the CSS values you will write.

What is the device pixel ratio of the Nintendo Switch?

The Nintendo Switch reports a device pixel ratio of 1. One CSS pixel therefore covers one device pixel. You can read it in JavaScript with window.devicePixelRatio.

Which other devices have the same viewport as the Nintendo Switch?

2 other devices share the 1280 × 720 CSS viewport: Nintendo Switch OLED, Nintendo Switch Lite. A layout that works on one works on all of them.

Related

Specifications from the manufacturer's published device data. Last verified 7 August 2026. CSS viewport values are the portrait window.innerWidth/innerHeight reported by the stock browser with no browser chrome. See methodology and sources.