Scientific Converters Precise unit conversions for science & engineering.

    Loading…

    Gauss Elimination Calculator

    Gaussian elimination reduces the system to triangular form and back-substitutes: this classic 3 × 3 system has x1 = 2, x2 = 3, x3 = -1.

    For 2x + y − z = 8 enter “2 1 -1 8”.

    Solution

    x1 = 2, x2 = 3, x3 = -1

    x1 (decimal)
    2
    x2 (decimal)
    3
    x3 (decimal)
    -1
    Upper triangular system after elimination
    x1x2x3b
    row 1-3-12-11
    row 205/32/313/3
    row 3001/5-1/5
    Step-by-step solution
    1. Swap R1 and R2 (partial pivoting)
    2. R2 → R2 − (-2/3)·R1
    3. R3 → R3 − (2/3)·R1
    4. Swap R2 and R3 (partial pivoting)
    5. R3 → R3 − (1/5)·R2
    6. Back substitution from the last row upwards

    Gauss Elimination Formula

    Rᵢ → Rᵢ − (aᵢₖ/aₖₖ)·Rₖ

    forward elimination to upper triangular form, then back substitution

    Worked Example

    The system 2x₁ + x₂ − x₃ = 8, −3x₁ − x₂ + 2x₃ = −11, −2x₁ + x₂ + 2x₃ = −3:

    1. Swap R1 and R2 (partial pivoting)
    2. R2 → R2 − (-2/3)·R1
    3. R3 → R3 − (2/3)·R1
    4. Swap R2 and R3 (partial pivoting)
    5. R3 → R3 − (1/5)·R2
    6. Back substitution from the last row upwards

    x2 (decimal): 3 · x3 (decimal): -1

    Upper triangular system after elimination
    x1x2x3b
    row 1-3-12-11
    row 205/32/313/3
    row 3001/5-1/5

    GATE tip

    If elimination produces a row 0 = c with c ≠ 0, the system has no solution; a row of all zeros means infinitely many. The matrix rank calculator gives the verdict directly.

    More Linear Algebra Calculators

    Frequently asked questions

    What is partial pivoting?

    Before eliminating a column, swap in the row with the largest absolute value in that column. It avoids dividing by small numbers and reduces rounding error.

    How many operations does Gauss elimination need?

    About n³/3 multiplications for n equations, which is why it is preferred over Cramer’s rule for more than three unknowns.

    Sources

    Last reviewed: . Factors are stored exactly and computed with 50-digit decimal arithmetic. See how we verify conversion factors.

    Cite this page

    APA

    Scientific Converters. (2026, October 15). Gauss Elimination Calculator. Retrieved October 25, 2026, from https://scientificconverters.com/calculators/gauss-elimination-calculator/

    IEEE

    Scientific Converters, "Gauss Elimination Calculator," scientificconverters.com. Accessed: Oct. 25, 2026. [Online]. Available: https://scientificconverters.com/calculators/gauss-elimination-calculator/

    Send feedback

    Found a wrong value, a missing unit or an idea? Tell us. We read every message.

    What is it about?

    We store your message, the page you were on and your email if given. See the privacy policy.