Matrix Equation Solver (AX = B)
Solve the matrix equation AX = B for X (a vector or a matrix), using X = A⁻¹B.
Solve the matrix equation AX = B for X (a vector or a matrix), using X = A⁻¹B.
Results
Enter your details and click Calculate to see your results.
About This Calculator
Type the matrix row by row: separate rows with semicolons (or new lines) and entries with spaces or commas — e.g. 1 2; 3 4 is the 2 × 2 matrix [[1, 2], [3, 4]]. Up to 10 × 10. Write a column vector b as 3; 5. A must be square and invertible.
Example
Example: [[2, 1], [1, 3]] X = [3; 5] gives X = [ 0.8 ] [ 1.4 ]
Assumptions
Unique solutions only.
Frequently Asked Questions
What if A is not invertible?
The system has no solution or infinitely many — use the RREF calculator.
Related Calculators
About the Author

Imran Hossain
Professional SEO, Digital Marketer Specialist
I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist
View full profile