Skip to content
GraphingCalc84

Matrix Calculator RREF: Reduced Row Echelon Form Step by Step

Enter an augmented matrix and watch Gauss-Jordan elimination reduce it to RREF one row operation at a time, with exact fractions where they exist.

DIM3×4 RANK3 DET(COEFF)−1 STEPS11

rref([A])

rank 3
  • x₁ = 2
  • x₂ = 3
  • x₃ = −1

det(coefficients) = −1

Gauss-Jordan steps

11 of 11
  1. R1 ↔ R2
  2. R1 → R1 ÷ −3
  3. R2 → R2 − 2·R1
  4. R3 → R3 + 2·R1
  5. R2 ↔ R3
  6. R2 → R2 ÷ 5/3
  7. R1 → R1 − 1/3·R2
  8. R3 → R3 − 1/3·R2
  9. R3 → R3 ÷ 1/5
  10. R1 → R1 + 4/5·R3
  11. R2 → R2 − 2/5·R3

Matrix calculator RREF: solve a 3×3 augmented matrix with elementary row operations

The workspace opens with the classic textbook system:

Written as a 3×4 augmented matrix, the coefficients sit on the left and the constants form the last column. Gauss-Jordan elimination then uses only three legal moves: swap two rows, multiply a row by a nonzero number, and add a multiple of one row to another. The steps the tool shows go like this:

  1. Scale by to make the first pivot 1.
  2. Clear column 1: and .
  3. Scale the second row to get a pivot of 1, then clear the entries above and below it.
  4. Repeat for the third column.

The final RREF is

so . Always substitute back: ✓, ✓, ✓.

Reading the reduced row echelon form: three possible outcomes

The shape of the RREF tells you how many solutions a system has before you do any more arithmetic.

What the RREF looks likeMeaningExample last rows
Identity on the left, numbers on the rightExactly one solution
A row of zeros ending in a nonzero numberNo solution (inconsistent) means
A full row of zeros and fewer pivots than variablesInfinitely many solutions with a free variable

In the infinite case, write the pivot variables in terms of the free one. If the RREF is , then , , for any real .

When is a matrix in reduced row echelon form? Rules for row reduction

A matrix is in reduced row echelon form when all four of these hold:

  • The first non-zero entry of every non-zero row is a 1, called the pivot.
  • Each pivot sits strictly to the right of the pivot in the row above, so the pivot positions move down and to the right like a staircase.
  • Every other entry in the pivot column is 0: the pivot is the only non-zero entry in its column.
  • Rows of all zeros are at the bottom.

Row reduction reaches that form using only the three elementary row operations, applied in sequences of row operations column by column: pick a pivot, scale the pivot row so the pivot is 1, then add multiples of that row to clear every entry above and below it. The entries to the right of the pivot are whatever the arithmetic leaves. This is the Gauss-Jordan method, and the same steps make the tool a Gauss-Jordan elimination calculator and an echelon form calculator in one.

Once you have the RREF of a matrix you can read off three things. The number of pivot columns is the rank of a matrix. Any variable whose column has no pivot is free, which is how you identify free variables when a system has infinitely many solutions. And a row [0 0 0 | c] with c ≠ 0 means the system is inconsistent. That is why RREF is the standard tool for solving systems of linear equations with augmented matrices, for finding matrix rank and, by reducing [A | I], for finding matrix inverses.

Matrix input works by rows and columns: set the size, then type each entry, including the constants column for an augmented matrix. The calculator uses floating-point arithmetic and displays exact fractions where the result has a small denominator; it does not perform exact rational arithmetic on huge fractions, so check entries that look like 1e−15 against the tolerance note below.

Determinant, inverse and rank of a matrix

For a square coefficient matrix, three numbers summarise the system. Take

  • Determinant: cofactor expansion along the first row gives .
  • Inverse: because , .
  • Rank: 3, the number of pivots in its RREF.

With , , which matches row-reducing . The inverse route is handy when the same coefficients appear with several right-hand sides; RREF is more general because it also handles non-square and singular systems.

