Row Echelon Form Calculator
Enter the nine entries of a 3x3 matrix to compute its row echelon form.
Result
How it is calculated
Enter a 3×3 matrix row by row (a11 to a33). The tool does forward Gaussian elimination column by column. In each column it looks at the entries on and below the current row and swaps the one with the largest absolute value into the pivot position (partial pivoting). It then subtracts factor × pivot row from the rows below, where factor = entry ÷ pivot, to make those entries zero. A column with no usable pivot (all entries below 10⁻¹²) is skipped. The rank is the number of pivots found. The determinant is the product of the diagonal of the final matrix times −1 for each row swap. Pivots are not scaled to 1, so this is a row echelon form, not the reduced one. Entries are shown to four decimals.
Worked example
Matrix rows: (2, 1, −1), (−3, −1, 2), (−2, 1, 2). Column 1: the largest absolute value is −3, so rows 1 and 2 swap. Eliminating below the pivot −3 and then the second column (pivot 1.6667) leaves the staircase [−3, −1, 2; 0, 1.6667, 0.6667; 0, 0, 0.2]. Three pivots were found, so the rank is 3. The determinant is −1.0000, which can be checked by cofactor expansion along the first row.
Common mistakes
- Expecting leading ones. The tool leaves pivots as they are, so a leading −3 does not get divided to 1; dividing each row by its pivot, then clearing above, is a separate step towards reduced form.
- Expecting the original row order. Partial pivoting swaps rows, so the first row of the result may be a different row from the one you typed first.
- Reading the matrix as an augmented system and treating the last column like constants. The tool treats all nine entries as a plain 3×3 matrix and gives no solution values.
- Trusting rank from rounded decimals. A pivot smaller than 10⁻¹² is treated as zero, so typing 0.3333 for ⅓ can give a full rank where the exact fractions would give less.
- Comparing the determinant directly with a hand answer that skipped the sign. Each row swap flips the sign, and the tool includes this.
About this calculator
Row echelon form (REF) is what you get after applying Gaussian elimination to a matrix: using row operations to zero out everything below each pivot, creating a staircase pattern of leading entries. It's the standard first step in solving systems of linear equations by hand or by computer.
This calculator reduces a 3×3 matrix using forward elimination with partial pivoting (swapping rows to put the largest available value on the pivot for numerical stability), and reports the matrix's rank (number of non-zero pivot rows) and determinant along the way — core operations in linear algebra courses and in engineering fields that solve systems of equations, from circuit analysis to structural mechanics.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments (1)
The matrix with rows 1 2 3, 4 5 6 and 7 8 9 is a good test of the rank output. The tool reports rank 2 and a determinant of 0.0000, and its first row becomes 7, 8, 9 because partial pivoting picks the largest entry in the column. Rank 2 means the three rows are dependent, so a system with this coefficient matrix has no unique solution. What matrix are you reducing, a homework one or a system?