Gram–Schmidt Calculator
Enter vectors as the rows of a matrix to orthonormalise them.
Vectors as rows
Rows
2
Columns
2
Write each vector as a row, rows separated by semicolons, like 3, 4; 0, 5.
Try
Result
You entered
Orthogonal (not normalised)
Show the work
Start with the first vector
The first vector needs no change: . Every later one is made at right angles to it.
Remove the directions already used
Subtract from its projection onto each earlier . What is left, , is at right angles to all of them.
Using
Normalise to length 1
Divide each by its own length to get a vector of length 1 pointing the same way. The results are orthonormal: unit length and at right angles to each other.
Using
Result
So the orthonormal vectors are .