Graph Density

Calculate Graph Density instantly with the exact formula and a worked example.

Graph Density

Vertices (V)pcs
Edges (E)pcs
Directed graph (1 = yes)
Density
33.3333%
Calculate Graph Density instantly with the exact formula and a worked example.
Maximum edges
45
Average vertex degree
3
Density (fraction)
0.3333

More about: Graph Density

What it calculates

The “Graph Density” calculator computes Density in % from 3 parameters: vertices (v) (pcs), edges (e) (pcs), directed graph (1 = yes).

Standard IT calculations for developers and sysadmins.

Example calculation

With parameters Vertices (V) = 10 pcs, Edges (E) = 15 pcs, Directed graph (1 = yes) = 0 the result is 33.33 %.

How to use

  1. Enter vertices (v), edges (e) and directed graph (1 = yes) — each field above is adjustable with a slider.
  2. Density (%) is calculated automatically as you type.
  3. Check the worked example below to see the formula applied to real numbers.
  4. Copy the result or bookmark this calculator.

Related calculators

FAQ

How is Graph Density calculated?
The Graph Density calculator computes Density (in %) from vertices (v), edges (e), directed graph (1 = yes). Enter your values above and the exact formula is applied instantly; a worked example with real numbers is shown below.
Is the Graph Density calculator free?
Yes. It is completely free, needs no signup, runs entirely in your browser, and sends no data to any server.

More calculators in this category

Explore related free tools

Bellman-FordFloyd-WarshallKnapsack DPEdit Distance (Levenshtein)Jaro-Winkler DistanceCosine SimilarityTF-IDFSilhouette ScoreCable Length (CAT5e/6)CSS Cubic BezierCSS Border RadiusColor Tint / Shade