Home Guides Page Load Time
Performance

Page Load Time: How to Measure & Improve Website Speed

Page load time directly impacts conversion rates, search rankings, and user satisfaction. A one-second delay can reduce conversions by 7%. Here's how to measure it accurately and make your site faster.

14 min read Updated April 2026 By Inspectlet Team
Key Takeaways
  • "Page load time" isn't a single number—it's a series of milestones (TTFB, FCP, LCP, TTI) that each measure a different aspect of the loading experience
  • Google's Core Web Vitals (LCP, INP, CLS) directly influence search rankings—slow pages rank lower
  • The target: Largest Contentful Paint under 2.5 seconds, Interaction to Next Paint under 200ms, Cumulative Layout Shift under 0.1
  • The biggest wins come from optimizing images, reducing render-blocking resources, and using a CDN
  • Lab testing (Lighthouse) measures potential; Real User Monitoring (RUM) measures actual experience across all your visitors

What is Page Load Time?

Page load time is how long it takes for a web page to fully display its content after a user requests it. But "fully display" is more nuanced than it sounds. Users perceive page speed through several distinct moments:

For user experience, the most important milestones are the first three. Users don't care when the 47th tracking pixel finishes loading; they care when they can see content and interact with it.

Key Performance Metrics

Time to First Byte (TTFB)

The time between the browser sending a request and receiving the first byte of the response. This measures your server's response speed plus network latency. Target: under 800ms (ideally under 200ms for cached pages).

First Contentful Paint (FCP)

The moment the browser renders the first piece of DOM content (text, image, SVG, or canvas). This is when the user first sees that "something is happening." Target: under 1.8 seconds.

Largest Contentful Paint (LCP)

The time at which the largest content element in the viewport finishes rendering. This is Google's primary speed metric in Core Web Vitals because it closely matches when the user perceives the page as "loaded." Target: under 2.5 seconds.

The LCP element is typically a hero image, heading text, or large background image. Optimizing the load time of that specific element has the biggest impact on perceived speed.

Interaction to Next Paint (INP)

Measures the responsiveness of the page to user input. INP observes every interaction (click, tap, keypress) and reports the worst-case delay between the interaction and the resulting visual update. Target: under 200ms.

Cumulative Layout Shift (CLS)

Measures visual stability—how much the page content moves around after initial render. A CLS of 0 means nothing shifted. Target: under 0.1. High CLS causes misclicks and frustration (a major source of rage clicks).

Metric Good Needs Improvement Poor
LCP ≤ 2.5s 2.5s – 4.0s > 4.0s
INP ≤ 200ms 200ms – 500ms > 500ms
CLS ≤ 0.1 0.1 – 0.25 > 0.25

How to Measure Page Load Time

Browser DevTools

The fastest way to check your page speed. In Chrome: open DevTools (F12) → Performance tab → click Record → reload the page → stop recording. You'll see a detailed timeline of every resource load, rendering milestone, and JavaScript execution.

For a quick check, the Network tab shows total transfer size and the DOMContentLoaded/Load event timings in the bottom bar.

Lighthouse

Built into Chrome DevTools (Lighthouse tab), this runs a standardized audit of your page performance and gives you a 0–100 score with specific recommendations. It measures FCP, LCP, TBT (Total Blocking Time, correlated with INP), CLS, and Speed Index.

Lab vs. Field Data

Lighthouse measures lab performance—a simulated test on your machine. Real user performance depends on their device, network, and location. Always supplement lab testing with field data (Real User Monitoring) for an accurate picture.

JavaScript Performance API

You can measure page load time programmatically using the browser's built-in Performance API:

// Measure page load time
window.addEventListener('load', function() {
    const perf = performance.getEntriesByType('navigation')[0];

    console.log('DNS lookup:', perf.domainLookupEnd - perf.domainLookupStart, 'ms');
    console.log('TCP connect:', perf.connectEnd - perf.connectStart, 'ms');
    console.log('TTFB:', perf.responseStart - perf.requestStart, 'ms');
    console.log('DOM Content Loaded:', perf.domContentLoadedEventEnd - perf.startTime, 'ms');
    console.log('Full page load:', perf.loadEventEnd - perf.startTime, 'ms');
});

// Measure LCP
new PerformanceObserver(function(list) {
    const entries = list.getEntries();
    const lastEntry = entries[entries.length - 1];
    console.log('LCP:', lastEntry.startTime, 'ms');
}).observe({ type: 'largest-contentful-paint', buffered: true });

Real User Monitoring (RUM)

RUM tools collect performance data from your actual visitors' browsers and aggregate it into dashboards. This gives you the real distribution of load times across devices, networks, and geographies. Inspectlet captures page load timing data for every recorded session, letting you correlate slow load times with user behavior (do users who experience slow loads have higher bounce rates? The data proves it).

External Testing Tools

How to Improve Page Load Time

1. Optimize Images (Biggest Win)

Images typically account for 50%+ of a page's total weight. Quick wins:

2. Reduce Render-Blocking Resources

CSS and synchronous JavaScript in the <head> block rendering. Optimize by:

3. Use a Content Delivery Network (CDN)

A CDN serves your static assets from edge servers geographically close to the user, dramatically reducing latency. For a site with global traffic, a CDN can reduce TTFB from 500ms+ to under 50ms for static resources.

4. Optimize Server Response Time

5. Audit Third-Party Scripts

Analytics tags, chat widgets, ad pixels, and social media embeds can add 500ms–2s to your page load. For each third-party script, ask: is this script worth the performance cost? Consider:

Measure Real User Page Load Times

See page load timing for every session, correlated with user behavior and conversions.

Start Monitoring

Impact on Business Metrics

The relationship between page speed and business outcomes is well-documented:

Page Load Time Benchmarks by Industry

Industry Median Load Time Good Target
E-commerce3.5s< 2.0s
SaaS / Technology2.8s< 1.5s
Media / Publishing4.2s< 2.5s
Financial Services3.0s< 2.0s
Healthcare3.8s< 2.5s
Travel4.5s< 2.5s

Being faster than your industry median is a competitive advantage. Users compare your speed to the last site they visited, not to an abstract benchmark.

Frequently Asked Questions

What's a good page load time?

For Largest Contentful Paint (the metric that matters most for perceived speed), under 2.5 seconds is "good" per Google's standards. Under 1.5 seconds is excellent. For full page load, under 3 seconds is a reasonable target for most sites.

Does page load time affect SEO?

Yes. Google uses Core Web Vitals (LCP, INP, CLS) as ranking signals. Pages that meet "good" thresholds on all three metrics get a ranking boost compared to pages that don't. It's not the dominant factor (content relevance still matters most), but it can be the tiebreaker between similar pages.

How do I measure page load time in PHP?

PHP can measure server-side processing time (how long your server takes to generate the HTML), but it cannot measure the full page load time experienced by the user (which includes network latency, browser rendering, and client-side JavaScript). For server-side timing, use microtime(true) at the start and end of your script. For real user measurement, use the JavaScript Performance API or a RUM tool.

Why is my Lighthouse score different from real user data?

Lighthouse runs on your machine with a simulated network throttle. Real users have different devices (many much slower), different network conditions, different locations, and different browser extensions. Real user data is almost always slower than lab data. Both are useful: Lighthouse for debugging specific issues, RUM for understanding your actual user experience.

Understand How Speed Affects Your Users

See page load times alongside user behavior. Correlate speed with conversions, bounce rates, and engagement.

Start Free