Matrix Multiplication Calculator

calculatorsonline.co.uk

Matrix Multiplication Calculator

Multiply 2D matrices instantly. Calculate the product of two matrices with customizable dimensions, real-time validation, and step-by-step linear algebra logic.

🧮 Matrix Math
📐 2D Arrays
Instant Calculation
📊 Step-by-Step

Matrix Multiplier

Define dimensions and enter values

📐 Matrix Dimensions

Note: Columns of A must equal Rows of B for multiplication to be valid.


🔢 Matrix Values
Matrix A
Matrix B

Multiplication Result

Product matrix and calculation details

🧮

Enter your matrix dimensions and values, then click Calculate Product to see the resulting matrix.

Properties of Matrix Multiplication

Key mathematical rules and properties that govern how matrices interact.

Property Rule / Formula Description
Dimension RuleA(m×n) × B(n×p) = C(m×p)Inner dimensions must match; result takes outer dimensions.
Non-CommutativeAB ≠ BAOrder matters; reversing matrices usually changes the result.
Associative(AB)C = A(BC)Grouping does not affect the final product.
DistributiveA(B + C) = AB + ACMultiplication distributes over matrix addition.
Identity MatrixAI = IA = AMultiplying by the identity matrix leaves the original unchanged.
Zero MatrixA0 = 0A = 0Multiplying by a zero matrix results in a zero matrix.

Matrix Multiplication FAQ

Everything you need to know about multiplying matrices and linear algebra basics.

Matrix multiplication is a binary operation that takes a pair of matrices and produces another matrix. It is a fundamental operation in linear algebra, used extensively in physics, computer graphics, machine learning, and engineering to represent linear transformations and solve systems of linear equations.

You can multiply two matrices only if they are compatible. Specifically, the number of columns in the first matrix (Matrix A) must exactly equal the number of rows in the second matrix (Matrix B). If A is an m × n matrix and B is an n × p matrix, their product AB will be an m × p matrix.

No, matrix multiplication is generally not commutative. This means that for two matrices A and B, the product AB is usually not equal to BA. The order in which you multiply matrices matters, which is a key difference from standard multiplication of real numbers.

Each element in the resulting matrix is calculated by taking the dot product of the corresponding row from the first matrix and the corresponding column from the second matrix. You multiply matching entries and sum them up. For example, the element in row i and column j of the product is the sum of A[i,k] * B[k,j] for all valid k.

Matrix multiplication is used in 3D computer graphics to rotate, scale, and translate objects. In machine learning, it is the core operation behind neural networks (forward propagation). It is also used in quantum mechanics, economics for input-output models, and solving systems of linear equations in engineering.

Similar Posts

  • Train Ticket Inflation Tracker 2026

    Train Ticket Inflation Tracker UK 2026 | Rail Fare Increase Calculator calculatorsonline.co.uk Train Ticket Inflation Tracker 2026 Track the historical inflation of UK train tickets. Calculate how much rail fares have increased since a specific year using compound annual growth rates. 🚆 Rail Fares 📈 Inflation Data 💷 Ticket Price 🇬🇧 UK Network Fare Inflation…

  • Early Settlement Calculator 2026

    Early Settlement Calculator 2026 | Loan Payoff Figure Calculator calculatorsonline.co.uk Early Settlement Calculator 2026 Instantly work out your loan settlement figure, including accrued daily interest and early settlement fees. Perfect for personal loans, car finance, and mortgages you want to clear early. 🏁 Payoff Figure 📆 Daily Interest 🚗 Car Finance & Loans 📏 Accurate…

  • Darts Checkout Calculator

    Darts Checkout Calculator UK | Optimal Finish Routes & Guide calculatorsonline.co.uk Darts Checkout Calculator Instantly find the optimal 3-dart (or fewer) finish for any score up to 170. Improve your finishing and plan your throws with our free, easy-to-use tool. 🎯 Optimal Routes 🧮 Up to 170 🇬🇧 PDC Standard 📱 Mobile Friendly Finish Planner…

  • Pearson Product Calculator

    Pearson Correlation Calculator | Product-Moment Correlation Coefficient (r) calculatorsonline.co.uk Pearson Correlation Calculator Compute the Pearson product-moment correlation coefficient (r) between two variables. Get r, r², strength interpretation, scatter plot, and statistical significance — instantly. 📊 Pearson’s r & r² 📈 Scatter plot 🎯 Significance test Pearson Correlation Calculator Compute the correlation coefficient between X and…

  • Tattoo Cost Calculator UK

    Tattoo Cost Calculator UK 2026 | Estimate Your Tattoo Price calculatorsonline.co.uk Tattoo Cost Calculator UK Estimate how much your tattoo will cost in the UK. Calculate prices based on size, placement, style, artist experience and location. Get accurate estimates for small tattoos, sleeves, back pieces and more. 🎨 All sizes & styles 💷 UK pricing…

  • Bathroom Renovation Guide

    Bathroom Renovation Guide UK | Planning, Process & Checklists calculatorsonline.co.uk Bathroom Renovation Guide Plan your perfect bathroom remodel with our comprehensive UK guide. Explore step-by-step checklists, realistic timelines, and expert design tips. 🛁 Planning Checklist 📐 Design Tips 🔨 Process Guide 🇬🇧 UK Regulations Project Planning The Renovation Process Explained A successful bathroom remodel requires…