FCP and LCP in Core Web Vitals: When They Match and When They Diverge
When you check page speed with PageSpeed Insights or Lighthouse, some pages show FCP (First Contentful Paint) and LCP (Largest Contentful Paint) with exactly the same value, while others show a large gap between them. What decides the difference is whether the largest element on the page (an image or body text) is already there at the first paint, when something first appears on screen. I built five test pages, measured FCP and LCP with Google's web-vitals library, and report the results as they came out.
The test environment was Ubuntu 24.04 and Node.js 22. The browser was Chromium 158 bundled with Playwright 1.63.0. For measurement I used web-vitals 6.2.3 and Lighthouse 13.6.0 (run on the same Chrome 158). The pages were served without caching from a small server on the test machine (localhost:8080, HTTP/1.1). The viewport was 412×823 with a device pixel ratio of 1.75. The image was a 1200×800 pattern drawn with ImageMagick (an 82,008-byte JPEG), not a real photo. I did not test HTTP/2 or HTTP/3, a CDN, browsers other than Chrome, PageSpeed Insights, or real-user data (field data).
What FCP and LCP record
According to web.dev's Web Vitals guide, the Core Web Vitals consist of LCP, INP, and CLS. FCP is not one of them. It is a supporting metric that you use to investigate a slow LCP.
According to web.dev's FCP guide, FCP is the time from when the page starts loading until any part of its content is first rendered on screen. Here, "content" means text, images (including background images), <svg> elements, and <canvas> elements that are not blank.
According to web.dev's LCP guide, LCP is the time when the largest image, text block, or video in the viewport is rendered. The browser first records the largest element rendered so far as an LCP candidate, and each time a larger element is rendered, it records a new candidate. The time of the last candidate is the LCP.
So if the largest element is already on screen at the first paint, FCP and LCP have the same value. If a larger element appears after the first paint, LCP is delayed to the time that element is rendered.
Measuring five page types
I prepared five pages. All of them end up showing nearly the same content: a small heading ("Cat Paw Diary"), an <h1>, and a short paragraph. The pages with images place a full-width image above that content.
| Page | How it is built |
|---|---|
| Text-only page | The HTML contains only the heading and a paragraph |
| Page with a large image | The text-only page plus a full-width <img> |
| Slow CSS page | The large-image page plus a <link rel="stylesheet"> for CSS that the server returns after a 1.5-second delay |
| JavaScript-rendered page | The HTML is just an empty <div id="app">. A script (defer) that the server returns after a 1-second delay writes the heading and paragraph |
| Page with late-fetched body | The HTML contains only the small heading and a "Loading…" placeholder. fetch() gets the body and replaces the content. The body API returns after a 1-second delay from the server |
The contents of the late-fetched body page are as follows:
<header>猫の手日記</header><main id="main"><p id="loading">読み込み中…</p></main>
<script>
fetch('/api/article').then(r => r.json()).then(a => {
document.getElementById('main').innerHTML = '<h1>' + a.title + '</h1><p>' + a.body + '</p>';
});
</script>
Here is how I measured. With Playwright, I created a new browser context for each run, opened the page, and waited 3 seconds after the load finished. Then I injected web-vitals and read the values from onFCP and onLCP (the attribution build). I also collected every LCP candidate (largest-contentful-paint entries) with a PerformanceObserver.
I used two conditions, with 5 runs each. One is a slow mobile connection (latency 562.5 ms, download 1,474.56 Kbps, CPU slowed 4×). These values are the ones Lighthouse uses for its mobile setting (Slow 4G), reproduced in the DevTools style, from the network condition constants that Lighthouse 13.6.0's configuration loads. The other is localhost, with no network or CPU throttling.
On the slow mobile connection, two pages diverged by about 1 second
These are the medians of 5 runs on the slow mobile connection.

