Primary formula
Matrix addition is entrywise, multiplication uses row-by-column dot products and transpose swaps rows with columns.
Math calculator
Calculate exact matrix operations from pasted grids, including addition, subtraction, scalar multiplication, matrix multiplication, transpose, power and trace.
Math calculator
Calculations run locally from the values entered. Exact values and decimal approximations are labelled separately.
Mode
Calculate A x B.
Matrix addition is entrywise, multiplication uses row-by-column dot products and transpose swaps rows with columns.
Rows are separated by line breaks or semicolons. Entries may be integers, decimals or fractions. Maximum basic matrix dimension is 10 by 10.
Exact integer, rational, base, matrix and equation outputs are labelled. Decimal and polar values are shown as approximations when exact symbolic output is not practical.
Read integer, rational, base, matrix, complex, or equation inputs from labelled fields.
Apply domain, bit-width, matrix-dimension and expression-scope checks before calculating.
Use deterministic TypeScript, BigInt, exact rational arithmetic and Decimal.js where appropriate.
Separate exact values, approximations, table rows, exports and warnings.
Matrix Calculator is built for basic exact matrix operations with rational entries. The calculator appears first, then the result card, detailed method, educational content, FAQs, references and disclaimer follow in the approved NexaCalc layout.
Choose the mode that matches your calculation, enter values using the visible labels and helper text, then select Calculate. Reset restores the default example.
Use Copy, Print, Share, Export text or Export CSV after a result appears. Exports are generated locally in the browser.
Matrix addition is entrywise, multiplication uses row-by-column dot products and transpose swaps rows with columns.
The engine reuses NexaCalc exact rational and BigInt helpers, then applies the selected operation with explicit domain and performance limits.
Inputs are parsed from text. Integer, rational, matrix, base, complex and equation fields use specific validators so unsupported tokens produce validation errors instead of hidden coercion.
The calculator rejects operations outside its stated mathematical scope, such as division by zero, invalid base digits, nonsquare inverse matrices, singular inverses and unsupported equation forms.
Exact result labels are used for integer, rational, matrix and equation outputs where exact arithmetic is available. Decimal approximation labels are used for polar angles, irrational roots and rounded display values.
The result card lists the main algorithm steps and a detailed table where useful. Matrix and base tools also expose exportable rows for independent checking.
[[1,2],[3,4]] x [[2,0],[1,2]] = [[4,4],[10,8]].
Most mistakes come from mixing conventions, entering a value outside the mathematical domain, or treating a rounded approximation as exact.
This page is a practical calculator rather than a full computer algebra system or arbitrary-precision programming environment.
Calculations are local to the browser session. Inputs are not uploaded, stored, or logged by NexaCalc, and limits are applied to keep pages fast on shared hosting.
This calculator provides mathematical results from the values, conventions and methods you enter. Verify important academic, engineering or professional work independently.
It supports basic exact matrix operations with rational entries. Results are calculated locally and show method notes, exact values, approximations and warnings where relevant.
Matrix addition is entrywise, multiplication uses row-by-column dot products and transpose swaps rows with columns.
Integer, rational, base, modular, matrix and equation coefficients are exact where labelled. Polar angles, irrational roots and long fractional base expansions are labelled as approximations or repeating expansions.
No. Equation inputs are tokenized and parsed by a limited mathematical parser. Unsupported tokens, division by a variable and expressions outside the stated scope are rejected.
No. Calculations run in the browser session from manual inputs. NexaCalc does not require accounts, databases or paid APIs for these tools.
Limits keep browser sessions responsive and avoid unbounded integer, matrix, base-cycle or expression parsing work.
Yes. Result actions include copy, print, share, text export and CSV export where table data is available.
Verify high-stakes academic, engineering, coding or professional work independently, especially when a result uses a convention, bit width, approximation or parser restriction.
No. Each tool has one canonical /math/ route. Common aliases redirect to the canonical page.
Eigenvalues, row-reduced echelon form and systems of equations are reserved for later tools. Matrix powers are limited to nonnegative exponents through 20.
Math Phase 3 references and calculation conventions reviewed on July 1, 2026.
This calculator provides mathematical results from the values, conventions and methods you enter. Verify important academic, engineering or professional work independently.