Start a project

Tool 90 of 194 · Performance

Core Web Vitals Calculator

Paste field data from your analytics or the web-vitals library and see your 75th percentile LCP, INP and CLS, how each is rated, and what's dragging it down.

Core Web Vitals Calculator at a glanceIllustration: 1, Field data; 2, processed in your browser; 3, Pass or fail.Core Web Vitals Calculator2.5 s1Field data3Pass or fail2In yourbrowser
1 Field data 2 processed on your device 3 Pass or fail

Core Web Vitals Calculator

Field samples

Assessment

MetricGoodNeeds improvementPoor

CLS from layout shifts

Paste layout-shift entries (startTime and value from a PerformanceObserver). CLS is the worst session window: shifts less than 1 s apart, capped at 5 s, ignoring shifts right after user input.

WindowTimeShiftsScore

01

What it does

Turns raw LCP, INP and CLS field samples into the 75th percentile, rates them against Google's thresholds and computes session-window CLS.

  • 75th percentile, as Google's assessment uses
  • Good, needs improvement and poor thresholds
  • Distribution chart per metric
  • CLS from layout-shift entries with session windows

02

Private by design

Everything happens in your browser. Nothing you type, paste or upload is sent anywhere, and it keeps working offline once the page has loaded.

03

What you get

Ratings, distributions and a CLS breakdown, with a Copy and a Download button on every result.

  • Core Web Vitals
  • LCP
  • INP
  • CLS

Why it matters

Google's Core Web Vitals assessment uses the 75th percentile of real users' visits, not an average and not a lab test. If you collect your own field data with the web-vitals library or an analytics tool, you need to compute that percentile the same way to know where you stand.

This calculator does that, rates each metric against the official thresholds and charts the distribution. It also computes CLS from raw layout-shift entries using the session-window rule, which is where most hand-rolled CLS numbers go wrong.

How it works

  1. InputLCP, INP and CLS values or a CSV
  2. In your browser75th percentile against Google's thresholds
  3. OutputRatings, a distribution and a CLS calculator

Where it fits in a designer's workflow

  1. Plan
  2. Design
  3. Build
  4. Test
  5. Launch
Reading real-user data after launch.

By the numbers

The sample field data, rated by the toolLCP p75: 2,540 ms (needs improvement): 72% good; INP p75: 165 ms (good): 83% good; CLS p75: 0.063 (good): 85% good75%LCP p75: 2,540 ms (needs improvement)72% goodINP p75: 165 ms (good)83% goodCLS p75: 0.063 (good)85% good
Rated by this tool on its 60-visit sample. A metric passes when the 75th percentile is good, so LCP fails here even though most visits were fine. Thresholds: LCP 2,500 ms, INP 200 ms, CLS 0.1. Source: web.dev: Web Vitals.
Show the numbers as a table
MetricVisits75th percentileRatingGoodNeeds improvementPoor
LCP602,540 msneeds improvement72%22%7%
INP60165 msgood83%17%0%
CLS600.063good85%15%0%

How to use it

  1. Paste a CSV with lcp, inp and cls columns, or lines like 'LCP 2450'.
  2. Read the 75th percentile and rating for each metric.
  3. Look at the distribution to see the slow tail.
  4. Paste layout-shift entries to compute CLS.

FAQ

Why the 75th percentile?

So three quarters of visits must be good for a page to pass. It ignores a few outliers but not a slow minority.

What are the thresholds?

LCP good at 2.5 s or less, poor over 4 s. INP good at 200 ms or less, poor over 500 ms. CLS good at 0.1 or less, poor over 0.25.

What's a session window?

Layout shifts less than 1 second apart, in a window of at most 5 seconds. CLS is the largest window's total, not the sum of every shift.

Is my data uploaded?

No. It's processed in your browser.

Work with me

Want a site that gets these right?

I build fast, accessible websites and web apps that pass these checks from day one. Tell me about your project and I'll reply personally with honest next steps.

All developer tools · Back to leej.uk