Beta
Matrix Calculator
Advertisement
Advertisement space
Enter or paste matrices to add, subtract, multiply, transpose, find determinants or inverses, and calculate integer powers. Supports up to 6 rows by 6 columns.
Free, no sign-in. Input values are calculated on your device.
Choose another math calculator (9 tools)
Enter the conditions
Advertisement
Advertisement space
Result
Loading the calculator.
How to use this calculator
- Choose the task you need.
- Check the labels and units, then enter the known values.
- Select Calculate to see the result and formula. Recalculate after changing inputs.
- Add A + B:A and B must have the same dimensions. Corresponding entries are added or subtracted.
- Subtract A − B:A and B must have the same dimensions. Corresponding entries are added or subtracted.
- Multiply A × B:The number of columns in A must match the number of rows in B. A × B generally differs from B × A.
- Transpose Aᵀ:Swap rows and columns. Rectangular matrices are supported.
- Determinant det(A):Enter a square matrix with the same number of rows and columns.
- Inverse A⁻¹:Enter a square matrix. Singular matrices have no inverse; numerically unstable cases are rejected.
- Matrix power Aⁿ:Enter a square matrix and an integer n from 0 to 20. The zeroth power is the identity, not an entrywise power.
Worked examples
For A = [1 2; 3 4], det(A) = −2 and the inverse is [−2 1; 1.5 −0.5].
Assumptions and limits
- Use one matrix row per line and separate columns with spaces, tabs or commas. Commas separate entries; enter 1000, not 1,000, for one thousand.
- Use 1 to 6 rows and columns with consistent row widths. Entries accept decimals, fractions and scientific notation, but not complex numbers or symbolic expressions.
- Inverses, determinants and powers require square matrices. A × B and B × A generally differ.
- Input magnitudes are at most 1 billion, and nonzero values at least 1e−12. Powers range from 0 to 20. Unstable or out-of-range computations are rejected.
Related calculations
Advertisement
Advertisement space