Skip to content

Surface Duo Simulator: screen size 540×720, DPR 2.5

The Surface Duo preset uses a 540×720 CSS pixel viewport (portrait) at a 2.5× device pixel ratio, so the screen draws 1350×1800 physical pixels.

Specs pending verification. The resolution comes from the maker or Chrome DevTools, but the viewport and pixel ratio have not been published by the maker or measured on the device.

Surface Duo specs

BrandMicrosoft
TypePhone
OSAndroid
ReleasedSeptember 2020
Viewport (CSS px, portrait)540×720
Pixel ratio (DPR)2.5
Physical resolution1350×1800
TouchYes
User agentMozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/156.0.0.0 Mobile Safari/537.36
Specs verifiedPending verification
Sourcesgithub.com, support.microsoft.com, techcommunity.microsoft.com

Similar sizes

Devices close to the Surface Duo

Compare every size in the android phone screen sizes and viewports list.

CSS

Media query for the Surface Duo

This query matches a 540px-wide viewport and anything narrower.

@media (max-width: 540px) {
  /* styles for Surface Duo and narrower screens */
}

FAQ

Surface Duo questions

What is the Surface Duo viewport size?

540×720 CSS pixels in portrait, which is what CSS media queries see. With a device pixel ratio of 2.5, that is 1350×1800 physical pixels.

Which devices have the same viewport as the Surface Duo?

None of the other presets share the 540×720 viewport, so it is worth testing on its own.

How do I test my site at Surface Duo size?

Open the free iHateBugs Mobile Simulator on your page and pick Surface Duo. The page renders at 540×720 CSS pixels, and it works on localhost too. In CSS, @media (max-width: 540px) matches this width and anything narrower.