Null Space Calculator screenshot

Null Space Calculator

Work out a basis and the dimension of the solutions of A x = 0 from matrix (rows on separate lines). Nullity = columns − rank; one basis vector per free column, and the page prints the substitution so the result can be checked by hand.

Privacy First
0 Runs
Updated 2026-11-22
Runs in your browser
No sign-up, no upload
Formula printed with the answer

Null Space Calculator

Work out a basis and the dimension of the solutions of A x = 0 from matrix (rows on separate lines). Nullity = columns − rank; one basis vector per free column, and the page prints the substitution so the result can be checked by hand.

How this page computes

Nullity = columns − rank; one basis vector per free column

Each basis vector sets one free variable to 1 and the others to 0, then reads the pivot variables from the reduced rows. The result satisfies A x = 0 exactly.

When the nullity is zero the page says the only solution is x = 0 instead of printing an empty basis.

The calculation runs entirely in this browser tab; nothing is uploaded.

Null Space Calculator computes a basis and the dimension of the solutions of A x = 0. Nullity = columns − rank; one basis vector per free column. The page prints the rule, the numbers substituted into it and the result, so the arithmetic can be checked by hand.

Each basis vector sets one free variable to 1 and the others to 0, then reads the pivot variables from the reduced rows. The result satisfies A x = 0 exactly. Pressed with matrix 1 2 3; 2 4 6, it answers: Dimension of the null space = 2

How to use Null Space Calculator

Enter matrix 1 2 3; 2 4 6, then press Run: the page evaluates a basis and the dimension of the solutions of A x = 0 and prints every line of the working. Typed input is read exactly as written, and a blank field is refused with its name.

Read the first line as the answer and the lines below it as the substitution. If a value is out of range the page refuses it by field and reason instead of printing a number.

With matrix 1 2 3; 2 4 6, the answer is Dimension of the null space = 2.

Free variables become vectors

Each basis vector sets one free variable to 1 and the others to 0, then reads the pivot variables from the reduced rows. The result satisfies A x = 0 exactly.

When the nullity is zero the page says the only solution is x = 0 instead of printing an empty basis.

What to Expect

Best for

  • Working out a basis and the dimension of the solutions of A x = 0 without a spreadsheet
  • Checking a figure someone else quoted
  • Seeing the formula behind an answer

Not ideal for

  • A matrix above 6 by 6 is refused.
  • A quantity the page cannot compute, which it refuses instead of estimating
  • Rounding an answer that has an exact form

What this tool keeps

  • Nullity = columns − rank; one basis vector per free column
  • Every input exactly as typed

What may need cleanup

  • Nothing: the printed answer is the final output
  • A unit conversion, if the inputs were entered in different units

Common errors

  • A matrix above 6 by 6 is refused.
  • An empty field is refused with the field's name

Example use cases

  • Work out a basis and the dimension of the solutions of A x = 0 for one set of inputs
  • Check the result against the formula by hand
  • See which input the answer is most sensitive to

Sample input

Null Space Calculator: matrix 1 2 3; 2 4 6

Sample output

Dimension of the null space = 2 — Nullity = columns − rank = 3 − 1 = 2

Who this is for

  • Students checking a formula
  • Anyone who needs the number and the working

Frequently asked questions

What formula does this page use?

Nullity = columns − rank; one basis vector per free column. The page prints the substitution as well, so the answer can be checked against the rule.

What does Null Space Calculator refuse?

A matrix above 6 by 6 is refused.

What does the default example give?

Matrix 1 2 3; 2 4 6 gives Dimension of the null space = 2. Every line below that restates the same arithmetic.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.