Grau médio
- Created by
- Renato Passos, Eng. de Software
- Reviewed by
- Renato Passos, Eng. de Software
Last updated: Apr 18, 2026
About this calculator
The average degree calculator determines the average degree of an undirected graph using the formula 2E/V, where E is the number of edges and V is the number of vertices. Each edge contributes to the degree of two vertices, hence the total edges are doubled before dividing by vertices. This metric is crucial for analyzing connection density in complex networks, such as social networks or electrical circuits.
This tool is particularly useful in network studies, where the average degree reflects typical node connectivity. For example, in a social network, a high average degree suggests users interact with many others. In data science, it helps identify whether a network is sparse or dense. Accurate input data (edges and vertices) is essential, and the graph must be undirected for the formula to apply.
Common applications include modeling logistics systems, analyzing electrical circuits, and studying interconnected species in ecology. However, the calculation does not account for edge directionality in directed graphs. For directed graphs, the average degree formula becomes E/V, as each edge counts toward only one source and target node.
Frequently asked questions
Why does the average degree calculation use twice the number of edges?
Each edge connects two vertices, so the total edges are doubled to count contributions from both ends.
Can this calculator be used for directed graphs?
No, the 2E/V formula is for undirected graphs. Directed graphs use E/V as the average degree.
How do I interpret a low average degree in a social network?
A low average degree means users interact with few others, indicating a less connected network.
What happens if the graph has no edges?
The average degree will be zero, as there are no connections between vertices.