Site icon DataForSEO

How is OnPage score of a domain calculated?

onpage_score is an OnPage API proprietary metric that estimates the quality of technical page optimization. It considers critical on-page errors and warnings detected on the page.

We already described how onpage_score is calculated for a single page. In this article, we will demonstrate the calculation process for an entire domain.

The basic principle remains the same, but in this case, additional variables are added to the formula: the number of pages where a specific error (and warning) appears and the total number of scanned pages.

The formula looks as follows:

Sc = 100 – (∑((55 x En x N) / (78 * Ntotal)) + ∑((45 x Wn x N) / (123 * Ntotal)))

 

Note that broken pages always have an OnPage score of 0. If the domain has broken pages, an additional variable is added to the formula: Sc – number of broken pages / Ntotal

Assume that we scanned 10 pages of the domain and discovered that it has two pages where high_loading_time and is_http are true and two pages where duplicate_title and no_image_alt are true. In this case, the calculation will be performed as in the following example

1 First, we calculate the score of each check.

Errors:

high_loading_time

(55 x 10 x 2) / (78 x 10) = 1.41

is_http

(55 x 8 x 2) / (78 x 10) = 1.12

Warnings:

duplicate_title

(45 x 10 x 2) / (123 x 10) = 0.73

no_image_alt

(45 x 8 x 2) / (123 x 10) = 0.58

2 Then, we sum up the check scores.

Errors:

1.41 + 1.12 = 2.53

Warnings:

0.73 + 0.58 = 1.31

3 Finally, we subtract the resulting values from the maximum possible OnPage score of the domain:

100 – 2.53 – 1.31 = 96.16

4 The onpage_score of the domain in this case is 96.16

Exit mobile version