Skip to content
Back to LENS

Methodology

How the score is calculated

Every number in a LENS report comes from a measurement that was actually performed. This page documents the formulas, the weights and — just as importantly — the things a single-page audit cannot tell you.

Measurement sources

SourceUsed forProvenance label
Headless Chromium (real render)Lab Web Vitals, network accounting, computed styles, contrast, layout overflow, touch targets, screenshotslab / browser
Delivered HTMLMetadata, headings, structured data, form labelling, link inventorymarkup
HTTP responsesStatus codes, redirects, cache and security headers, robots.txt, sitemap, certificatehttp
Chrome UX Report (optional)Real-user field metrics, only when a dataset exists for the originfield

Overall LENS Score

The overall score is the weight of each assessed category multiplied by its score, normalised over the categories that could be assessed. Categories that could not be measured are excluded from both the numerator and the denominator, so an unmeasurable check never counts as a failure.

CategoryWeightBasis
Performance26%Lab metric curves for LCP, CLS, TBT, FCP, transfer size and request count.
Accessibility20%Severity-weighted findings across alt text, labels, contrast, names, landmarks and ARIA.
SEO19%Weighted pass/partial/fail over eleven technical signals.
Mobile16%Viewport declaration, measured overflow, touch target and text-size checks at three widths.
Links10%Share of checked links and resources that resolved, weighted toward internal links.
Security9%Transport security plus the presence of hardened response headers.
90–100 Excellent 75–89 Good 50–74 Needs improvement 0–49 Poor

Category formulas

Performance

Each metric is scored on a curve: at or below Google's “good” threshold it scores 100; at the “poor” threshold it scores 50; beyond that it decays toward 0 at roughly three times the poor value.

Weights: LCP 26%, CLS 25%, TBT 21%, FCP 14%, transfer size 9%, request count 5%. Weights are renormalised over the metrics that were actually measured.

The score reflects measured speed only. Opportunities such as oversized images and render-blocking resources are reported as findings; they are not double-counted into the score.

Accessibility

Starts at 100 and subtracts for each finding: critical −25, high −12, medium −5, low −2, with a floor of 10.

Contrast is measured from computed styles against the nearest opaque ancestor background using WCAG relative luminance. It is sampled, not exhaustive.

When no browser session is possible, contrast, focus order and rendered target sizes are reported as not assessed and the category coverage is marked as partial.

SEO

Eleven signals are weighted: indexability (14), title (14), meta description (10), H1 (10), sitemap (10), canonical (6), Open Graph (6), structured data (6), robots.txt (6), image alt coverage (6), internal linking (6).

A passing check earns full weight, a partial check earns 45%, a failing check earns nothing. The total is normalised to 100.

A noindex directive or a 4xx/5xx main document caps the category at 35, because ranking is impossible in that state.

Mobile

Rendering is measured at 390 × 844, 834 × 1112 and 1440 × 900 CSS pixels: overflow width, tap targets under 24 px, and text rendered below 12 px.

Deductions: missing viewport meta −32, horizontal overflow at 390 px −24, at 834 px −8, zoom disabled −8, plus up to −14 for undersized targets and −10 for small text.

No conclusion about responsiveness is drawn from static markup alone. If rendering fails, the category is reported as not assessed.

Links

LENS checks a prioritised sample of up to 60 links and resources found on the analysed page — it does not crawl the site.

Score is the weighted share of internal (×3) and external (×1) destinations that resolved. Blocked responses (401/403/429) are treated as inconclusive instead of broken, so anti-bot protection does not create false failures.

Redirect chains of two or more hops and detected loops are reported separately.

Security

Starts at 100 and subtracts fixed weights for missing headers: CSP −20, HSTS −15, X-Content-Type-Options −10, Referrer-Policy −10, Permissions-Policy −8, X-Frame-Options −7.

Transport problems subtract further: no HTTPS −30, missing HTTP→HTTPS redirect −8, mixed content −15, invalid certificate −20.

This is a configuration overview. LENS performs no exploitation, no credential testing and no intrusive scanning, and the result is not a security certification.

What a single-page audit cannot tell you

  • Real-user field performance for a whole origin. LENS shows field data only when Chrome UX Report coverage exists, and always labels it separately.
  • Sitewide crawl health. Link checking is a sample of the analysed page, not a crawl of the domain.
  • Responsiveness on physical devices. Viewport rendering is a strong signal, not a substitute for device testing.
  • Whether a page is indexed by a search engine right now. LENS reads the page's own directives and indexability signals.
  • Security posture beyond observable configuration. No exploitation or vulnerability discovery is attempted.
  • Content quality, brand, conversion performance or business outcomes.

Ethics and access

LENS only analyses publicly reachable http/https pages. Requests are rate-limited, capped in size and duration, and limited in number. Targets that resolve to private, loopback or link-local address space are refused, and every redirect is re-validated. LENS does not bypass authentication, CAPTCHAs, paywalls or firewalls, and it does not store credentials, cookies or personal data from analysed pages.

Analyze a website