- Introduced by
- Bavelas, A.; formalized by Freeman, L. C.
- Year
- 1950 (formalized 1979)
- Type
- Node-level centrality index
- Family
- Network science
What does it do?
Closeness centrality measures how quickly a node can reach all others in a network, computed as the inverse of its average shortest-path distance to every other node.
Bavelas (1950) is the origin the page credits, and Freeman (1979) formalized the measure alongside degree and betweenness centrality. It identifies nodes that can spread information or resources efficiently across the whole graph, not merely nodes with many direct contacts.
The intuition behind the method
Imagine dropping a message at a node and watching how fast it reaches every corner of the network. A node with high closeness sits near the center of the web of connections: it needs fewer hops on average to get to anyone else. A peripheral node, even one with many neighbors, may still be far from large parts of the network. Closeness captures this geography-of-the-network idea: short average distance means high closeness, and high closeness means efficient broadcasting or rapid access to information flowing across the graph.
History
The idea is traced to Alex Bavelas's 1950 paper on communication patterns in task-oriented groups. Linton Freeman's 1979 Social Networks paper formalized closeness together with degree and betweenness as three canonical node-level centrality measures, giving social network analysis a shared mathematical framework.
When to use it
Choose closeness centrality when the question concerns how quickly a node can reach the rest of the network through chains of intermediaries, for example which node could pass information or resources to most others in the fewest steps. It fits connected or nearly connected graphs of moderate size, with unweighted or weighted edges where distance has a meaningful interpretation. Do not use it as the main centrality measure for highly fragmented networks: most pairs are then unreachable, so the sum of distances is infinite, raw scores are uninformative, and a reachability-adjusted normalization or separate component analysis is needed. If the question concerns direct ties or the volume of contact, degree centrality is the more direct measure, because a node can have many direct ties and still be peripheral in global reach. On very large graphs, exact computation over all pairs becomes costly, so approximation methods may be needed.
Limitations and considerations
- Sensitive to graph connectivity: in disconnected networks the raw measure collapses and requires normalization adjustments.
- Treats all shortest paths as equally important; does not account for the volume of traffic or the probability that a specific path is actually used.
- Computationally expensive on very large graphs (millions of nodes) because all-pairs shortest-path computation scales poorly without approximation algorithms.
- Does not distinguish between a node that is close to many weak ties versus one close to a few strong, strategically important ties.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Captures global reachability rather than just local connectivity, making it well suited to studying information flow and diffusion.
- For unweighted connected graphs the normalized score lies between 0 and 1, which helps compare nodes across networks of different sizes; for weighted graphs the score is not bounded by 1 and should be compared within a single network.
- Uses only shortest-path distances and has no tuning parameter in its definition, so the same network always yields the same scores.
- Complements degree and betweenness centrality to give a richer picture of node roles.
- Efficiently computable with BFS (unweighted) or Dijkstra (weighted) for most empirical networks.
Applications
- Identifying key information brokers or opinion leaders in organizational and social networks.
- Shortlisting candidate seed nodes for information or disease diffusion as a structural screen only; closeness ignores path usage and transmission probabilities, so it should be combined with diffusion models before seeds are chosen.
- Ranking transit stations or road intersections by their overall accessibility in transportation networks.
- Locating influential proteins or genes in biological interaction networks.
- Detecting influential early adopters in technology diffusion studies.
- Screening public-health contact networks for candidate intervention targets to slow epidemic spread, with the caveat that closeness reflects structural reachability only and should be combined with transmission models.
How it works
How it works
Represent the network as a graph where nodes are actors (people, organizations, web pages, genes, etc.) and edges encode relationships or interactions. The graph may be undirected or directed; edges may be unweighted (each hop costs 1) or weighted (cost equals edge weight, interpreted as distance or inverse strength).
For each node v, compute the shortest-path distance d(u, v) to every other reachable node u using Breadth-First Search for unweighted graphs or Dijkstra's algorithm for weighted graphs. For directed graphs, only paths following edge direction are valid, so in-closeness and out-closeness may differ.
Formula
d(u,v) = \text{shortest path length between nodes } u \text{ and } vSum all shortest-path distances from v to every other node to obtain v's farness. A small farness means v is close on average to the rest of the network; a large farness indicates peripherality.
Formula
\text{farness}(v) = \sum_{u \neq v} d(u, v)Divide (n-1) by the farness: C(v) = (n-1) / sum of d(u, v). This equals the reciprocal of the mean distance from v to the other nodes. Because the numerator is already (n-1), no further scaling is applied. The formula assumes that every other node is reachable from v; if some are not, the distance sum is infinite and the score must be computed with the reachability-adjusted form described under disconnected-handling. In an unweighted connected graph every distance is at least 1, so the score cannot exceed 1, and a value of 1 means v is adjacent to every other node. Higher values indicate a more central, reachable position.
Formula
C(v) = \frac{n-1}{\sum_{u \neq v} d(u, v)}In disconnected graphs the distance to an unreachable node is infinite, so the sum in the formula above is undefined without a convention. The Wasserman-Faust normalization sums only over reachable nodes and scales the result by the share of the graph that the node can reach. As a result, nodes in small components receive scores reduced in proportion to how little of the network they can access, rather than scores computed as if the whole network were reachable.
Common pitfalls
- Reporting raw closeness on a network with disconnected components without applying Wasserman-Faust normalization, producing misleading near-zero scores.
- Treating closeness and degree centrality as interchangeable — high degree does not imply high closeness, and vice versa.
- Ignoring whether edges are directed: in directed networks, closeness should be computed separately for in- and out-directions.
- Applying unweighted closeness to a weighted network where edge weights encode meaningful distances, losing information about relationship strength.
- Comparing closeness scores across networks of different sizes or connectivity without using a normalized, reachability-adjusted version of the measure.
Frequently asked questions
How does closeness differ from degree centrality?
Degree centrality counts only direct neighbors, so a node can score high if it has many connections even if those connections are all clustered in one part of the network. Closeness considers the shortest path to every node in the graph, so it rewards global reachability. A node embedded in one dense cluster may have high degree but low closeness.
What should I do when my network has disconnected components?
Use a reachability-adjusted normalization of the Wasserman-Faust type, which sums distances only over reachable nodes and scales the result by the share of the network each node can reach. Alternatively, analyze the largest connected component separately, or use harmonic centrality (the sum of reciprocal distances), which is a different measure that gives unreachable pairs a contribution of zero.
Does closeness work on weighted networks?
Yes. Replace BFS with Dijkstra's algorithm, using edge weights as distances (or the inverse of strength or similarity weights if higher weight means closer). Dijkstra's algorithm requires non-negative weights, so check that the weights encode distance in this sense before computing. The resulting weighted closeness reflects both the network topology and the edge weights.
How do I interpret the normalized closeness score?
A score close to 1 means the node is, on average, adjacent to every other node, so it sits at the center of the network. For unweighted connected graphs the score cannot exceed 1, and lower values mean longer average distances. Whether a given value counts as central depends on the network, so compare nodes within the same graph rather than applying a fixed cut-off.
Is closeness appropriate for directed networks?
Yes, but compute it separately in each direction. In-closeness measures how easily others can reach the focal node (useful for studying node prestige or receptivity), while out-closeness measures how easily the focal node can reach others (useful for studying broadcasting capacity).
Related methods
Sources
Freeman, L. C. (1979). Centrality in social networks: Conceptual clarification. Social Networks, 1(3), 215–239.
Open DOI referenceBavelas, A. (1950). Communication patterns in task-oriented groups. Journal of the Acoustical Society of America, 22(6), 725–730.
Open DOI reference