Skip to content
    Algebra

    How to Find the Magnitude of a Vector

    A drone flies 2 m east, 3 m north and 6 m up. How far is it from where it started? Not 11 m. The straight-line answer is the vector's magnitude, and it comes from Pythagoras. This guide shows you how to find the length of any 2D or 3D vector.

    Math Solver Academic Editorial Board4 min read

    Key takeaways

    • |v| = √(x² + y² + z²).
    • Square each part first, then add, then take the square root.
    • A magnitude is never negative, because squares are never negative.
    • For a 2D vector, use z = 0.
    In this guide
    1. 01What is the magnitude of a vector?
    2. 02Why does the magnitude matter?
    3. 03The formula
    4. 04How to find the magnitude step by step
    5. 05Common mistakes to avoid
    6. 06Tips and tricks
    7. 07Where you'll use it in real life
    8. 08Quick summary
    9. 09Worked example
    10. 10Frequently asked questions

    What is the magnitude of a vector?

    A vector is an arrow with a direction and a size. It is written with components, like (2, 3, 6), meaning 2 steps along x, 3 along y and 6 along z. The magnitude is the straight-line length of that arrow.

    Why does the magnitude matter?

    Vectors describe movement, speed and force. The magnitude tells you how much: how far, how fast, how strong. The direction is handy, but often the size is the number you actually need.

    A plane flying 300 km/h east while the wind pushes it 40 km/h north is not moving at 340 km/h. Its real speed is √(300² + 40²) ≈ 302.7 km/h.

    The formula

    |v| = √(x² + y² + z²)
    SymbolWhat it meansExample
    ‖v‖The magnitude (length), 0 or positive7 m
    xComponent along the x-axis2 m
    yComponent along the y-axis3 m
    zComponent along the z-axis (0 for 2D)6 m

    The magnitude has the same unit as the components, for example metres or newtons. This is the Pythagorean theorem used twice: once across the floor and once up to the height.

    How to find the magnitude step by step

    1. 1Square each component. Work out x², y² and z².
    2. 2Add the squares. x² + y² + z².
    3. 3Take the square root. The result is |v|.

    Now enter your own vector in the calculator below.

    Try it yourself

    Pre-filled with the example — change any value.

    🧮
    Linear Algebra
    High School

    Vector Magnitude

    Calculate the length of a 3D vector

    |v| = √(x² + y² + z²)

    x = 2Active Variable
    Dynamic Formula Model
    0.120
    120
    120

    💡 Example

    Reference
    Inputs:x=1, y=2, z=2
    Result:3
    Open the full Vector Magnitude calculator

    Common mistakes to avoid

    • Dropping negative signs wrongly. (−3)² = 9, a positive number. A magnitude is never negative.
    • Forgetting the square root. x² + y² + z² is the squared length, not the length.
    • Just adding the parts. 2 + 3 + 6 = 11 is the path along the axes, not the straight-line distance.

    Tips and tricks

    • Estimate first. The magnitude is always at least as big as the largest component (here 6) and at most the sum of all of them (here 11).
    • Distance between two points? Subtract their coordinates, then find the magnitude. The distance formula calculator does this for 2D points.
    • Angles between vectors use magnitudes together with the dot product.

    Where you'll use it in real life

    • Travel and drones: straight-line distance from the start point.
    • Physics: speed from a velocity vector, or the strength of a force.
    • Navigation: the real speed of a boat or plane pushed by a current or wind.
    • Games and graphics: normalising direction vectors so movement speed stays the same.

    Quick summary

    To find the magnitude of a vector, square each component, add them, and take the square root: |v| = √(x² + y² + z²). The answer is always 0 or positive. Use the calculator above to find the length of any vector with every step shown.

    Worked example

    A drone flies 2 m east, 3 m north and 6 m up from its starting point. Its movement is the vector (2, 3, 6). How far is it from where it started, in a straight line?

    1. 01|v| = √(x² + y² + z²)
    2. 02|v| = √(2² + 3² + 6²)
    3. 03|v| = √(4 + 9 + 36)
    4. 04|v| = √49 = 7

    These numbers are pre-filled in the calculator above.

    Frequently asked questions

    Can the magnitude of a vector be negative?

    No. It is a length, so it is always 0 or positive. Only the zero vector (0, 0, 0) has magnitude 0.

    How do I find the magnitude of a 2D vector?

    Use |v| = √(x² + y²), or put z = 0 in the 3D formula. For (3, 4) the magnitude is √25 = 5.

    What is a unit vector?

    A vector with magnitude 1. You make one by dividing each component of a vector by its magnitude.

    #Linear Algebra#High School#Vector Magnitude
    Updated

    Keep reading

    Sponsored ToolsAd

    More tools on Ytools →
    Calcu.click — 25+ Free Smart Calculators preview

    Calcu.click — 25+ Free Smart Calculators

    Brand new calculation platform with 0ms reactive math, 100% client-side privacy, and dedicated subdomains. Fast calculators for EMI, SIP, Mortgage, Income Tax, BMI, Age, Percentage, and more.

    25+ CalculatorsFinanceHealth0ms Real-TimeFree
    Keyboard Arena preview

    Keyboard Arena

    Master touch typing with real-time WPM speed tests, mechanical switch audio, A-Z finger biomechanics drills, 40+ structured lessons, and competitive arcade games.

    Typing TestWPMTouch Typing
    Flutter Log Explorer preview

    Flutter Log Explorer

    Real-time structured log viewer and search explorer for Flutter & Dart. Zero-config capture from Debug Adapter (DAP) & Dart VM Service with smart classification and filters.

    FlutterDartVS Code ExtensionOpen VSX