Magnitude of a Vector Calculator
This Magnitude of a Vector Calculator measures how long a vector is in three dimensions, and shows the working line by line. Each component is squared, the squares are added, and the square root of that total is the length, which is Pythagoras applied twice. Squaring is what removes the signs, so direction never affects the answer. Following the same pattern every time keeps the length positive and easy to check.
Enter the three components of \(\vec{A} = \langle a_{1}, a_{2}, a_{3} \rangle\).
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the components into the formula.
- Work out the magnitude.
Formula: Magnitude Formula
This formula gives the length of a vector from its components. Square each component, add the squares, then take the square root.
Useful Tips to Remember
The magnitude is never negative, because every component is squared before anything is added. A component of 0 still counts as a term, it just adds nothing. Keep the square root exact, such as \(\sqrt{14}\), and only round at the end. If all three components share a factor, the magnitude shares it too, so \(|\langle 3, 6, 9 \rangle| = 3|\langle 1, 2, 3 \rangle|\).
Required knowledge
- How to square negative numbers and add the results, covered in the Multiplication of Small Numbers Calculator.
- How to simplify a square root like √54, covered in the Simplifying Radicals Calculator.
- Why squaring and adding gives a length, covered in the Pythagoras Theorem Calculator.
Where Is the Magnitude of a Vector Used?
The magnitude of a vector turns a list of components into a single size, such as how fast, how strong or how far. Physics uses it to get the speed from a velocity vector and the size of a force from its parts. In 3D graphics and games, vectors are measured to find distances and to normalise directions for lighting. Engineers use it to find the total load on a beam, and in data science the same idea measures how big a data vector is, which is the first step in comparing two of them.
- Finding speed from a velocity vector in physics
- Working out the total size of a force or load
- Normalising directions for lighting in 3D graphics
- Measuring how far a drone or robot has moved
- Comparing data vectors in machine learning
Magnitude of a Vector Practice Problems
Example 1 finds the length of \(\langle 3, 4, 0 \rangle\), which works out to a whole number, and Example 2 uses \(\langle 1, 2, 3 \rangle\), where the answer stays as a square root. Square, add and take the root yourself, then compare. For two more free worked examples, check out the Magnitude of a Vector Notes.
The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. For more practice, the notes page goes further with extra worked examples and fuller explanations of the ideas behind each step. Use them together to check your answers and to understand why each step works.
See Example 1 Hide Example 1
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the components into the formula.
- Work out the magnitude.
Formula
Formula: Magnitude Formula
This formula gives the length of a vector from its components. Square each component, add the squares, then take the square root.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the magnitude of \(\vec{A} = \left\langle 3,\; 4,\; 0 \right\rangle\).
Step 2
Step 2 - Write the formula.
In this problem: The magnitude is the length of the vector. It comes from Pythagoras' theorem in three dimensions: square each component, add the squares and take the square root.
Step 3
Step 3 - Substitute the components into the formula.
In this problem: Replacing each component in \(|\vec{A}| = \sqrt{a_{1}^{2} + a_{2}^{2} + a_{3}^{2}}\) gives \(|\vec{A}| = \sqrt{3^{2} + 4^{2} + 0^{2}}\).
Step 4
Step 4 - Work out the magnitude.
In this problem: Squaring the components gives \(3^{2} = 9\), \(4^{2} = 16\) and \(0^{2} = 0\). Adding the squares gives \(9 + 16 + 0 = 25\). Taking the square root gives \(\sqrt{25} = 5\).
Final Answer
See Example 2 Hide Example 2
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the components into the formula.
- Work out the magnitude.
Formula
Formula: Magnitude Formula
This formula gives the length of a vector from its components. Square each component, add the squares, then take the square root.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the magnitude of \(\vec{A} = \left\langle 1,\; 2,\; 3 \right\rangle\).
Step 2
Step 2 - Write the formula.
In this problem: The magnitude is the length of the vector. It comes from Pythagoras' theorem in three dimensions: square each component, add the squares and take the square root.
Step 3
Step 3 - Substitute the components into the formula.
In this problem: Replacing each component in \(|\vec{A}| = \sqrt{a_{1}^{2} + a_{2}^{2} + a_{3}^{2}}\) gives \(|\vec{A}| = \sqrt{1^{2} + 2^{2} + 3^{2}}\).
Step 4
Step 4 - Work out the magnitude.
In this problem: Squaring the components gives \(1^{2} = 1\), \(2^{2} = 4\) and \(3^{2} = 9\). Adding the squares gives \(1 + 4 + 9 = 14\). Taking the square root gives \(\sqrt{14} \approx 3.74\).
Final Answer
Notes and Practice Mode
Want to understand the method more deeply? The Magnitude of a Vector Notes go through the same pattern with extra worked examples and fuller explanations of the ideas behind each step, so you can see why every step works and not just what to do. When you are ready to test yourself, Magnitude of a Vector Practice gives you a new problem at Easy, Medium or Hard level, checks your answer and shows the full working whenever you get one wrong. Practice Mode for this calculator is available on the Pro plan.
Login and upgrade to Pro to unlock the full step solution.
Example Problems
Click one to load it into the box and solve it.