Moto G4 Simulator: screen size 360×640, DPR 3
The Moto G4 preset uses a 360×640 CSS pixel viewport (portrait) at a 3× device pixel ratio, so the screen draws 1080×1920 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.
Moto G4 specs
| Brand | Motorola |
|---|---|
| Type | Phone |
| OS | Android |
| Released | May 2016 |
| Viewport (CSS px, portrait) | 360×640 |
| Pixel ratio (DPR) | 3 |
| Physical resolution | 1080×1920 |
| Touch | Yes |
| User agent | Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/156.0.0.0 Mobile Safari/537.36 |
| Specs verified | Pending verification |
| Sources | github.com, en-us.support.motorola.com |
Similar sizes
Devices close to the Moto G4
Compare every size in the android phone screen sizes and viewports list.
CSS
Media query for the Moto G4
This query matches a 360px-wide viewport and anything narrower.
@media (max-width: 360px) {
/* styles for Moto G4 and narrower screens */
}FAQ
Moto G4 questions
What is the Moto G4 viewport size?
360×640 CSS pixels in portrait, which is what CSS media queries see. With a device pixel ratio of 3, that is 1080×1920 physical pixels.
Which devices have the same viewport as the Moto G4?
None of the other presets share the 360×640 viewport, so it is worth testing on its own.
How do I test my site at Moto G4 size?
Open the free iHateBugs Mobile Simulator on your page and pick Moto G4. The page renders at 360×640 CSS pixels, and it works on localhost too. In CSS, @media (max-width: 360px) matches this width and anything narrower.