How to Test a Website on Mobile Screen Sizes
By Pritesh Ranoliya · Updated
To test a website on mobile screen sizes, open it at real phone and tablet viewports: in your browser’s device mode, in a mobile simulator extension, or on real devices. Start with the narrowest and widest phones (around 360 and 448 CSS pixels), then check tablets, and finish on at least one real phone before you ship.
1. Browser developer tools
Chrome, Edge and Firefox include a responsive or device mode in their developer tools (Chrome docs). It resizes the page to a preset viewport and emulates touch. It is built in and free, and it is the quickest way to inspect CSS at a given width. It can feel cramped when you want to compare several sizes, because the page shares the window with the DevTools panels.
2. A mobile simulator extension
The free iHateBugs Mobile Simulator opens your page inside a phone, tablet or laptop frame at the preset’s CSS viewport, on the same tab, so the address bar keeps your real URL. It includes the device presets listed on this site, works on localhost, and needs no account. It suits quick visual checks and walking through a page the way a phone user sees it.
3. Real devices
Nothing replaces a real phone for touch, performance and the browser’s own quirks. Connect an Android phone over USB and inspect it from chrome://inspect, or an iPhone with Safari’s Web Inspector, to debug the live page (Chrome remote debugging).
4. Cloud device labs
Paid services stream real devices from a data centre. They are useful for checking many browser and OS versions you don’t own.
Which sizes to test
Cover the edges of each range rather than every model. Phones currently span about 360 to 448 CSS pixels wide (see phone breakpoints):
- Smallest common phone: 360px, e.g. Galaxy S24
- Most common iPhone: 393px, e.g. iPhone 16
- Largest phone: 440 to 448px, e.g. iPhone 16 Pro Max
- Tablet: 820px, e.g. iPad Air 11-inch
The full tables are in the screen size lists.
Mobile bugs to look for
- Horizontal scrolling: something is wider than the viewport, often a fixed-width image, table or long URL.
- Tap targets: buttons and links should be at least 48×48 CSS pixels with space between them (web.dev).
- Zooming inputs: iOS Safari zooms into form fields with text smaller than 16px.
- Full-height sections:
100vhcan be taller than the visible area on phones;100dvhfollows the browser bars (MDN). - Notches and rounded corners: content near the edges can hide under the camera cutout; use
env(safe-area-inset-*)when you draw edge to edge. - Landscape: rotate. Width becomes height, and sticky headers can eat most of the screen.
A quick routine
- Load the page at 360px and scroll the whole thing.
- Switch to 448px and to a tablet size.
- Fix overflow, cramped text and small targets.
- Check one real phone before you deploy.