HomeCalculatorsMathAlgebra & EquationsRREF Calculator
Math calculator

RREF Calculator

Gauss–Jordan reduced row echelon form for a small real square matrix. Same engine as Linear System. Not a CAS. Runs locally.

Instant result
Result

Enter values to calculate.

Inputs
Mode
Formula
Trust summary Engine tested · Specification checked · 44/44 tests · Production surface contract 3/3 · v1.10.0
Input interpretation
Enter values to calculate.
Result
Model
Reduced row echelon form of a small real square matrix (order 2–4).
Scope
Real square matrices
Verification
Engine tested · 44/44 tests · Production surface contract 3/3 · Specification checked · v1.10.0
Named expert review
Optional · Not performed
Specification basis
  • ISO 80000-2:2019 Quantities and units — Mathematics
Specification basis
Evidence
23 golden · 2 boundary · 19 property · Production surface contract 3/3 · Artifact integrity PASS
Production
Embedded snapshot: STALE · Last attested schema matched 1.10.0 snapshot / local build · Semantic contract ✓ · Last attestation PASS · current evidence changed · re-attestation required · Public/cache ✓ · Origin ✓ · Live production status STALE (1 capability; 163 remain CURRENT) @ 2026-09-19T00:00:17.039Z
Semantic contract
PASS

Formulas

Core equations used by this calculator.

RREFA → R (Gauss–Jordan)
Rankrank(A) = number of pivots in R
iSquare matrices only, order ≤ 4. Reuses Gauss–Jordan already used by inverse and rank. Nullspace is a sibling discovery URL. Not a CAS. Float64. Pivot cutoff 10⁻¹⁵.

How to use

1

Enter a square matrix

2×2 or 3×3. Larger composition lives at /workspace/matrix. Rank is a sibling discovery URL.

2

Read R, rank, and pivot columns

pivot_columns are 1-based. Zero rows sit at the bottom.

Example calculations

Common configurations with formula and result.

ϟ

Rank 1

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

Gauss–Jordan
[[1,2],[0,0]]
ϟ

Full rank

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

R = I
rank=2

RREF calculator specification

Version 1.10.0 · Engine tested

Calculation status

Review policy · Evidence

Definition
Gauss–Jordan elimination produces the unique reduced row echelon form of A, with leading 1s and zeros above and below each pivot. This page is mode=rref on math.linear_algebra. Not a second engine. Nullspace lives on the sibling discovery URL.
What it calculates
Reduced row echelon form of a small real square matrix (order 2–4).
Inputs
  • order
  • a11…
Outputs
  • rref
  • rank
  • pivot_columns
  • det
Formula
Gauss–Jordan → RREF
Assumptions
  • Real square matrices
  • Order ≤ 4
  • Float64
  • Not a CAS
  • Not Jordan form / 2-norm κ₂ as a product
Units
  • dimensionless
Boundary conditions
  • unknown mode (including jordan-form) → INVALID_MODE
Example
[[1,2],[2,4]] → [[1,2],[0,0]]
Validation cases

2 published on this page · 44/44 tests · Production surface contract 3/3 · View evidence

  • order=2 a11=1 a12=2 a21=2 a22=4 → rank=1 rref=[[1,2],[0,0]]
  • mode=jordan-form order=2 a11=1 a12=0 a21=0 a22=1 → INVALID_MODE
Specification basis
  • ISO 80000-2:2019 Quantities and units — Mathematics
Calculation version
1.10.0
}

Frequently asked questions

Key distinctions behind the calculation.

Is this a second linear-algebra engine?

No. It is mode=rref on math.linear_algebra, the same engine as /calc/math/linear-system and /workspace/matrix.

Does this return the nullspace?

No. It returns RREF, rank, and pivot columns. The kernel is /calc/math/nullspace on this same engine.