Coef cluster local

2T/(k(k−1)).
Created by
Renato Passos, Eng. de Software
Reviewed by
Renato Passos, Eng. de Software

Last updated: Apr 18, 2026

C_i
0,5000

About this calculator

The local clustering coefficient calculator measures how connected the neighbors of a node are in a network. It uses the formula 2T / [k(k−1)], where T is the number of triangles formed by the node's neighbors and k is the node's degree (number of connections). This metric helps analyze social, biological, or infrastructure networks to assess how tightly clustered a node's neighbors are.

To use the calculator, input the number of triangles formed by the node's neighbors (T) and its degree (k). The formula compares actual connections between neighbors to the maximum possible, producing a value between 0 and 1. A high value means neighbors are highly connected, while a low value suggests a more sparse structure.

It's applied in robustness studies, such as analyzing friendships in social networks or protein interactions in biology. Caution: don't confuse the local coefficient with the global one, which measures the entire network. If the node has fewer than two neighbors (k < 2), the calculation fails since no triangles can form.

Frequently asked questions

What is the local clustering coefficient?

It's a metric measuring the density of connections among a node's neighbors in a network.

How does the calculator work?

It uses the formula 2T / [k(k−1)], comparing actual triangles to the maximum possible connections between neighbors.

When should I use it?

For social, biological, or infrastructure network analyses to identify local connectivity patterns.

What if the node has no edges?

The calculation won't be valid since k (node degree) can't be zero.

Is the result a percentage?

No, it's a value between 0 and 1 representing the ratio of actual to possible connections.

Other Grafos Avançado calculators