Course contentsShow
← Web Development
Lesson 1888 of 2,98235. Web Performance FundamentalsFree lesson

The Three Core Web Vitals: LCP, FID, and CLS

Overview of Largest Contentful Paint, First Input Delay, and Cumulative Layout Shift as the primary metrics.

The Three Core Web Vitals: LCP, FID (Legacy), and CLS

What you'll learn: You'll understand what these core metrics measure and why Google prioritizes them for user experience, including the transition from legacy performance metrics.

Now that you know Core Web Vitals matter, let's break down what each one actually measures.

Largest Contentful Paint (LCP)

LCP measures loading performance — specifically, how long it takes for the largest visible content element to render on screen. This is usually your hero image, main heading, or primary content block.

Target: LCP should occur within 2.5 seconds of when the page first starts loading.

Think of LCP like waiting for the main course at a restaurant. If the biggest, most important part of your meal arrives quickly, you perceive the entire experience as fast, even if side dishes come later.

First Input Delay (FID) — Deprecated

FID historically measured interactivity — the initial delay between when a user first interacts with your page (clicks a button, taps a link) and when the browser can actually begin processing that response.

Important Update: On March 12, 2024, Google officially replaced FID with Interaction to Next Paint (INP) as a Core Web Vital, and FID is now deprecated. FID is presented here as a legacy, historical metric because you may still encounter it in older documentation, blog posts, and audits. We no longer use FID thresholds as current ranking guidance. Please refer to the course's upcoming INP lessons to learn about the current, active responsiveness metric and its modern thresholds.

Cumulative Layout Shift (CLS)

CLS measures visual stability — how much content unexpectedly moves around as the page loads.

Target: CLS should be less than 0.1.

Picture reading a news article when suddenly an ad loads above, pushing your text down and causing you to lose your place. CLS quantifies these annoying jumps. A score of 0 means no shifts at all.

Why These Pillars?

Google focuses on metrics representing the three pillars of user experience: speed (LCP), stability (CLS), and responsiveness (formerly FID, now INP). Together, they paint a complete picture of how users actually experience your site.

Key Takeaway: Core Web Vitals measure essential user experience factors like loading speed (LCP) and visual stability (CLS). While First Input Delay (FID) was historically used to measure responsiveness, it was deprecated in 2024; you should now point your attention to its replacement, Interaction to Next Paint (INP).