How site grades work
What the letter on a site report means.
How the grade is set
- Every check lands in one of seven categories. Each category starts at 100 and loses the points of every check that warns or fails, down to 0.
- The overall score is the average of the category scores, weighted as below. A category where nothing could be measured is left out rather than counted as 0.
- The letter is the highest band the score reaches. A+ also needs no failed check.
- A few problems cap the grade whatever the score.
A check that could not be measured (the site timed out, or one of the lookups ran out of time) never costs points. The report says so and is marked partial.
The scale
| Grade | Score |
|---|---|
| A+ | 95 or more, with no failed check |
| A | 90 or more |
| B | 80 or more |
| C | 70 or more |
| D | 60 or more |
| F | 0 or more |
Category weights
| Category | Weight |
|---|---|
| HTTPS | 25% |
| Security headers | 20% |
| Availability | 15% |
| SEO | 15% |
| DNS | 10% |
| Domain | 10% |
| Content | 5% |
Caps
| Cap | Best grade | When |
|---|---|---|
| unreachable | No grade | The site gave no answer: no grade. |
| certificate-invalid | F | The SSL tool finds the certificate untrusted (expired, not yet valid, revoked, for another host or from an untrusted root), or, when the SSL lookup gave no answer, the site's own HTTPS fetch failed on the certificate: F. |
| no-https | C | No HTTPS answers on the host: at most C. |
| domain-hold | F | The domain is in a clientHold or serverHold status: F. |
Every check
Points come off the check's own category. The ids are stable, so API callers can key off them. Checks marked as coming from the SSL, DNS or Domain tool reuse that tool's own lookup, and the SSL grade is shown for information only.
Availability (15%)
| Check | Rule | Warn | Fail |
|---|---|---|---|
Reachable reachable | The URL answers with a final status below 400. A 4xx or 5xx, or no answer at all (DNS, connection, TLS, timeout), fails. | — | −100 |
Response time response-time | Time to first byte of the final response. Warns over 1000 ms, fails over 3000 ms. | −10 | −30 |
Redirects redirects | Redirects before the final response. Warns over 2 hops; fails on a loop, a missing or invalid Location, or more than 5 hops. | −5 | −30 |
HTTPS (25%)
| Check | Rule | Warn | Fail |
|---|---|---|---|
HTTP redirects to HTTPS https-redirect | http:// on the same host redirects to https://. Warns when the redirect is temporary (302/303/307), fails when plain HTTP serves the page. Passes by absence when port 80 refuses connections; not applicable without HTTPS. | −5 | −20 |
HTTPS available https-available | https:// on the same host answers over a TLS connection with a certificate the fetch trusts. Fails otherwise. | — | −60 |
Certificate valid certificate-valid from the SSL tool | The certificate chains to a trusted root and covers the host (from the SSL tool). | — | −60 |
Certificate expiry certificate-expiry from the SSL tool | Days until the certificate expires. Warns under 30 days, fails under 7 or when expired (from the SSL tool). | −10 | −40 |
TLS protocols tls-protocols from the SSL tool | TLS 1.2 or 1.3 offered. Warns when TLS 1.0 or 1.1 is still accepted; fails when SSL 2.0 or 3.0 is, or only TLS 1.1 or older is offered. Not checked when the TLS 1.0 or 1.1 probe got no definite answer; an SSL 3.0 or 2.0 probe with no answer is noted, not judged (from the SSL tool). | −10 | −30 |
SSL grade ssl-grade from the SSL tool | Informational: the SSL tool's own letter (A+, A, A-, B, C or F, on the SSL Labs scale). Warns at B, C or F, at no cost: the certificate, expiry and protocol checks carry the score. | no cost | — |
Security headers (20%)
| Check | Rule | Warn | Fail |
|---|---|---|---|
Strict-Transport-Security hsts | Read from the HTTPS response. Fails when missing, warns when max-age is missing, malformed or under 6 months (15768000 s). Not applicable without HTTPS. | −10 | −20 |
Content-Security-Policy content-security-policy | Fails when missing. Warns when only Content-Security-Policy-Report-Only is sent, or the policy's script-src (or default-src) allows 'unsafe-inline' without a nonce or hash, 'unsafe-eval', or a bare *, http: or https: source. | −10 | −25 |
X-Frame-Options x-frame-options | Passes with X-Frame-Options DENY or SAMEORIGIN, or a CSP frame-ancestors directive. Warns on any other value, fails when neither is sent. | −5 | −10 |
X-Content-Type-Options x-content-type-options | Passes with nosniff, fails otherwise. | — | −5 |
Referrer-Policy referrer-policy | Warns when missing (browsers default to strict-origin-when-cross-origin). Fails on unsafe-url or no-referrer-when-downgrade. | −5 | −10 |
Permissions-Policy permissions-policy | Informational: warns when missing, at no cost. | no cost | — |
Cookies cookies | Every Set-Cookie along the redirect chain. Over HTTPS, fails when a cookie lacks Secure; warns when one lacks SameSite, or a session-looking cookie (sess, sid, auth, token, login) lacks HttpOnly. Over plain HTTP, warns when cookies are set at all. Not applicable when no cookie is set. | −5 | −15 |
Server disclosure server-disclosure | Warns when Server, X-Powered-By, X-AspNet-Version or X-AspNetMvc-Version carries a version number. | −5 | — |
Content (5%)
| Check | Rule | Warn | Fail |
|---|---|---|---|
Mixed content mixed-content | http:// subresources on an HTTPS page. Fails on active content (scripts, stylesheets, frames, objects), warns on passive content (images, media). Passes when the page sets upgrade-insecure-requests. Not applicable over plain HTTP or without an HTML page. | −10 | −30 |
Compression compression | The HTML came gzip, br, deflate or zstd encoded. Warns when an HTML page over 1 KB came uncompressed. Not applicable without an HTML page. | −15 | — |
Page weight page-weight | Decoded HTML size. Warns over 512 KB, fails over 2 MB or at the 3 MB read cap. | −10 | −30 |
HTTP version http-version | Informational. Passes when Alt-Svc advertises HTTP/3, or the TLS handshake negotiates HTTP/2 (ALPN, from the SSL tool). Warns when only HTTP/1.1 is offered, at no cost. Not checked without either. | no cost | — |
SEO (15%)
| Check | Rule | Warn | Fail |
|---|---|---|---|
Title title | A <title> in the head. Fails when missing or empty, warns outside 10-60 characters. | −5 | −15 |
Meta description meta-description | A meta description. Fails when missing or empty, warns outside 50-160 characters. | −5 | −10 |
Canonical URL canonical | A link rel=canonical. Warns when missing, not a valid http(s) URL, or on a different host than the final URL. | −5 | — |
Indexable indexable | Fails when a meta robots or X-Robots-Tag says noindex, or robots.txt disallows the final URL for every crawler (User-agent: *). | — | −30 |
robots.txt robots-txt | /robots.txt on the final URL's origin answers 200 as text. Warns when it is missing (404) or answers with an error. Not checked when the fetch times out. | −5 | — |
Sitemap sitemap | The first Sitemap: line of robots.txt, else /sitemap.xml, answers 200 with XML (or gzip). Warns when missing or not XML. Not checked when the fetch times out. | −5 | — |
Viewport viewport | A meta viewport tag. Warns when missing. | −5 | — |
Language lang | A lang attribute on <html>. Warns when missing. | −5 | — |
Character set charset | A charset in the Content-Type header or a meta tag. Warns when neither declares one. | −3 | — |
H1 heading h1 | At least one <h1>. Warns when there is none. | −5 | — |
Open Graph open-graph | og:title, og:description and og:image. Warns when any is missing. | −5 | — |
Favicon favicon | A declared icon link. Warns when none is declared (browsers fall back to /favicon.ico). | −2 | — |
DNS (10%)
| Check | Rule | Warn | Fail |
|---|---|---|---|
DNS resolves dns-resolves from the DNS tool | The host has A records, directly or through a CNAME; AAAA (IPv6) is reported as information. Warns when the host has only AAAA records, fails when it has neither. Not checked when a lookup the verdict rests on got no answer (from the DNS tool). | −5 | −100 |
Nameservers nameservers from the DNS tool | The registrable domain's NS records: at least two nameservers, on more than one network. Fails with fewer than two; warns when every nameserver was resolved and all their IPv4 addresses sit in one /24 (from the DNS tool). | −15 | −40 |
CAA caa from the DNS tool | A CAA record on the host or a parent that authorizes the certificate's issuer. Warns when no CAA record is published (any authority may issue); fails when CAA names only other authorities (from the SSL tool's CAA lookup). | −10 | −30 |
DNSSEC dnssec from the Domain tool | Informational: whether the zone is signed (from the domain tool). | no cost | — |
Email authentication email-auth from the DNS tool | Informational: an SPF record (a v=spf1 TXT at the registrable domain) and a DMARC record (a v=DMARC1 TXT at _dmarc). Warns when either is missing, at no cost (from the DNS tool). | no cost | — |
Domain (10%)
| Check | Rule | Warn | Fail |
|---|---|---|---|
Domain expiry domain-expiry from the Domain tool | Days until the registration expires. Warns under 30 days, fails under 7. Not checked when the registry publishes no expiry (from the domain tool). | −20 | −60 |
Domain status domain-status from the Domain tool | EPP status codes. A clientHold or serverHold fails and caps the grade at F. Warns in redemptionPeriod, pendingRestore or pendingDelete, when the registration has lapsed (from the domain tool). | −10 | −100 |
Want the report in your own tools? See the Site API docs.