Skip to content

Monitoring glossary

What is FCP (First Contentful Paint)?

First Contentful Paint is the moment the browser first draws any text or image. It is the first sign to a visitor that the page is actually loading.

3 min read9 sectionsUpdated

On this page

Key points

  • Good FCP is 1.8 s or less; above 3.0 s is poor.
  • FCP comes after TTFB and before LCP.
  • Render-blocking CSS and synchronous scripts are the usual reasons for a slow FCP.

Where FCP sits in a page load

MilestoneMeaning
TTFBFirst byte of the HTML arrives
FCPFirst text or image is painted
LCPThe largest element in the first screen is painted
INPHow quickly the page responds to interactions, throughout the visit
RatingFCP at the 75th percentile
Good≤ 1.8 s
Needs improvement1.8 s to 3.0 s
Poor> 3.0 s

Reading the gaps

  • Large gap between TTFB and FCP: the browser has the HTML but cannot paint, usually because CSS or synchronous JavaScript in the head blocks rendering.
  • FCP fast, LCP slow: something paints early (a header, a spinner) but the main content waits on an image, a font or client-side data.
  • Everything slow: start with TTFB.

Improving FCP

  1. Inline critical CSS for the first screen and load the rest without blocking.
  2. Add defer or async to scripts that do not need to run before the first paint.
  3. Use font-display: swap (or optional) so text is not invisible while fonts load.
  4. Reduce TTFB with caching and fewer redirects.
  5. Server-render the first screen instead of waiting for client-side JavaScript to build it.

Measuring FCP in the browser

You can read FCP for the current page in the console, which is handy when comparing changes locally:

javascript
new PerformanceObserver((list) => {
  const fcp = list.getEntriesByName('first-contentful-paint')[0];
  if (fcp) console.log('FCP', Math.round(fcp.startTime), 'ms');
}).observe({ type: 'paint', buffered: true });

Lab vs field FCP

A local test on a fast laptop might show FCP at 0.6 s while real visitors on mid-range phones see 2.5 s. The difference comes from CPU speed (parsing and executing scripts), network latency and cold caches. Use lab tools to find render-blocking resources, and real user monitoring to see the 75th percentile across real devices, broken down by page and country. The pages with the worst field FCP are usually the ones with the most third-party scripts in the head.

Frequently asked questions

Is FCP a Core Web Vital?

No. It is a supporting metric. The Core Web Vitals are LCP, INP and CLS, but FCP helps explain a slow LCP.

Why is FCP good but users say the page feels slow?

FCP only measures the first paint. Check LCP for the main content and INP for responsiveness after load.

  • How to reduce First Contentful Paint (FCP): Reduce First Contentful Paint: lower TTFB, remove render-blocking CSS and scripts, load fonts sensibly and measure improvements with real-user data.
  • How to improve LCP (Largest Contentful Paint): Improve Largest Contentful Paint by fixing the slowest of its four parts: server time, discovery delay, download time and render delay, with code.
  • What is CLS (Cumulative Layout Shift)?: Cumulative Layout Shift explained: how shifts are scored, session windows, the 0.1 threshold, the usual causes such as images and ads, and how to find them.
  • What is Apdex?: Apdex explained: the formula, how to pick the threshold T, a worked example, how to read the score, and why many teams now prefer SLOs and percentiles.
  • Linux OOM killer: why it killed your process: Understand the Linux OOM killer: read the kernel log to see what was killed and why, how oom_score works, and how to protect critical services from it.
  • Core Web Vitals monitoring: Monitor Core Web Vitals from real visitors: LCP, INP and CLS by page, device and country, with JavaScript errors, session replay, source maps and lab tests.

Watch your own site and services with VitalRix

Uptime checks, APM, logs, real-user monitoring, alerts and status pages in one place. Every product has a free tier and no credit card is needed.