Vector Calculator

Perform basic vector operations such as addition, subtraction, and scalar multiplication in 2D to 6D.

Addition and subtraction compare vectors component by component. Scalar multiplication multiplies each component of Vector A by the same number.

Vector A

Vector B

Result will appear here.
Metric Value

Privacy: calculations run locally in your browser. No vector values are stored or transmitted.

How it works

Vectors are processed component by component. For example, vector addition adds each component in A to the matching component in B.

Examples

  • Add: [1, 2, 3] + [4, 5, 6] = [5, 7, 9]
  • Subtract: [5, 7] − [2, 3] = [3, 4]
  • Scalar: 2 × [1, -3, 4] = [2, -6, 8]

FAQ

  • What operations does this vector calculator support?

    This tool supports vector addition, subtraction, and scalar multiplication.

  • Do vectors need the same dimension?

    Yes. Vector addition and subtraction require both vectors to have the same dimension. Scalar multiplication uses only Vector A.

  • Can I use decimals and negative values?

    Yes. The calculator accepts integers, decimals, and negative values.

  • Are calculations stored?

    No. Everything runs locally in your browser.

Related tools