Matrix Calculator
Add, subtract, multiply, transpose, invert and row-reduce matrices up to 8×8 with exact fractions.
Open toolAdd vectors and find dot and cross products, magnitudes, unit vectors, angles and projections in 2D or 3D.
Enter two vectors with 2 or 3 components and see every common operation at once: sum and difference, dot product, cross product (3D), magnitudes, unit vectors, the angle between them in degrees and radians, and the projection of a onto b.
Formulas are listed on the page. Results use double-precision floating point and are shown to 6–8 significant digits; undefined cases such as the unit vector or angle of a zero vector are reported instead of returning NaN. Everything is calculated in your browser; nothing you enter is uploaded.
Your details
2D and 3D vectors
Processed in this browser
Instant, in-browser. Nothing is uploaded.
Your result
Shown instantly, ready to copy or export
Enter vector a and vector b, e.g. 1, 2, 3.
Read the results table.
Use 3 components for the cross product.
Zero-upload architecture
Free, with no sign-up or watermark · Your details stay on your device
Launch the app. There is nothing to install and no account to create.
Read the results table.
Use 3 components for the cross product.
Add, subtract, multiply, transpose, invert and row-reduce matrices up to 8×8 with exact fractions.
Open toolDo complex arithmetic and convert between rectangular, polar and exponential form, with powers, n-th roots and an Argand diagram.
Open toolSolve right triangles from any two values, or any triangle from three (SSS, SAS, ASA, AAS, SSA), with diagram, area and steps.
Open toolCalculate exact determinants of square matrices up to 8×8, with cofactor expansion steps for small matrices.
Open tool