BF50 Black Friday · 50% off all plans
from $5/mo · Auto-applied ---:--:-- Claim 50% off →
Skip to content

Search Seonio

Type a keyword, domain, or paste a URL

Start free with $1 to see full results. Powered by Seonio
SEO

Largest Contentful Paint: How to measure and fix it

Largest Contentful Paint (LCP) is how long the biggest image or text block in view takes to appear. Good is 2.5 seconds or less for 75% of visits.

Monthly searches · largest contentful paint
5.4k
Keyword research data
largest contentful paint
Largest Contentful Paint: How to measure and fix it
Click the image to view it full size

Largest Contentful Paint (LCP) is a loading-speed metric: the time from when someone starts opening a page until the largest image, video or block of text in their screen has rendered. It stands in for the moment a visitor feels "the page is here." The clock starts at navigation, so redirects, connection setup and server response time all count.

LCP is one of Google's three Core Web Vitals, next to Interaction to Next Paint (responsiveness) and Cumulative Layout Shift (visual stability).

What counts as the LCP element

The browser only considers these elements:

  • <img> elements, and <image> elements inside an <svg>
  • <video> elements (the poster image or the first frame, whichever is earlier)
  • Elements with a CSS background image loaded with url()
  • Block-level elements that contain text, such as a paragraph or heading

It skips elements that look like decoration rather than content: invisible elements (opacity 0), images that cover the whole screen like a background, and low-detail placeholder images. Only the part inside the viewport counts toward an element's size.

On a typical article page the LCP element is the hero image; on a page without one it's often the headline or the first paragraph. As the page loads, the browser keeps updating its pick if a larger element appears, and stops once the visitor taps, scrolls or presses a key.

What a good LCP score is

LCP at the 75th percentile Rating
2.5 seconds or less Good
Over 2.5 up to 4 seconds Needs improvement
Over 4 seconds Poor

"75th percentile" means at least three out of four visits should hit the target. Google measures mobile and desktop separately web.dev.

Lighthouse is stricter on desktop: in a desktop test it colors LCP green only up to 1.2 seconds. In Lighthouse 10, LCP makes up 25% of the Performance score.

How to measure LCP

Use two kinds of data:

  • Field data comes from real visitors in Chrome. You'll find it in the Search Console Core Web Vitals report and at the top of PageSpeed Insights. It shows what visitors actually experience.
  • Lab data comes from a single test load, in Lighthouse, Chrome DevTools or PageSpeed Insights. It's what you use to find the cause and check a fix.

The two often differ. A lab test runs on one device and one connection, while real visitors bring slow phones, redirects from ads and cold caches. When they disagree, trust the field data; see field data for more.

Find why LCP is slow

Every LCP time splits into four parts with no gaps between them. Find the biggest one and you know what to fix:

Part What it is Ideal share
Time to first byte Until the first byte of the HTML arrives About 40%
Resource load delay From then until the LCP image or font starts downloading Under 10%
Resource load duration The download itself About 40%
Element render delay From download finished until the element shows Under 10%

Chrome DevTools and Lighthouse show this breakdown for you. Optimize all four: shrinking an image does nothing if the page then waits on JavaScript to show it.

How to improve LCP

Speed up the server response. A slow time to first byte delays everything after it. Common causes are chains of redirects (from ads or short links), visitors far from your server, and URL parameters that stop a CDN from serving cached copies.

Let the browser find the LCP image early. Put it in the HTML as an <img> element. If it's a CSS background or added by JavaScript, the browser finds it late; preload it instead:

<link rel="preload" fetchpriority="high" as="image" href="/hero.webp" type="image/webp">

Give it priority. Add fetchpriority="high" to the LCP image. Use it on one or two images at most, or it stops meaning anything.

Never lazy-load the LCP image. loading="lazy" makes the browser wait until layout confirms the image is in view, which always delays it. Save lazy loading for images further down.

Remove what blocks rendering. Large stylesheets and synchronous scripts in the <head> hold back the whole page. Trim and split CSS, and add defer or async to scripts. Server-side rendering or prerendering puts the main content straight into the HTML.

Make the file smaller and closer. Compress images, serve modern formats like AVIF or WebP at the size they're displayed, and host the LCP image on your own domain so the browser can reuse the open connection.

Don't let fonts hide text. If your LCP element is text, use a font-display value other than auto or block, so text shows while the web font loads.

Does LCP affect rankings?

Yes, as one signal among many. Google says Core Web Vitals are used by its ranking systems, and also that it always tries to show the most relevant content, even if the page experience is poor Google Search Central. A fast page helps most when many pages answer a query equally well. It won't rescue a page that answers it worse.

Seonio

Put it to work on your own site

Keyword research, traffic, backlinks and clustering in one place. Start with a free $1 to test, no card required.