Home / Vector Projection Calculator

Vector Projection Calculator

Vector projection decomposes one vector into the component parallel to another vector, a common step in geometry, physics and engineering calculations.

How to use this calculator

  1. Enter the x, y and z components for both vectors. The result reports both the projected vector and scalar projection.
  2. Check the units and definitions before comparing results with another source.
  3. Change one input at a time when comparing scenarios, and keep the reporting period and assumptions consistent.

Formula used by the vector projection calculator

projᵦ(a) = ((a · b)/(b · b)) b; scalar projection = (a · b)/|b|

  • projᵦ(a) = ((a · b)/(b · b)) b; scalar projection = (a · b)/|b|
  • The target vector must not be the zero vector. All components must represent compatible dimensions and units.
  • Inputs are checked for required values and valid ranges; displayed results are rounded for readability.

Worked examples

Worked example

Project A = (3, 4, 0) onto B = (1, 0, 0).

The dot product is 3 and |B|² = 1, so the projection vector is (3, 0, 0).

The dot product is 3 and |B|² = 1, so the projection vector is (3, 0, 0).

Understanding the result

Vector projection decomposes one vector into the component parallel to another vector, a common step in geometry, physics and engineering calculations.

The target vector must not be the zero vector. All components must represent compatible dimensions and units.

Important notes

The target vector must not be the zero vector. All components must represent compatible dimensions and units.

The result applies to the numbers and assumptions entered here; verify specifications for safety-critical or regulated uses.

Frequently asked questions

What does a projection represent?

It is the part of the first vector that lies along the direction of the second vector.

Can the projected scalar be negative?

Yes. A negative scalar projection means the first vector points partly opposite the chosen target direction.

How do I use this calculator?

Enter the x, y and z components for both vectors. The result reports both the projected vector and scalar projection.

Affiliate recommendations

Tools related to Vector Projection Calculator

These tools are selected for the calculator topic. The Calc Studio may earn a commission from purchases made through affiliate links.

  • Growth Wise SAT & ACT prep Visit partner ↗

    SAT and ACT study tools, flashcards, and preparation resources for students.

See the Affiliate Disclosure for details.

Related calculators

  • Dot Product Calculator — Calculate the dot product, vector magnitudes and angle between two three-dimensional vectors.
  • Cross Product Calculator — Calculate the three-dimensional cross product vector and its magnitude using the right-hand-rule convention.
  • Vector Magnitude Calculator — Calculate the magnitude of a two- or three-dimensional vector from its components.
  • Angle Between Vectors Calculator — Find the smaller angle between two non-zero three-dimensional vectors from their components.
  • 2×2 Matrix Calculator — Add, subtract and multiply 2×2 matrices and calculate each determinant with transparent row and column inputs.
  • Circle Calculator — Calculate circle area, circumference, and diameter from radius.

Related explanations

Learn the method behind the number or compare the terminology before using the calculator.

  • Area — Understand area as the amount of two-dimensional surface inside a shape and review common formulas.

This page provides a calculation tool plus explanatory information so you can understand what the result means and when the underlying method may not fit your situation.

Explore more calculation resources

Keep exploring related tools, explanations, conversions, and topic pages in The Calc Studio. These links are selected around the subject of this page so you can move to the next useful calculation without returning to search.

Related calculators

  • Dot Product Calculator — Calculate the dot product, vector magnitudes and angle between two three-dimensional vectors.
  • Cross Product Calculator — Calculate the three-dimensional cross product vector and its magnitude using the right-hand-rule convention.
  • Angle Between Vectors Calculator — Find the smaller angle between two non-zero three-dimensional vectors from their components.
  • Vector Magnitude Calculator — Calculate the magnitude of a two- or three-dimensional vector from its components.
  • 2×2 Matrix Calculator — Add, subtract and multiply 2×2 matrices and calculate each determinant with transparent row and column inputs.
  • Circle Calculator — Calculate circle area, circumference, and diameter from radius.
Browse by categoryMath CalculatorsBusiness CalculatorsConstruction CalculatorsFinancial CalculatorsDate & Time CalculatorsHealth & Fitness Calculators

Task collections

  • Calculators for Students — Free student calculators for grades, percentages, fractions, probability, normal distributions, matrices, vectors, complex numbers, statistics, geometry, and scientific math.
  • Math & Statistics Calculators — Free math and statistics calculators for Bayes theorem, set operations, matrices, complex numbers, vector products, normal distributions, averages, percentages, standard deviation, geometry, equations, and number systems.
  • Science & Electronics Calculators — Free science and electronics calculators for projectile motion, force, buoyancy, fluid pressure, Reynolds number, heat transfer, capacitors, RC time constants, resistance, and electrical relationships.
  • Home Project Calculators — Free home and construction calculators for square footage, roofing, stairs, tile, concrete, framing stud counts, steel plate weight, siding, countertops, insulation, and material estimates.

Related guides

  • How to Calculate Salary from an Hourly Rate — Convert hourly pay into weekly, monthly, and annual estimates and understand the assumptions behind the result.
  • How to Calculate a Z-Score — Learn how a z-score shows how far a value is from the mean in standard-deviation units.
  • How to Calculate Age from a Date of Birth — Learn how exact age is calculated using years, months, and days rather than a rough year difference.

Related terms

  • Area — Understand area as the amount of two-dimensional surface inside a shape and review common formulas.
  • Budget — Learn what a budget is and how simple income-minus-expenses calculations can support planning.
  • Discount — Understand discounts, percent-off pricing, and how to calculate the amount saved and the final price.

Useful conversions

  • °C to °F — Convert Celsius to Fahrenheit with a free temperature converter, formula, examples, and common temperatures.
  • °F to °C — Convert Fahrenheit to Celsius with a free temperature converter, formula, examples, and common temperatures.
  • cm to feet — Convert centimeters to feet with a free cm to feet converter, formula, examples, and a quick reference table.

Browse all calculators · Read all guides · Open the glossary · See all converters · Browse collections

Want to keep learning? Move from a calculator to its formula guide, glossary definition, unit conversion, or task collection to compare related methods and tools.

Optional Premium: save calculation history across visits and remove promotional blocks. See Premium.