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:
- A link from an important node counts more. Importance flows along links.
- 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 be the number of nodes, the out-degree of , and the damping factor, conventionally 0.85. The PageRank vector satisfies, for every node ,
Read it term by term. With probability the surfer teleports to a uniformly random node. With probability it follows a link: each in-neighbour sends 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 the row-normalised adjacency matrix (dangling rows replaced by the uniform row) and the all-ones vector,
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 per iteration. Personalized PageRank replaces the uniform teleport with any other distribution.
Worked example
On the running example with , power iteration converges to a change below 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:
- G beats B, though both have one in-link. G’s link comes from C, the top node, which splits its score two ways. B’s comes from A, which has a lower score and also splits two ways.
- E gets the minimum. Nothing links to E, so it receives only the teleport share plus its share of the dangling mass: . In exact arithmetic, every node with no in-links gets this same floor.
- D and F tie. Each has a single in-link from E, which splits three ways: .
Try it yourself. Change α or add a link from G back to E, and watch E climb:
Properties worth knowing
- Scores are probabilities. They sum to 1, so they shrink as the graph grows. On a graph of 120 million nodes, the average score is . Compare positions, or logarithms, not raw values (see ranks and scores).
- Adding an in-link always helps. In Boldi and Vigna’s terms PageRank satisfies score monotonicity: adding an arc raises ’s score. It fails their size axiom, though: in a graph made of one large clique and one long cycle, every node scores exactly , so PageRank cannot tell a big community from a small one (see axioms for centrality).
- Small α flattens, large α concentrates. With the running example’s range shrinks from 0.05–0.30 to 0.09–0.24. As the scores pile into the strongly connected core and convergence slows (see damping factor).
- It can be farmed. A group of sites that link to each other and to a target trap the random surfer and pump the target’s score. TrustRank, spam mass and harmonic centrality all respond to this weakness (see link spam).
At web scale
Each power iteration reads every arc once and updates a score vector of 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 , almost all of chaussurespuma.net’s score of . 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
- Brin, S., & Page, L. (1998). The anatomy of a large-scale hypertextual Web search engine. Computer Networks and ISDN Systems 30(1–7), 107–117.
- Page, L., Brin, S., Motwani, R., & Winograd, T. (1999). The PageRank citation ranking: Bringing order to the Web. Stanford InfoLab Technical Report 1999-66.
- Langville, A. N., & Meyer, C. D. (2006). Google’s PageRank and Beyond: The Science of Search Engine Rankings. Princeton University Press.
- Boldi, P., & Vigna, S. (2014). Axioms for centrality. Internet Mathematics 10(3–4), 222–262.
Links here
Adjacency matrices and lists · Authority Score (Semrush) · Axioms for centrality · Backlinks and referring domains · Betweenness centrality · Centrality · CheiRank and 2DRank · Degree · Degree centrality · Domain Authority (Moz) · Domain Rating (Ahrefs) · Eigenvector centrality · Harmonic centrality · HITS (hubs and authorities) · k-core decomposition · Katz centrality · Kendall's tau · Link attributes (nofollow, sponsored, ugc) · Link spam · Monte Carlo PageRank · Page, host and domain graphs · Personalized PageRank · Power iteration · Push algorithms · Random graph models · Random walks and Markov chains · Rank-biased overlap · Reading a domain's link metrics · Reciprocity · Redirects and canonicalisation · Spam mass · Spearman's rho · Strongly connected components · The bow-tie structure · The Common Crawl web graph · The damping factor · The Perron–Frobenius theorem · The random surfer · The web graph · Trust Flow and Citation Flow (Majestic) · TrustRank · Weighted tau