Exact rational linear algebra
Exact Fraction Matrix Calculator
Enter matrices with integers, decimals, or fractions and solve common linear algebra problems without rounding away the exact answer.
Matrix A
3 x 3
Matrix B
3 x 3
Basic
Square Matrix
Row Reduction
How it works
- Every entry is converted to an exact rational number before any operation starts.
- Row-reduction tools use Gauss-Jordan elimination and can show each swap, scale, and row replacement.
- You can switch the display between fractions and decimals without changing the exact internal result.
Common mistakes
- Mixing up matrix dimensions for addition or multiplication.
- Using Matrix B with more than one column when solving Ax = b.
- Assuming decimal display mode changes the exact calculation.
FAQ
Does this calculator round intermediate steps?
No. It stores values as exact fractions using bigint arithmetic.
Can I type decimals like .75?
Yes. Finite decimals are converted into exact fractions automatically.