Skip to content
LovelyTools
EN

Vector Calculator

Dot product, cross product, magnitude and angle of 2D or 3D vectors.

Processed locally on your device — nothing is uploaded.

About the Vector Calculator

Vectors are everywhere in physics, graphics and engineering. Enter two vectors as comma-separated components — 2D or 3D — and get their dot product, cross product, sum and difference, both magnitudes, the unit vector of the first and the angle between them.

2D vectors are treated as 3D with z = 0 for the cross product.

How to use the Vector Calculator

  1. Enter vector u.
  2. Enter vector v.
  3. Read all the results.

Features

  • Share as image: a 1200×630 card of your result to post or send, plus a QR code to open the same values on your phone
  • Dot and cross product
  • Sum and difference
  • Magnitudes and unit vector
  • Angle between vectors

Supported formats

  • Numbers

Frequently asked questions

What does a dot product of 0 mean?

The vectors are perpendicular.

Are my numbers saved?

No. Calculations happen in your browser and nothing you enter is sent anywhere or stored.