GraphCalc Pro

FREE ONLINE MATH TOOL

Matrix Calculator Online

Use this free matrix calculator online to add, subtract and multiply matrices, and calculate 2x2 or 3x3 determinants directly in your browser.

Use this calculator
GraphCalc Pro RAD mode
0
Memory: 0

Supported functions

sin, cos, tan, asin, acos, atan, sqrt, log, ln, abs, floor, ceil, round, exp, pi, e, powers and brackets.

Switch between radians and degrees using the RAD/DEG button.

xy

Matrix A

Matrix B

Result will appear here.
Solutions will appear here.

What you can do

  • Matrix addition and subtraction
  • Matrix multiplication
  • 2×2 determinants
  • 3×3 determinants

How to use it

Use our free online matrix calculator to add, subtract and multiply matrices. Enter each matrix row on a new line, separating numbers with commas or spaces. Select the matrix operation and click Calculate to see the result. You can also calculate determinants for 2x2 and 3x3 matrices. No download or account required.

Matrix Calculator Examples

Example 1: Add two matrices

To add two matrices, enter matrices with the same dimensions. For example, adding [1, 2; 3, 4] and [5, 6; 7, 8] gives [6, 8; 10, 12]. Matrix addition is commonly used in mathematics, engineering and data analysis.

Example 2: Subtract matrices

Matrix subtraction also requires matrices with matching dimensions. Each value in the second matrix is subtracted from the corresponding value in the first matrix.

Example 3: Multiply matrices

Matrix multiplication is possible when the number of columns in the first matrix matches the number of rows in the second matrix. The result can have different dimensions from the original matrices.

Example 4: Calculate a determinant

For a 2x2 matrix such as [1, 2; 3, 4], the determinant is calculated as (1 × 4) - (2 × 3), giving -2. Determinants are useful when solving systems of equations and studying matrix properties.

Understanding Matrix Operations

Matrix addition and subtraction require matrices with the same number of rows and columns.

Matrix multiplication depends on compatible matrix dimensions.

Determinants are calculated only for square matrices such as 2x2 or 3x3 matrices.

Common Matrix Calculator Mistakes

Accuracy and Limitations

GraphCalc Pro performs matrix calculations directly in the browser. Results may be affected by floating-point rounding for some decimal values. For important academic, engineering or professional calculations, verify critical results independently.

Worked multiplication example

Enter A as rows 1,2 and 3,4, and B as rows 5,6 and 7,8. A × B gives rows 19,22 and 43,50. The top-left entry is 1 × 5 + 2 × 7 = 19. Matrix multiplication uses row-by-column products, not element-by-element multiplication.

Dimensions and input rules

Place each row on a new line. Separate entries with spaces or commas, use a decimal point and omit brackets or semicolons. All rows in a matrix must contain the same number of entries. Addition and subtraction require matching dimensions. For multiplication A's column count must equal B's row count; the result has A's row count and B's column count.

The determinant operation uses only Matrix A. A must be square; determinants of 1×1, 2×2 and 3×3 matrices are supported. You may leave Matrix B empty when computing det(A). For A = rows 1,2 and 3,4, det(A) = 1 × 4 − 2 × 3 = −2. Larger determinants, inverse matrices and symbolic entries are not supported.

Related calculators

Frequently Asked Questions

How do I enter a matrix?

Enter each matrix row on a new line and separate values with commas or spaces.

Can it multiply matrices?

Yes, when the matrix dimensions are compatible.

Does it calculate determinants?

Yes, for supported square matrix sizes such as 2×2 and 3×3.