MyVIPWebTools logo

Adjacency Matrix Calculator — Convert an Edge List to a Matrix

Our Adjacency Matrix Calculator takes a graph entered as a simple text edge list (weighted like A-B:4 or unweighted like A-B) and builds its full adjacency matrix — a grid showing which nodes connect to which, and at what weight — along with the derived degree sequence for every node.

Quick Answer

Enter your graph as an edge list to instantly build its adjacency matrix and see the degree sequence for every node.

Enter edges as NodeA-NodeB (unweighted) or NodeA-NodeB:weight (weighted), e.g. A-B, A-C:2.

How to Use the Adjacency Matrix Calculator — Build a Graph Matrix Online

  1. 1

    Enter your graph as a comma-separated edge list, e.g. A-B, A-C, B-C (unweighted) or A-B:4, A-C:2 (weighted).

  2. 2

    Click 'Calculate' to build the adjacency matrix.

  3. 3

    Review the matrix grid and the degree of each node.

Why Use Adjacency Matrix Calculator — Build a Graph Matrix Online?

An adjacency matrix represents a graph as a grid of numbers: entry (i, j) holds the weight of the edge between node i and node j, or 0 if no edge exists — a representation that turns graph problems into matrix and linear algebra problems, and that many graph algorithms use internally for fast edge lookups. This calculator builds that matrix directly from a compact edge-list description and reads off the degree sequence (how many edges touch each node) as a byproduct.

Frequently Asked Questions

Related Tools

Adjacency Matrix Calculator — Build a Graph Matrix Online | MyVIPWebTools