Largest Contentful Paint (LCP)
Largest Contentful Paint (LCP) is a Core Web Vital that measures how long it takes for the largest visible image or text block to appear on screen. Good is 2.5 seconds or less.
LCP captures the moment a visitor feels the page has loaded. The largest element is usually a hero image, a video poster or a big headline.
In more detail
Slow LCP has four common causes: a slow server response, render-blocking CSS and JavaScript, a late-discovered or heavy main image, and client-side rendering that delays content. Fixes include caching and a CDN, inlining critical CSS, preloading the hero image, serving modern formats like AVIF or WebP at the right size, never lazy-loading the hero, and rendering content on the server.
Why it matters
LCP is the vital most sites struggle with, and it is closely tied to whether visitors stay. Improving it usually improves conversion as well as page experience scores.
A landing page's LCP element is a 1.8 MB hero photo loaded by JavaScript. Replacing it with a 140 KB AVIF in plain HTML with a preload hint drops LCP from 3.9 to 1.6 seconds on mobile.