Early accessCodeGecko is opening to a first group of teams.Join the waitlist

PageSpeed Insights vs Lighthouse: why the scores differ and which to trust

PageSpeed Insights and Lighthouse run the same lab test, but only one shows real visits. Here’s what each tool measures, why their scores never match, what a good score is, and which one to trust.

Nour8 min read ·
PSI vs Lighthouse

Same engine, different numbers.

You run Lighthouse in Chrome and get 94. A colleague runs PageSpeed Insights on the same page and gets 71. Run either one again and the number moves by a few points. It’s easy to conclude that speed scores are random. They aren’t, but the two tools measure in different places, in different ways, and one of them shows two very different kinds of data on one page.

Here’s what each tool actually is, why their numbers differ, and which one to trust for which question.

The short answer

Lighthouse is a lab test: it loads your page once on a simulated phone and scores it. PageSpeed Insights does two things on one page. At the top, it shows real-visit data from Google’s Chrome UX Report, the numbers Google uses for search. Below that, it runs Lighthouse on Google’s servers. Lab scores differ between the two mainly because they run on different machines and networks. For “is my site good for real people?”, trust the real-visit data at the top of PageSpeed Insights. For “why is this page slow?”, use Lighthouse.

The top of PageSpeed Insights is your grade. Lighthouse is the tutor.

What each tool is

Lighthouse is an open-source tool from Google built into Chrome DevTools (the Lighthouse tab), and also available from the command line. It loads the page in a controlled setup, slows the network and CPU down to act like a mid-range phone on a mobile network, and records what happens. You get a performance score from 0 to 100, five lab metrics, and a list of suggestions.

PageSpeed Insights is a free website from Google. You paste an address and get two sections:

  • “Discover what your real users are experiencing”. LCP, INP, CLS and a few more from real Chrome visitors over the last 28 days, at the 75th percentile, with a pass or fail for the Core Web Vitals assessment. This is field data.
  • “Diagnose performance issues”. A Lighthouse run on Google’s servers, with the same score and suggestions you’d get in DevTools. This is lab data.

So the real comparison isn’t PageSpeed Insights against Lighthouse. It’s real visits against a lab test, plus two places to run the same lab test.

Why the lab scores differ

Even when you compare like with like, Lighthouse in DevTools and the lab section of PageSpeed Insights rarely agree. The reasons:

  1. 01Different computers. Lighthouse slows the CPU down by a fixed amount, so a fast laptop still ends up faster than Google’s test machine. Your score is often higher locally for that reason alone.
  2. 02Different networks and places. PageSpeed Insights runs from a Google data center, which may be far from your server or close to your CDN. Your own run starts from your desk, often with the connection already warm.
  3. 03Browser extensions. Ad blockers, password managers and other extensions run on the page in DevTools and can slow it down or block scripts. Run Lighthouse in an incognito window, where extensions are off.
  4. 04Caches and cookies. A page that is already cached at the CDN, or that skips a cookie banner because you accepted it before, loads differently from a first visit.
  5. 05Normal wobble. Server response times, ads and third-party scripts change from one load to the next. A few points between runs is normal. Run it three to five times and look at the middle result.

What the score is made of

The Lighthouse performance score is a weighted mix of five lab metrics. In current versions of Lighthouse, they count like this:

  • Total Blocking Time, 30%. How long the page was too busy to respond while loading. It’s the lab’s stand-in for INP.
  • Largest Contentful Paint, 25%. When the main content appeared.
  • Cumulative Layout Shift, 25%. How much the page jumped during the load.
  • First Contentful Paint, 10%. When anything first appeared.
  • Speed Index, 10%. How quickly the visible part of the page filled in.

Two things follow. First, the score leans heavily on Total Blocking Time, so JavaScript-heavy pages lose most of their points there. Second, the score isn’t a Core Web Vitals result. It doesn’t include INP at all, since a lab test never clicks, and its CLS only covers the load, not scrolling or later popups.

What is a good Lighthouse score?

Lighthouse shows 90 to 100 in green, 50 to 89 in orange and under 50 in red. A steady 90 on the mobile test is a fine target for most sites. Chasing 100 rarely pays off: the last few points are often lost to things that don’t bother real visitors much, and the score isn’t used for Google rankings.

What matters more is that the lab score doesn’t fall from one release to the next, and that the real-visit numbers pass. A page can score 98 in the lab and still fail with real visitors, which we explain in Your Lighthouse score is green. Why are your Core Web Vitals failing?

When to use which

  • Checking whether a page passes for Google: the real-visit section at the top of PageSpeed Insights, on the Mobile tab first. Search Console shows the same data for the whole site.
  • Finding why a page is slow: Lighthouse in DevTools, along with the Performance panel. You can test pages behind a login, on your own machine, and repeat it quickly.
  • Showing a number to someone else: PageSpeed Insights. Anyone can run it, and it doesn’t depend on your laptop.
  • Testing before a page is public: Lighthouse, since PageSpeed Insights can only reach public addresses.
  • Catching slow releases: neither on its own. More on that below.

What neither one tells you

Both tools answer “how is this page right now?”. Neither keeps a history, and neither tells you when a page got slower or which release did it. The real-visit section covers the last 28 days, so a slow release only shows there weeks later, mixed with everything else that shipped since. The lab section is one load of one page, so it misses most of what real visitors run into.

For that, you need to collect your own data and compare it over time. Our guides to Core Web Vitals monitoring and real user monitoring vs synthetic monitoring cover how.

That’s what CodeGecko does, with both kinds of data. After each deploy it runs a Lighthouse test on your key pages, on phones and desktops, for a first read the same day. Then it collects LCP, INP and CLS from your real visitors and compares the release with the one before it, page by page, so you get a verdict on what people actually experienced, with the commits that shipped next to it. Google’s own CrUX numbers sit next to yours. The docs have every rule, and the demo shows a release from start to finish.

Common questions

Does PageSpeed Insights use Lighthouse? Yes. The lower section of PageSpeed Insights is a Lighthouse run on Google’s servers. The upper section is real-visit data, which Lighthouse doesn’t have.

Why is my PageSpeed Insights score lower than Lighthouse in Chrome? Usually because your computer is faster than Google’s test machine, and your connection is already warm. Extensions and caches play a part too.

Which score does Google use for SEO? Neither score. Google uses the real-visit Core Web Vitals, the data at the top of PageSpeed Insights.

Why does my score change every time? Server times, ads and third-party scripts vary between loads. Run it a few times and use the middle result.

Why does PageSpeed Insights say there’s no real-user data? The page doesn’t have enough Chrome visits for Google’s report. It may show data for the whole site instead, or nothing at all for a new site.

NourBuilding CodeGecko

Senior frontend engineer, night-shift gamer, weekend photographer, and the human who taught a gecko to watch your deploys.

Get in early.

We’re letting teams in a few at a time. Join the waitlist and we’ll email you once, when your spot opens.

Go deeper

Keep reading