| Page | FCP | LCP | Gap | LCP element |
|---|---|---|---|---|
| Text-only page | 656ms | 656ms | 0ms | paragraph (p) |
| Page with a large image | 644ms | 1,600ms | 956ms | image (img) |
| Slow CSS page | 2,156ms | 2,156ms | 0ms | image (img) |
| JavaScript-rendered page | 1,648ms | 1,648ms | 0ms | paragraph (p) |
| Page with late-fetched body | 628ms | 1,652ms | 1,024ms | paragraph (p) |
FCP and LCP matched on three pages and diverged on two. The same pattern held on all five runs for each page.
On the large-image page, text appears first and the image appears later
This is the first run for the large-image page from the output.
$ node measure.cjs 5 slow,none
hero run1: FCP=644ms LCP=1600ms 差=956ms | TTFB=564 fcpLoadState=dom-content-loaded | LCP element=html>body>img loadDelay=26 loadDuration=998 renderDelay=12
paint: first-paint=644 first-contentful-paint=644 | LCP候補: 644ms p size=38896 → 1600ms img(/hero.jpg) size=113300
Two LCP candidates were recorded. At the first paint (644 ms), the image had not arrived yet, so the paragraph (p) was the candidate. At 1,600 ms the image was rendered, and because it is larger (size 113,300 versus 38,896), LCP became the image's time. The loadDuration (the time to fetch the image itself) was 998 ms, and that is almost exactly the gap between FCP and LCP.
On the late-fetched body page, "Loading…" appears first
The late-fetched body page also had a fast first paint, and only its LCP was late.
late run1: FCP=624ms LCP=1652ms 差=1028ms | TTFB=566 fcpLoadState=complete | LCP element=#main>p loadDelay=0 loadDuration=0 renderDelay=1086
paint: first-paint=624 first-contentful-paint=624 | LCP候補: 624ms (none) size=1746 → 1652ms p size=39270
The first paint at 624 ms showed only the small heading and "Loading…". The LCP candidate at that point was a small element with an area (size) of 1,746. The element itself could not be retrieved, so the entry showed (none). The "Loading…" paragraph was removed from the page when the innerHTML replacement ran after the body arrived. According to web.dev's LCP guide, an element removed from the DOM stays the LCP element until a larger element is rendered. At 1,652 ms, when the body arrived and its paragraph was rendered, a paragraph with size 39,270 became the new candidate. The one-second server delay is exactly the gap.
On a page that shows "Loading…" text first, FCP can be early, but LCP is not settled until the body is rendered.
On the JavaScript-rendered page, FCP is delayed too
The LCP of the JavaScript-rendered page (1,648 ms) was almost the same as that of the late-fetched body page (1,652 ms). The difference was FCP. The HTML had nothing to draw, so nothing was rendered until the script wrote the body. The body appeared all at once at the first paint, so FCP and LCP both became 1,648 ms.
csr run1: FCP=1652ms LCP=1652ms 差=0ms | TTFB=564 fcpLoadState=complete | LCP element=#app>main>p loadDelay=0 loadDuration=0 renderDelay=1088
paint: first-paint=1652 first-contentful-paint=1652 | LCP候補: 1652ms p size=39270
FCP and LCP matching does not mean the page is fast. Both pages had nearly the same LCP, but their FCP differed by about 1 second.
On the slow CSS page, the image was ready for the first paint
The slow CSS page uses the same image as the large-image page, but its FCP and LCP were both 2,156 ms.
slowcss run1: FCP=2168ms LCP=2168ms 差=0ms | TTFB=564 fcpLoadState=complete | LCP element=html>body>img loadDelay=27 loadDuration=998 renderDelay=580
paint: first-paint=2168 first-contentful-paint=2168 | LCP候補: 2168ms img(/hero.jpg) size=113300
As web.dev's render-blocking CSS guide explains, a <link rel="stylesheet"> blocks rendering until the CSS has arrived and been processed. The image fetch (loadDuration 998 ms) had finished during that time, so the text and the image appeared together at the first paint. The only LCP candidate was the image. The renderDelay (the time from when the image fetch finished to when it was rendered) was 580 ms, which is the time spent waiting for the CSS.
The LCP of this page (2,156 ms) is later than that of the page with a large image and no CSS (1,600 ms). FCP and LCP matched not because the image arrived quickly, but because every render, including the text, was delayed.
On the same page, the match or gap changes with connection speed
These are the medians of 5 runs on localhost, with no network or CPU throttling.
| Page | FCP | LCP | Gap |
|---|---|---|---|
| Text-only page | 24ms | 24ms | 0ms |
| Page with a large image | 32ms | 32ms | 0ms |
| Slow CSS page | 1,532ms | 1,532ms | 0ms |
| JavaScript-rendered page | 1,028ms | 1,028ms | 0ms |
| Page with late-fetched body | 24ms | 1,024ms | 1,000ms |
The large-image page, which had a 956 ms gap on the slow mobile connection, had both FCP and LCP at 32 ms on localhost. The image fetch finished in 1 to 3 ms, so it was ready for the first paint. Its only LCP candidate was the image.
hero run1: FCP=36ms LCP=36ms 差=0ms | TTFB=4 fcpLoadState=complete | LCP element=html>body>img loadDelay=6 loadDuration=1 renderDelay=25
paint: first-paint=36 first-contentful-paint=36 | LCP候補: 36ms img(/hero.jpg) size=113300
The late-fetched body page still had a gap of about 1 second on localhost. This gap comes from the server holding the response for 1 second before it returns the body, so a faster connection does not shrink it.
On a page where the LCP waits for an image fetch, as on the large-image page, the FCP-to-LCP gap depends on how fast the connection is.
Lighthouse's default settings made the slow CSS page look diverged
I ran Lighthouse 13.6.0 once on each of the five pages. I used two configurations: the default (mobile, throttlingMethod=simulate) and --throttling-method=devtools, which actually throttles the network and CPU.
| Page | Default FCP / LCP | devtools FCP / LCP |
|---|---|---|
| Text-only page | 609ms / 609ms | 690ms / 690ms |
| Page with a large image | 609ms / 1,355ms | 710ms / 1,678ms |
| Slow CSS page | 754ms / 1,354ms | 2,199ms / 2,199ms |
| JavaScript-rendered page | 605ms / 605ms | 1,692ms / 1,692ms |
| Page with late-fetched body | 613ms / 915ms | 686ms / 1,693ms |
The results with --throttling-method=devtools followed the same pattern as the web-vitals measurements. With the default setting, the slow CSS page came out with FCP 754 ms and LCP 1,354 ms, which diverge. The server holds the CSS for 1.5 seconds, so nothing can be rendered before 1.5 seconds. The JavaScript-rendered page also showed FCP and LCP at 605 ms, even though its script is held for 1 second.
According to Lighthouse's throttling documentation, the default method loads the page without throttling and then estimates how it would load on a slow connection. The documentation notes that this estimate has unavoidable inaccuracy. When you examine the FCP and LCP relationship on pages where the server delays responses, as in this test, confirm the result with a method that measures the actual load times, such as --throttling-method=devtools or web-vitals. In this test, the two methods agreed.
What the FCP-to-LCP gap tells you
According to web.dev, the "good" thresholds are 1.8 seconds or less for FCP and 2.5 seconds or less for LCP. On the slow mobile connection, only the FCP of the slow CSS page (2,156 ms) exceeded 1.8 seconds. The LCP was within 2.5 seconds on every page.
In this test, the FCP-to-LCP gap was determined by what the page was waiting for between the first paint and the rendering of its largest element.
- When the gap is large, the page is waiting after the first paint for an image or for body text to load. You can see what it waited for in the LCP breakdown in the web-vitals attribution (
loadDurationandrenderDelay). - When the gap is 0 ms, the largest element was already on screen at the first paint. However, the first paint itself can be delayed. On the slow CSS page and the JavaScript-rendered page, both values were slow together.
On the slow CSS page and the JavaScript-rendered page, the gap stayed at 0 ms while FCP and LCP were both delayed. The culprits were render-blocking CSS and a script that writes the body. When the gap is 0 ms and LCP is slow, you need to look at what the first paint is waiting for, before looking at the LCP element.





