Skip to content
D DocNectar

Free Column Space Basis Calculator

Find a basis for a matrix's column space and its rank, using the original matrix's pivot columns.

100% Free No Signup Works on all devices

Built and fact-checked by the DocNectar team — see our editorial standards

Thanks for rating!

Key Features

Instant Calculation

Get accurate results in real time with our optimized algorithm.

Mobile Friendly

Fully responsive design. Works on all devices & screen sizes.

Privacy Focused

Your data stays on your device. We don't store any inputs.

100% Free

No hidden costs. This tool is completely free forever.

The column space of a matrix is the set of all possible linear combinations of its columns, and a basis for it can be found by identifying which of the ORIGINAL matrix's columns are linearly independent — distinct from the Null Space calculator, which instead uses the free (non-pivot) columns to describe solutions to Ax = 0.

This calculator finds a basis for a matrix's column space and its rank.

How it works

Enter a matrix of any size. The calculator reduces it to row echelon form to identify which columns contain a pivot, then takes those SAME column positions from the original (unreduced) matrix — those columns are guaranteed to be linearly independent and span the column space.

  1. Click Calculate to see your results.

Examples

[[1,2],[2,4]]

Since the second column is exactly twice the first, only the first column is a pivot column — the column space basis is just that one original column, (1, 2), giving a rank of 1.

Who should use it

  • Finding a basis for a matrix's column space in a linear algebra course.
  • Checking the rank and independence of a matrix's columns.

Industry applications

  • Linear algebra and mathematics education
  • Engineering and data science coursework (column space relates directly to the range of a linear transformation)

Advantages

  • Correctly uses the original matrix's columns, not the RREF's columns, avoiding a common mistake.
  • Works for rectangular matrices, not just square ones.

Limitations

  • Reports a standard basis derived from pivot columns — a different (but equally valid) basis could also be constructed from other independent column combinations.

Common mistakes to avoid

  • Reporting the reduced row echelon form's columns as the column space basis — row reduction doesn't preserve the column space, only which columns are pivots.
  • Confusing column space (spanned by columns) with row space (spanned by rows) — they have the same dimension (the rank) but are generally different subspaces.

Best practices

  • Remember that only the SAME pivot column positions taken from the ORIGINAL matrix form a valid column space basis — never use the reduced form's column values directly.

Tips

  • The rank-nullity theorem connects this tool directly to the site's Null Space Calculator: for an n-column matrix, rank (column space dimension) plus nullity (null space dimension) always equals n.

Frequently asked questions

Yes, with no signup and no limit on how many matrices you check.
Row reduction changes a matrix's column space (though it preserves its row space) — only the ORIGINAL matrix's pivot columns are guaranteed to actually span its true column space, which is why this tool reports those, not the echelon form's columns.
Column space describes the span of a matrix's columns (built from the ORIGINAL matrix's pivot columns); null space describes all solutions to Ax = 0 (built from the FREE columns of the reduced form) — they're different subspaces entirely, though both are found using the same row-reduction process.
The rank is the dimension of the column space — the number of linearly independent columns — and it always equals the number of pivot columns found during row reduction.

Get new calculators and guides in your inbox

No spam — just new tools like Column Space Basis Calculator and practical guides.

Favorites