Self-check: det(A) = 7, and the system solves to x₁ = 1, x₂ = 2, x₃ = 3.

Try it yourself · Timed check

Time 0:00 0/0 unassisted

Solve the system 3x₁ + 2x₂ = 16 and x₁ − x₂ = 2. What is x₁?

Common pitfalls with matrix calculators

Singular matrices (det = 0)

has determinant : the second row is twice the first. Asking a handheld for its inverse returns ERR: SINGULAR MATRIX. Row-reduce the augmented matrix instead to see whether you have no solution or infinitely many.

Self-check: det = 0 and rank 1, so the matrix has no inverse.

Rounding that hides a zero

Decimal inputs such as 0.1 cannot be stored exactly in binary, so an entry that should be 0 can appear as . The engine treats values below about as zero and shows exact fractions with small denominators, which keeps the RREF readable. See the methodology page for the tolerance details.

Dimension mismatch

Matrix multiplication needs the number of columns of to equal the number of rows of ; otherwise a handheld shows ERR: DIM MISMATCH. A 3×4 augmented matrix has no determinant at all — only square matrices do.

Forgetting the constants column

Row-reducing only the 3×3 coefficient matrix gives the identity, which tells you the solution is unique but not what it is. Include the constants as a fourth column.

Keystroke reference: rref on a TI-84 style handheld

StepTI-84 style key sequenceGraphingCalc84
Open the matrix editor2ND x⁻¹ → EDIT → 1: [A]Matrix grid in the workspace
Set size 3×4Type 3 ENTER 4 ENTERRows / Columns selectors
Reduce2ND x⁻¹ → MATH → B: rref( → [A]rref( output, updated live
Show fractionsMATH → 1: ►FracExact fractions shown automatically
DeterminantMATRIX → MATH → 1: det(det readout for square matrices
Inverse[A] x⁻¹Inverse readout when det ≠ 0

Where RREF fits in a course

Algebra 2 classes use RREF to solve three-variable systems; linear algebra uses it to find rank, null spaces and inverses. For two-variable systems, graphing the lines is often more insightful — the system of equations grapher shows the intersection point you would get from a 2×3 RREF. The free OpenStax algebra and precalculus texts cover Gaussian elimination with worked exercises if you want more practice problems to check here.

Frequently asked questions

What is RREF in a matrix calculator?
RREF stands for reduced row echelon form: every nonzero row starts with a leading 1, each leading 1 is to the right of the one above it, every other entry in a pivot column is 0, and zero rows sit at the bottom. The rref( command applies Gauss-Jordan elimination until those four conditions hold.
How do I get RREF on a calculator?
On an 84-series handheld: press 2ND x⁻¹ (MATRIX), choose EDIT to type the matrix into [A], then 2ND x⁻¹ → MATH → B: rref( and insert [A]. Here, type the entries in the grid; the RREF and each row operation appear immediately.
How do I check if a matrix is in RREF?
Check the four rules: leading entries are 1, they step down to the right, all other entries in a pivot column are 0, and all-zero rows are last. [[1, 0, 2], [0, 1, −3]] is in RREF; [[1, 2, 2], [0, 1, −3]] is only in row echelon form (REF) because the 2 above the second pivot is not 0.
What is the difference between RREF and REF?
REF only requires a staircase of leading entries with zeros below them, and it is not unique. RREF also clears the entries above each pivot and scales pivots to 1, and every matrix has exactly one RREF. That uniqueness is why RREF is used to read off solutions directly.
What does it mean if the determinant is 0?
A square matrix with det = 0 is singular: it has no inverse, its rows are linearly dependent and a system with that coefficient matrix has either no solution or infinitely many. On a handheld, asking for the inverse gives ERR: SINGULAR MATRIX.
How do I find the RREF of a 3x4 matrix?
A 3x4 matrix is usually an augmented matrix for three equations in three unknowns. Row-reduce the whole thing; if the left 3x3 block becomes the identity, the last column is the solution. For the default example in the tool, the last column reads x = 2, y = 3, z = −1.