GTmetrix Performance Blog

News, updates and guides on GTmetrix and general web performance

How to Simulate Devices with GTmetrix

See how your site could display and load on over 30 different devices and variants

Your visitors may reach your website in a variety of different devices and screen resolutions.

GTmetrix allows you to test your page’s performance on them by modifying the screen resolution, user agent and device pixel ratio to each device’s technical specifications.

Simulate Devices is only available with a GTmetrix PRO plan.
 


 

What does Simulate Device do?

Simulate Device works by passing parameters to the GTmetrix browser to present itself as a specific device when it requests your website.

With Simulated Devices, GTmetrix poses as the device you select.

 

When your server receives this request, it treats GTmetrix as the device specified and delivers assets, layouts, etc intended for it.

Three parameters are changed in order for GTmetrix to simulate a device:
 

  • Screen Resolution – An iPhone 6 for example is 375×667 (GTmetrix default is Desktop – 1366×768)
  • User Agent – An identifying string that tells your server what is requesting your site.
  • Device Pixel Ratio – Tells the browser how many actual pixels the device is going to use to draw a single CSS pixel.

 

There are over 30 popular mobile devices (and variants) available for simulation, including:

Phones

  • Apple iPhone 4/4S
  • Apple iPhone 5/5C/5S/SE
  • Apple iPhone 6/6S/7/8
  • Apple iPhone 6/6S/7/8 Plus
  • Apple iPhone X/XS
  • Apple iPhone XR
  • Apple iPhone XS Max
  • Apple iPhone SE (2nd Gen)
  • Apple iPhone 11/11 Pro/11 Pro Max
  • Apple iPhone 12/12 Mini/12 Pro
  • Apple iPhone 12 Pro Max
  • Google Nexus 4
  • Google Nexus 5
  • Google Nexus 5X/Pixel/Pixel 2
  • Google Nexus 6/6P/Pixel XL/Pixel 2 XL
  • Google Pixel 3
  • Google Pixel 3 XL
  • Google Pixel 3a/3a XL
  • Google Pixel 4/4 XL
  • Google Pixel 4a
  • Google Pixel 5
  • Nokia Lumia 520
  • Samsung Galaxy Note 3
  • Samsung Galaxy Note 4/5
  • Samsung Galaxy S4/S5
  • Samsung Galaxy S6/S7
  • Samsung Galaxy S8/S8+/S9/S9+
  • Samsung Galaxy S10/S10+
  • Samsung S20/S20+/S20 Ultra
  • Samsung Note 8/9
  • Samsung Note 10/10+
  • Samsung Note 20/20 Ultra

Tablets

  • Apple iPad 2/Mini
  • Apple iPad 3/4/Air/Air 2/2017
  • Google Nexus 10
  • Google Nexus 7
  • Samsung Galaxy Tab 4
  • Samsung Galaxy Tab A 10.1
  • Samsung Galaxy Tab S3
  • Samsung Galaxy Tab S7/S7+

We’ll be adding more over time, to ensure the most up-to-date and commonly used devices are represented.

 

Why Screen Resolution matters

Screen resolution is the size at which a website is rendered. Desktop monitors have larger resolutions than mobile devices, and due to responsive design, varying resolutions will trigger varying layouts and styling.

Different screen resolutions trigger different layouts with responsive design.

 

Because your website could be visited from devices of all sizes, it is important to ensure that it is optimized for screen sizes most used by your visitors.
 

Why Device Pixel Ratio (DPR) matters

Device Pixel Ratio in simplistic terms is how many pixels are packed in a screen. Different mobile devices have different Device Pixel Ratio – from Quad HD displays, to Apple’s Retina Display.

Different devices have difference device pixel ratios – from Quad HD displays, to Apple’s Retina display.

 

This feature ensures that if your responsive design uses the device -min-device-pixel-ratio: value media query, the proper assets/layouts will be rendered for the GTmetrix analysis.

You may want to serve a higher resolution photo for higher pixel density displays for example.
 


 

What doesn’t it do?

…it is still recommended to test your page on the actual device…

Simulate Device does not simulate hardware performance, and thus actual loading behaviour may differ on an actual device.

Devices have a varying range of hardware specifications and performance, which all contribute to the loading speed of a website. We’re simulating the resolution, user agent and device pixel ratio of the device – many of them are the same (ie. iPhone 6 and iPhone 8).

Because we cannot simulate the hardware performance for each device, it is still recommended to test your page on the actual device in order to get real world performance benchmarks. Naturally, an iPhone 8 would load a modern website faster than an iPhone 6, because it has a better processor, more memory, etc.

Our Simulated Device feature gives you a good starting benchmark to gauge your performance on these devices, but they should not be regarded as 1:1 comparisons.
 


 

How to use it

To simulate a device, enter a URL into the Analyze field first, then expand your Analysis Options.

Select from a list of devices in the “using” dropdown

 

Select a device in the “using” dropdown – you’ll see the screen resolution, user agent and device pixel ratio settings be prefilled to that device’s specifications and locked (you cannot change these values).

Options will be set to your selected device’s specifications.

 

Click “Analyze” – GTmetrix will test your page with the simulated device settings.

New Simulated Device Reports

 

A report will be generated with the site screenshot at the correct screen resolutions and details of the page load.

 
 

Test as a Desktop Device or any other screen resolution

For you to test as a Desktop device or any other Screen Resolutions, you’ll have to change the “using” option to “Chrome”.

Then expand the “Advanced Options” and under the “Screen Resolution” dropdown, select the desired resolution you wish to test with.

Access all Screen Resolutions by: 1. Selecting “Chrome”; 2. Selecting your Screen Resolution.

 

You can leave Device Pixel Ration (DPR) as blank (default) or set it to 1.

 

More Usage Scenarios

Here are some more ways to use Simulate Device to get even more insights:
 

Change the Connection speed to LTE/4G/3G/2G as well

To even further simulate a mobile experience, you can change the connection speed to reflect what users would likely be experiencing.

Use GTmetrix’s throttled connection options to pair up your Simulated Device with appropriate connection speeds!

 

Now you can test your page performance for an iPhone 6 using a 3G connection, or an iPad.

 

Simulate a device around the world

You can simulate a device in all of our global test regions, including our Premium Test Locations (new PRO plan users only). Monitoring and API usage is also supported.

You can simulate a device in all of our global test regions (Premium Test Locations only available for new PRO plan users).

 
In addition to monitoring your default Desktop view, we recommend also monitoring for various simulated devices around the world.

 

Test sites that use browser detection/user agent sniffing

Overriding the User Agent lets you collect the various results that may be delivered if a site uses Browser detection or User Agent sniffing.

This is good for sites that use “m.” prefixes for mobile versions of the site (e.g. m.example.com).

Sites may deliver different versions depending on your User Agent.

 


 

Benefits

Our Simulate Device feature gives you insight on your page’s performance with the most used devices today. Visitors may be coming from all types of devices and screen resolutions, so it’s best to test for the most commonly used.

Look for common devices used in your analytics to test and monitor.

 

Your Website Analytics can give you an idea of which devices are used the most.

With monitoring and alerts, you can ensure that you maintain consistent performance across your entire user base.
 


 

Simulate Device is available to PRO users only

GTmetrix Developer Toolkit

Simulating Devices is available on all PRO plans, along with more Advanced Analysis Options like Analysis Presets, DNS Overrides, Custom Connection Speeds and more!

As a PRO user, you’ll also get an enhanced GTmetrix experience with: Priority access for tests, More Monitored Slots, Hourly Monitoring (select plans only), Remote Location Monitoring (including Premium Test Locations), and more!


Go PRO and Simulate a Device today!