Link Graph Encyclopedia

Centrality

PageRank

A node is important if important nodes link to it. PageRank makes that circular idea precise as the long-run behaviour of a random surfer who sometimes gets bored and jumps.

PageRank scores every node of a link graph by the fraction of time a random surfer spends there. The surfer starts anywhere, follows a random out-link at each step, and every so often jumps to a random node instead. Sites that many well-visited sites link to get visited often. Larry Page and Sergey Brin introduced it in 1998 as the ranking core of the Google search engine, and it remains the reference point that every other link-based ranking is compared against.

The idea

Counting in-links (degree centrality) treats every link as equal. PageRank adds two rules:

  1. A link from an important node counts more. Importance flows along links.
  2. A node splits its importance among its out-links. A site that links to a thousand others passes each one a thousandth of what a site linking to one passes.

The definition is circular, since importance depends on importance. The random surfer model resolves the circularity: PageRank is the stationary distribution of a random walk, the distribution that one more step of the walk leaves unchanged.

Definition

Let nn be the number of nodes, d+(u)d^+(u) the out-degree of uu, and α∈(0,1)\alpha \in (0, 1) the damping factor, conventionally 0.85. The PageRank vector pp satisfies, for every node vv,

p(v)=1−αn+α(∑u→vp(u)d+(u)+∑u : d+(u)=0p(u)n).p(v) = \frac{1 - \alpha}{n} + \alpha \left( \sum_{u \to v} \frac{p(u)}{d^+(u)} + \sum_{u \,:\, d^+(u) = 0} \frac{p(u)}{n} \right).

Read it term by term. With probability 1−α1 - \alpha the surfer teleports to a uniformly random node. With probability α\alpha it follows a link: each in-neighbour uu sends vv an equal share of its own score. The last sum handles dangling nodes: a surfer stuck on a node with no out-links teleports uniformly. The scores are positive and sum to 1.

In matrix form, with PP the row-normalised adjacency matrix (dangling rows replaced by the uniform row) and 1\mathbf{1} the all-ones vector,

p=α pP+1−αn1⊤.p = \alpha\, p P + \frac{1 - \alpha}{n} \mathbf{1}^\top .

The Perron–Frobenius theorem guarantees exactly one solution, and power iteration finds it by applying the right-hand side repeatedly. The error shrinks by a factor of about α\alpha per iteration. Personalized PageRank replaces the uniform teleport with any other distribution.

Worked example

On the running example with α=0.85\alpha = 0.85, power iteration converges to a change below 10−1210^{-12} after 43 iterations:

Node C A G B D F E
PageRank 0.2977 0.2052 0.1774 0.1381 0.0653 0.0653 0.0509
In-degree 4 2 1 1 1 1 0

C wins, as in-degree predicts. The surprises are lower down:

Try it yourself. Change α or add a link from G back to E, and watch E climb:

Properties worth knowing

At web scale

Each power iteration reads every arc once and updates a score vector of nn entries. For Common Crawl’s domain graph that is 2.45 billion arcs and two vectors of 119.7 million doubles (958 MB each). Common Crawl runs the LAW library’s parallel Gauss–Seidel solver on the transposed graph, which converges in fewer passes than plain power iteration (see PageRank as a linear system). PageRank at scale works through the memory budget, and Monte Carlo PageRank and push algorithms approximate scores without touching the whole graph.

PageRank on the real web

In Common Crawl’s 2026 domain graph the top of the PageRank list is the infrastructure every site embeds: googleapis.com (0.0152), google.com (0.0151), facebook.com (0.0094), googletagmanager.com and instagram.com. The common ranking with harmonic centrality diverges further down, and the divergence shows what PageRank rewards:

Domain Referring domains PageRank position Harmonic position
godaddy.com 1,472,755 14 135
parastorage.com 2,923,364 16 81,305
miit.gov.cn 722,788 28 981

PageRank pays most for links from sites that link to little else, because each such link carries a large share of its source’s score. godaddy.com is linked from parked pages and from sites built with its tools, and miit.gov.cn from the registration notice that Chinese sites display. Harmonic centrality ignores how a source splits its links and only asks how close the rest of the graph is.

The extreme case sits further down. chaussurespuma.net has seven referring domains, yet it holds PageRank position 10,000 of 119.7 million. One of the seven is googleapis.com, the top domain, which links to only 3,686 domains. That single link passes 0.85×0.0152/3686=3.5×10−60.85 \times 0.0152 / 3686 = 3.5 \times 10^{-6}, almost all of chaussurespuma.net’s score of 3.53×10−63.53 \times 10^{-6}. Google Cloud Storage serves user files from storage.googleapis.com, so the link may sit on a page any customer uploaded; the domain graph credits it to googleapis.com all the same (see page, host and domain graphs).

What it means for a domain

Google’s production ranking has used many signals beyond PageRank for decades, and its link analysis runs on pages, not domains, with spam filtering and link attributes applied. A domain graph’s PageRank is a useful, reproducible proxy for one question: how much of the web’s link attention flows to this domain? Reading domain metrics explains how to read Common Crawl’s PageRank position next to the vendor scores, and the history of PageRank entry tells the story of the public Toolbar PageRank, a log-scaled 0–10 version of this number that Google retired in 2016.

References

Edit this entry on GitHub