Gram-Schmidt Calculator
Enter 2 or 3 vectors to compute an orthogonal and orthonormal basis using the Gram-Schmidt process, with full step-by-step working.
Input Vectors
Enter your vectors and click Calculate to see results.
Summary
Enter 2 or 3 vectors to compute an orthogonal and orthonormal basis using the Gram-Schmidt process, with full step-by-step working.
How it works
- Select the dimension (2D or 3D) and the number of vectors (2 or 3).
- Enter the components of each input vector.
- Click "Calculate" to run the Gram-Schmidt process.
- The tool computes each orthogonal vector by subtracting projections of previous basis vectors.
- Each orthogonal vector is then divided by its norm to produce an orthonormal unit vector.
- Step-by-step working is displayed so you can verify every intermediate value.
Use cases
- Linear algebra homework and exam preparation.
- Computing an orthonormal basis for QR decomposition.
- Verifying manual Gram-Schmidt calculations.
- Understanding vector projection and orthogonality concepts.
- Machine learning feature orthogonalization.
- Physics and engineering problems requiring orthonormal frames.
Frequently Asked Questions
Last updated: 2026-06-11 ·
Reviewed by Nham Vu