Home · Everyday · Vectors & Complex Numbers · Vector Subtraction Calculator

Vector Subtraction Calculator

Subtract one vector from another component by component — the displacement from one tip to the other.

Your figures

Example result — edit the figures to make it yours

(-3, -3, -3)

a − b

Component-wise, tip-to-tail. The headline figure for the correctness record is the magnitude of the result vector.

Magnitude of result5.1962

What this calculator does

Subtract one vector from another component by component — the displacement from one tip to the other. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.

The formula and method

(a − b)ᵢ = aᵢ − bᵢ

Enter vectors as comma-separated components; both vectors must share the same dimension.

Components are combined by the standard vector rules (Euclidean geometry).

Angles are returned in degrees unless you switch the angle unit.

Worked example

With the example inputs this page opens with (a — x 1, a — y 2, a — z 3, b — x 4), the result is (-3, -3, -3) — a − b. Component-wise, tip-to-tail. The headline figure for the correctness record is the magnitude of the result vector.

Quick reference

Quick reference — varying a — x
a — xa − b
0.5(-3.5, -3, -3)
0.8(-3.2, -3, -3)
1(-3, -3, -3)
1.25(-2.75, -3, -3)
1.5(-2.5, -3, -3)
2(-2, -3, -3)

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How does the Vector Subtraction Calculator work?

Subtract one vector from another component by component — the displacement from one tip to the other. Vector a · Vector b → a − b. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Vector Subtraction Calculator need?

Vector a · Vector b → a − b. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.

Is the Vector Subtraction Calculator free to use?

Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.