Math Last updated: July 2026

Vector Projection Calculator

Calculate the scalar projection (component) and vector projection of one vector onto another. Also find the rejection vector (perpendicular component).

How to Use the Vector Projection Calculator

Interactive calculator available after JavaScript loads.

Loading calculator...

Written by Calculator Archive Team

Math & Finance Experts — Verified Formulas, Peer-Reviewed Sources, Expert Analysis

Looking for a deeper explanation?

Read our comprehensive, peer-reviewed educational article in our Blog to learn the underlying math, formulas, and step-by-step examples.

Read Blog Guide ›

Mathematical Formula & Logic

proj_b(a) = ((a·b) / |b|²) × b | comp_b(a) = (a·b) / |b|
Variable Glossary
proj_b(a) Vector projection of a onto b (a vector parallel to b)
comp_b(a) Scalar projection of a onto b (the component of a along b)
a⃗ · b⃗ Dot product of vectors a and b
|b⃗| Magnitude of vector b
rejection The perpendicular component: a⃗ - proj_b(a)

Step-by-Step Worked Calculation

Scenario: Example: Project A = (3, 4) onto B = (1, 0)

Find the vector and scalar projection of A = (3, 4) onto B = (1, 0).

1

Step 1: Calculate dot product: A·B = (3)(1) + (4)(0) = 3.

2

Step 2: Calculate |B|² = 1² + 0² = 1.

3

Step 3: Scalar projection = A·B / |B| = 3 / 1 = 3.

4

Step 4: Vector projection = (3/1) × (1, 0) = (3, 0).

5

Step 5: Rejection = A - proj = (3,4) - (3,0) = (0, 4).

How to Use the Vector Projection Calculator

  1. 1. Enter the components of the vector to project (a⃗).
  2. 2. Enter the components of the vector to project onto (b⃗).
  3. 3. Click "Calculate" to see the scalar projection, vector projection, and rejection.
  4. 4. Review the step-by-step dot product and magnitude calculations.

What Is a Vector Projection Calculator?

Vector Projection Calculator is a mathematical computation tool that helps you calculate the scalar and vector projection of one vector onto another. Get the projection component and rejection vector with step-by-step solutions. It applies established mathematical principles to deliver accurate results, often showing the underlying formula and step-by-step working so you can understand the computation process.

Why This Calculation Matters

Mathematical calculations form the foundation of science, engineering, finance, and everyday problem-solving. Vector Projection Calculator helps you work through calculations accurately and efficiently, reducing the risk of manual arithmetic errors. Whether you are a student learning concepts, a professional verifying work, or anyone needing quick and reliable math results, this tool ensures precision and saves time.

Historical Background

Mathematics has evolved over thousands of years, from ancient Babylonian clay tablets and Egyptian papyri to Greek formal proofs by Euclid and Archimedes. The development of algebra by Persian mathematician al-Khwarizmi in the 9th century and the invention of calculus by Newton and Leibniz in the 17th century laid the groundwork for modern computation. Vector Projection Calculator continues this tradition by making mathematical operations accessible through digital technology.

Frequently Asked Questions

Complete indexable directory of answers (13 questions)

What is vector projection?

Vector projection of A onto B is the component of A that lies along the direction of B. It produces a vector parallel to B.

What is the difference between scalar and vector projection?

Scalar projection gives a single number (the length of the projection). Vector projection gives a vector with both magnitude and direction along B.

What is the rejection vector?

The rejection (or perpendicular component) is the part of A that is perpendicular to B. It is calculated as A - proj_B(A).

How is projection related to the dot product?

The scalar projection uses the dot product: comp_B(A) = (A·B)/|B|. The dot product measures how much A points in the direction of B.

What happens if B is a unit vector?

If B is a unit vector (|B| = 1), the projection formula simplifies to proj_B(A) = (A·B) × B, since |B|² = 1.

Can projection be negative?

Yes, the scalar projection can be negative if the angle between A and B is greater than 90°. This means A points partly opposite to B.

What is orthogonal projection?

Orthogonal projection is another name for vector projection. It projects a vector perpendicularly onto another vector or subspace.

How do I project onto a plane?

To project a vector onto a plane, first find the normal vector to the plane. Then subtract the projection onto the normal from the original vector.

What are real-world uses of vector projection?

Vector projection is used in physics (finding force components), computer graphics (shadows and lighting), and engineering (decomposing forces).

What is the relationship between projection and rejection?

The original vector equals the sum of its projection and rejection: A = proj_B(A) + rejection_B(A). They are perpendicular to each other.

What mathematical formula does the Vector Projection Calculator use?

The Vector Projection Calculator uses standard mathematical formulas validated against authoritative references. The specific formula is displayed in the calculator interface with a detailed explanation of each variable.

How can I verify the Vector Projection Calculator results manually?

Each calculator includes a step-by-step worked example showing exactly how the formula is applied. You can follow these steps with pen and paper to verify any result.

What types of inputs does the Vector Projection Calculator accept?

The Vector Projection Calculator accepts numeric inputs including integers and decimals. Invalid inputs (letters, special characters) are rejected with clear error messages.