Matrix Calculator
Calculate with small matrices and keep fractions exact.
Calculate with matrices
- Choose the operation and set the active matrices’ sizes.
- Enter a value in every active cell, including zeros.
- Calculate and open the details to see the method.
Choose compatible dimensions
Addition and subtraction use matrices of the same size.
For a product, the number of columns in A must equal the number of rows in B.
A determinant or inverse requires a square matrix.
Examples
The matrix with rows (2, 1) and (1, 2) has determinant 3.
Its inverse has rows (2/3, −1/3) and (−1/3, 2/3).
Input limits
Each matrix can have one to four rows and columns.
Use whole numbers, decimals with up to six places or fractions with a positive denominator.
Local calculation
Your matrix values are processed in this tab. Reloading clears them.
Matrix questions
Sources
Related tools
Number Base Converter
Convert signed integers between any bases from 2 to 36 with exact complete results and readable steps.
Open tool — Number Base ConverterRoman Numeral Converter
Convert numbers and Roman numerals in either direction, one value or a list at a time.
Open tool — Roman Numeral ConverterNumber to Words
Spell whole numbers and exact decimal digits in your chosen language.
Open tool — Number to WordsPythagorean Theorem Calculator
Find a missing right-triangle side or check three side lengths.
Open tool — Pythagorean Theorem CalculatorSignificant Figures Calculator
Count significant figures and round a written number to a chosen precision.
Open tool — Significant Figures CalculatorSurface Area Calculator
Calculate the total surface area of a common solid.
Open tool — Surface Area CalculatorScientific Calculator
Evaluate real expressions with powers, roots, logs and degree/radian trigonometry, with explicit precedence and clear numerical limits.
Open tool — Scientific CalculatorPercentage Change Calculator
Compare an original and new value to find the percentage increase or decrease and the numeric change.
Open tool — Percentage Change CalculatorAverage Calculator
Find the arithmetic mean of a number list, with a clear decimal-format choice, count and sum.
Open tool — Average CalculatorPercentage Calculator
Find a percentage of a number, one number as a percentage of another, or the whole from a known amount and percentage.
Open tool — Percentage CalculatorWeighted Average Calculator
Calculate an average from values and their relative weights. Check total weight and copy an explained result.
Open tool — Weighted Average CalculatorSlope Calculator
Find the exact slope and line through two points and check a third point.
Open tool — Slope CalculatorQuadratic Formula Calculator
Solve for exact real or complex roots using the quadratic formula.
Open tool — Quadratic Formula CalculatorDistance Formula Calculator
Find the distance and midpoint between two Cartesian points.
Open tool — Distance Formula CalculatorDecimal to Fraction Calculator
Convert a decimal to a reduced fraction and see what changes if digits repeat.
Open tool — Decimal to Fraction CalculatorFraction Calculator
Calculate with fractions and mixed numbers, or simplify one fraction to lowest terms.
Open tool — Fraction CalculatorStandard Deviation Calculator
Calculate sample and population standard deviation from one list.
Open tool — Standard Deviation CalculatorMedian Calculator
Find the median of a number list, with the middle values and a sorted preview.
Open tool — Median CalculatorRectangle Area Calculator
Find the area of a rectangle or square from two measurements, including mixed units and feet and inches.
Open tool — Rectangle Area CalculatorGCF Calculator
Find the largest positive integer that divides every number in your list.
Open tool — GCF CalculatorRatio Calculator
Simplify or scale ratios and solve a proportion with a missing term.
Open tool — Ratio CalculatorLCM Calculator
Find the exact least common multiple of 2–20 positive whole numbers, with the GCD and optional steps.
Open tool — LCM CalculatorCircle Area & Circumference Calculator
Find circle area and circumference from a radius or diameter, with metric and imperial unit conversion.
Open tool — Circle Area & Circumference CalculatorScale Calculator
Convert drawing or model lengths to real dimensions, work backwards, or find the scale from matching lengths.
Open tool — Scale Calculator