Column Space Calculator

Quick answer

The column space calculator finds a basis for the column space (range) of a matrix of up to 4 × 4 and its dimension, the rank, using Gauss–Jordan elimination.

Basis of the column space
(1, 2, 1) (column 1) (2, 4, 0) (column 2)
Dimension (rank)
2
Reduced row echelon form
⎡ 1 0 1 ⎤ ⎢ 0 1 1 ⎥ ⎣ 0 0 0 ⎦

The column space is the set of all vectors Ax – everything the matrix can “reach”. Its dimension is the rank. It tells you whether Ax = b has a solution: exactly when b is in the column space.

How to use the Column Space Calculator

  1. Choose the matrix size – the matching grid of fields appears.
  2. Enter the entries row by row (a₁ b₁ c₁ is the first row, a₂ b₂ c₂ the second, and so on).
  3. Read the result; integer matrices give exact fractions.

Everything is calculated in your browser, so results appear instantly and nothing you type is sent to a server.

How it works

The matrix is reduced to reduced row echelon form. The pivot columns of the original matrix form a basis of the column space.

Formula

Col(A) = span of the columns of A; basis = columns with pivots in rref(A)

Worked example

Inputs — Matrix size (rows × columns): 3 × 3; a₁: 1; b₁: 2; c₁: 3; a₂: 2; b₂: 4; c₂: 6; a₃: 1; b₃: 0; c₃: 1.
Results — Basis of the column space = (1, 2, 1) (column 1)
(2, 4, 0) (column 2)
; Dimension (rank) = 2; Reduced row echelon form = ⎡ 1 0 1 ⎤
⎢ 0 1 1 ⎥
⎣ 0 0 0 ⎦.

Key terms

Rank
The dimension of the column space.

Frequently asked questions

What is a column space?

The span of a matrix's columns, a subspace of ℝᵐ.

Why use the original columns, not the reduced ones?

Row operations change the column space; only the pivot positions carry over.

How is it related to the null space?

rank + nullity = number of columns.

When is the column space all of ℝᵐ?

When the rank equals the number of rows.

Sources

  1. Wolfram MathWorld – Column space
  2. MIT OpenCourseWare – 18.06 Linear Algebra (Gilbert Strang)
  3. Jim Hefferon – Linear Algebra (free textbook)

Cite this calculator

Speedy Calculator. (2026). Column Space Calculator. Speedy Calculator. https://speedycalculator.com/calculators/math/column-space/