Skip to content
Allin

Adjacency matrix calculator

Turn any graph into its adjacency matrix. Paste an edge list (A-B), an adjacency list (A: B C D) or a binary matrix — the tool auto-detects the format, builds the labelled adjacency matrix, and reports the degree sequence, in/out-degrees for directed graphs, and the vertex and edge counts.

Matrix CalculatorAdd, subtract and multiply matrices, scale, transpose, and find the determinant and inverse of A.2×2 matrix determinant calculatorCompute the determinant of a 2×2 matrix (ad − bc).Matrix Power Calculator (Aⁿ, n from −10 to 20)Raise a 1×1 to 5×5 matrix to any power from −10 to 20 in exact fractions: A⁰ = I, binary exponentiation for positive n, the exact inverse for negative n, and an honest det(A) = 0 when no inverse exists.Matrix Rank CalculatorThe rank of a matrix by row reduction — the number of linearly independent rows.Matrix Trace CalculatorThe trace of a square matrix — the sum of its main-diagonal entries.Angle Between Two Vectors Calculatorθ = arccos(a·b / (|a||b|)) in 2D or 3D, in degrees and radians, with the dot product, both magnitudes, the projections and a parallel / perpendicular / acute / obtuse verdict.Cholesky decomposition calculatorFactor a symmetric positive-definite matrix A into L·Lᵀ, where L is lower triangular — the Cholesky decomposition. Enter A on an editable square grid and it returns L, Lᵀ and the product L·Lᵀ; if the matrix is not symmetric or not positive-definite, it tells you which condition failed. Twice as fast as LU, Cholesky is used in optimization, Kalman filters and Monte-Carlo simulation.Column Space Calculator (basis of Col(A), rank, pivot columns)A basis of the column space of any matrix up to 6×6, taken from the ORIGINAL pivot columns rather than the reduced ones — with the rank, the free columns, the full RREF and every row operation.

Open Adjacency matrix calculator and you get an answer straight away, with no account to create. It covers B C D) or a binary matrix — the tool auto-detects the format, builds the labelled adjacency matrix, and reports the degree sequence, in/out-degrees for directed graphs, and the vertex and edge counts — adjust any of them and the result follows immediately.

How to use it

  1. Open the tool — no signup or install needed.
  2. Enter your input or adjust the available options.
  3. Get your result instantly, then copy or download it.

Frequently asked questions

What does Adjacency matrix calculator do?

Turn any graph into its adjacency matrix. Paste an edge list (A-B), an adjacency list (A: B C D) or a binary matrix — the tool auto-detects the format, builds the labelled adjacency matrix, and reports the degree sequence, in/out-degrees for directed graphs, and the vertex and edge counts.

What does a concrete case look like?

A–B, B–C → [[0, 1, 0], [1, 0, 1], [0, 1, 0]] — the tool shows every step in between, not just the final figure.

What does it take into account?

It factors in B C D) or a binary matrix — the tool auto-detects the format, builds the labelled adjacency matrix, and reports the degree sequence, in/out-degrees for directed graphs, and the vertex and edge counts. Change any of them and the output follows immediately.

When would I actually use this?

Checking a decomposition done by hand, solving a linear system, and finding the eigenvalues that describe how a transformation stretches space.

What is the most common mistake?

Inverting a matrix to solve a system. Elimination or a factorisation is both faster and far more stable numerically; an explicit inverse amplifies rounding error, especially when the matrix is close to singular.

How is Adjacency matrix calculator different from Matrix Calculator?

They sit next to each other but answer different questions: Matrix Calculator is the one to open when you need it to add, subtract and multiply matrices, scale, transpose, and find the determinant and inverse of A. Pick whichever matches what you're starting from — both are free.

Is there a tool for the next step?

2×2 matrix determinant calculator is the closest one after this: Compute the determinant of a 2×2 matrix (ad − bc).

What else is worth having open alongside it?

Matrix Power Calculator (Aⁿ, n from −10 to 20) and Matrix Rank Calculator — they come up in the same task often enough to be worth a second tab.

Where do the figures come from?

The decompositions follow their textbook definitions with partial pivoting where it applies. Results are exact for small integer matrices and subject to floating-point rounding otherwise.

Further reading

All guides