Column Space Calculator

Enter your matrix entries into the Column Space Calculator and find the column space basis vectors, rank (dimension), and nullity of any matrix up to 4×4. Input your matrix size (rows and columns) and fill in the matrix elements — the tool performs row reduction to identify pivot columns and returns the basis for the column space along with key dimensional results.

Select the number of rows in your matrix.

Select the number of columns in your matrix.

Results

Rank (Dimension of Column Space)

--

Nullity

--

Basis Vectors (Pivot Columns)

--

Pivot Column Indices

--

Rank vs Nullity

Results Table

Frequently Asked Questions

What is the column space of a matrix?

The column space of a matrix A is the set of all linear combinations of its column vectors. It is a subspace of ℝᵐ (where m is the number of rows), representing every vector that can be produced by multiplying A by some vector. The dimension of the column space equals the rank of the matrix.

How do you calculate the column space of a matrix?

To find the column space, perform row reduction (Gaussian elimination) on the matrix to identify the pivot columns. The original columns of the matrix corresponding to those pivot positions form a basis for the column space. The number of pivot columns equals the rank.

What is the basis for the column space?

A basis for the column space consists of the linearly independent columns from the original matrix that correspond to the pivot columns found after row reduction. These vectors span the column space and none of them can be expressed as a combination of the others.

What is the difference between column space and row space?

The column space is spanned by the column vectors of a matrix and lives in ℝᵐ, while the row space is spanned by the row vectors and lives in ℝⁿ. Both have the same dimension (the rank of the matrix), but they are generally different subspaces.

What does rank tell you about the column space?

The rank of a matrix equals the dimension of its column space — that is, the number of linearly independent columns. A higher rank means the columns span a larger subspace. For an m×n matrix, rank ≤ min(m, n).

What is nullity and how does it relate to column space?

Nullity is the dimension of the null space (kernel) of the matrix — the number of free variables after row reduction. By the Rank-Nullity Theorem, rank + nullity = n (the number of columns). So if you know the rank from the column space, nullity follows directly.

Can the column space equal the entire ℝᵐ space?

Yes — if the rank of the matrix equals m (the number of rows), then the column space spans all of ℝᵐ. This means the matrix has full row rank and every vector in ℝᵐ can be expressed as a linear combination of the columns.

How is column space used in real applications?

Column space appears in linear regression (determining if a solution exists), computer graphics (transformations), machine learning (dimensionality reduction), and engineering (solving systems of linear equations). It tells you which output vectors are reachable by the linear transformation defined by the matrix.

More Math Tools