Skip to content

An independent study reference written by Dr Phuc V. Nguyen. It is not official subject material — for assessment requirements always follow your subject outline and vUWS.

Networksintermediate

Closeness centrality

Closeness centrality measures how near an actor sits to everyone else. Take the geodesic distance from that actor to each other actor, meaning the number of steps on the shortest path, add those distances up, and invert. The standard normalisation divides n1n-1 by the total, giving a score between zero and one where high means a short average distance. Closeness reads as reach. It identifies who can get information out, or hear about a problem, in the fewest hops. It breaks on disconnected networks, where at least one distance is infinite, so a harmonic form is used instead.

Why it matters

Closeness is a commute time. Someone near the centre of a city can get anywhere in twenty minutes. Someone at the end of a branch line can reach the same places, but every trip takes an hour. Both are on the network. Only one will hear about a problem on the day it happens. Closeness asks how far you sit from the average person, not how many people sit next to you.

Before you read on — recall

An internal communications team must pick one person to trial a new announcement channel, so that news reaches the whole organisation in as few relays as possible. Which measure fits the brief best?

Formulas

Closeness centrality, normalised
CC(i)=n1jid(i,j)C_C(i) = \frac{n-1}{\sum_{j \ne i} d(i,j)}
Here d(i,j)d(i,j) is the number of steps on the shortest path between ii and jj. The numerator is the smallest the sum could possibly be, which happens when actor ii is one step from everybody, so the score tops out at one. This form assumes a simple undirected network. On a directed relation, out-closeness uses distances from ii and in-closeness uses distances to ii, and the two rank people differently.
Worked on the six-person team
CC(Ana)=51+1+1+2+3=580.63C_C(\text{Ana}) = \frac{5}{1+1+1+2+3} = \frac{5}{8} \approx 0.63
Ana is one step from Ben, Cara and Dan, two from Eve through Dan, and three from Finn. Finn sits at the far end with distances 3, 4, 4, 2 and 1, which sum to 14, so Finn scores 5 over 14, about 0.36. Dan, with only two contacts, also sums to 8 and ties Ana at the top.
Harmonic closeness for disconnected networks
CH(i)=1n1ji1d(i,j)C_H(i) = \frac{1}{n-1} \sum_{j \ne i} \frac{1}{d(i,j)}
An unreachable actor contributes a distance of infinity, and one divided by infinity is zero, so the sum stays finite. This version can be computed on any network, including one that has already split into separate components.

Worked examples

Scenario

A hospital wants to choose two staff to pilot a new handover procedure, so that word of the change spreads quickly and feedback comes back fast.

Solution

Degree would pick the two people with the most contacts, who are often in the same busy unit and reach the same colleagues twice over. Closeness ranks people by average distance to everyone, and in the running six-person team it ties Ana and Dan at about 0.63 even though Ana has three contacts and Dan has two. Dan scores high because Dan sits between the two halves, so nobody is far away. Taking the top two scores separately does not guarantee the best pair, because two high scorers can cover much the same colleagues. If joint reach is the goal, score candidate pairs on how many staff they reach together.

Scenario

An analyst computes closeness on a 400-person collaboration network, finds every score between 0.31 and 0.38, and reports a ranked leaderboard of the top ten.

Solution

The leaderboard is not trustworthy. In a large connected network almost everyone is a few steps from almost everyone, so closeness compresses into a narrow band and small measurement errors reorder the ranking. Two sensible responses. Report bands rather than ranks, or use a measure with more spread such as betweenness. It is also worth checking that the compression is not caused by a few hub accounts, such as an all-staff mailing list, that connect to everybody.

Common mistakes

  • Closeness is degree computed more slowly. Degree looks one step out and closeness looks at the whole network. An actor can have the most contacts and still sit at the edge, and an actor with two well-placed contacts can have the shortest average distance to everyone.
  • A higher closeness score means faster spread of anything. Closeness assumes whatever travels takes the shortest path and moves one step at a time. Money, gossip and infection do not all behave that way, and a measure built on shortest paths can mislead about a flow that wanders.
  • Closeness can be computed on any network as it stands. The standard formula breaks the moment one actor cannot reach another, because that distance is infinite. Either restrict the calculation to a single component and say so, or use the harmonic version.
  • A narrow range of closeness scores means everyone is equally placed. Compression is a property of the measure in large connected networks, not evidence about the organisation. It is a reason to distrust fine-grained rankings, not a finding.

Revision bullets

  • Closeness inverts the summed shortest-path distance to all other actors
  • Normalised form divides n-1 by that sum, so the maximum is one
  • Reads as reach and speed of access, not popularity
  • Undefined on disconnected networks; use harmonic closeness instead
  • Running example: Ana and Dan both score 5 over 8, Finn scores 5 over 14
  • Scores compress in large networks, so fine rankings are fragile

Quick check

An internal communications team must pick one person to trial a new announcement channel, so that news reaches the whole organisation in as few relays as possible. Which measure fits the brief best?

A network splits into a main body of 180 staff and an isolated group of 4 contractors who talk only to each other. Standard closeness is computed on the whole network. What happens?

Connected topics

More in Networks

Sources

  1. Sabidussi, G. "The Centrality Index of a Graph." Psychometrika, 31(4), 581-603, 1966.
    Defines centrality from the sum of distances to all other points, the basis of closeness.
  2. Freeman, L. C. "Centrality in Social Networks: Conceptual Clarification." Social Networks, 1(3), 215-239, 1978/79.
    Gives the normalisation used here and separates closeness from degree and betweenness.
  3. Boldi & Vigna (2014)
    Boldi, P., & Vigna, S. "Axioms for Centrality." Internet Mathematics, 10(3-4), 222-262, 2014.
    Argues for harmonic centrality as the well-behaved alternative when a network is not connected.
How to cite this page
Dr. Phil's Quant Lab. (2026). Closeness centrality. Derivatives Atlas. https://phucnguyenvan.com/concept/ba-closeness-centrality
Next concept
Degree centrality
Built by Dr. Phuc V. Nguyen ·Follow on LinkedInWork with PhilEmail