Front-End Optimization Guidelines: Core Web Vitals Targets
Aim for Largest Contentful Paint of 2.5 seconds or less, Interaction to Next Paint of 200 milliseconds or less and Cumulative Layout Shift of 0.1 or less, measured at the 75th percentile of real page loads. Measure field data first, then fix the slowest element, the heaviest script or the biggest shift.
This guide is for developers and site owners who want a clear target for page experience and a sensible order of work. The thresholds and measurement advice come from web.dev.
The three Core Web Vitals
| Metric | What it measures | Good threshold |
|---|---|---|
| Largest Contentful Paint (LCP) | Loading performance | 2.5 seconds or less from when the page starts loading |
| Interaction to Next Paint (INP) | Responsiveness to interaction | 200 milliseconds or less |
| Cumulative Layout Shift (CLS) | Visual stability | 0.1 or less |
Assess each metric at the 75th percentile of page loads, separately for mobile and desktop. A page passes when it meets all three targets at that percentile.
How to measure
- Field data (real users): Chrome User Experience Report, PageSpeed Insights, the Core Web Vitals report in Search Console, or your own collection with the web-vitals JavaScript library.
- Lab data (simulated): Chrome DevTools and Lighthouse measure LCP and CLS. Lighthouse cannot measure INP, so Total Blocking Time serves as a proxy.
Lab tests help you debug but do not replace field data, because real devices, networks and interactions vary.
A practical order of work
- Find out which metric fails in the field for your key templates, on mobile first.
- For LCP, identify the largest element on those pages and make it load earlier: compress and size the image, avoid loading it late, and reduce server response time.
- For INP, find long tasks on the main thread and reduce or defer the JavaScript behind them.
- For CLS, reserve space for images, embeds and ads so content does not jump when they load.
- Re-measure in the field after each change, because field data lags by days.
These steps are common practice rather than a quotation from web.dev. Test each change against your own pages.
Our approach
In our builds we compress assets, keep JavaScript on the main thread small and use caching close to the visitor. We treat the thresholds above as the target for the pages that matter to the business.
Common mistakes
- Optimizing for a lab score and ignoring field data.
- Testing only on a fast desktop connection.
- Adding a script or font without checking its effect on INP and CLS.
Frequently asked questions
What are good Core Web Vitals scores?
LCP of 2.5 seconds or less, INP of 200 milliseconds or less and CLS of 0.1 or less, at the 75th percentile.
Can Lighthouse measure INP?
No. Lighthouse cannot measure INP, so Total Blocking Time is used as a proxy in lab tests.
Field or lab data: which matters?
Field data from real users decides whether you pass. Lab data helps you find and fix problems.
Related
Sources
Need this built or fixed?
Start a proposal and our EU-sovereign team will scope it with you.
Start a proposal →