Skip to content
Mathematics & StatisticsLocal · Stays on device

Vector Calculator

Add vectors and find dot and cross products, magnitudes, unit vectors, angles and projections in 2D or 3D.

  • 2D and 3D vectors
  • Free to use
  • No sign-up or watermark
vector-calculatorOn this device
2D and 3D vectors
Open Vector Calculator

About this tool

Enter two vectors with 2 or 3 components and see every common operation at once: sum and difference, dot product, cross product (3D), magnitudes, unit vectors, the angle between them in degrees and radians, and the projection of a onto b.

Formulas are listed on the page. Results use double-precision floating point and are shown to 6–8 significant digits; undefined cases such as the unit vector or angle of a zero vector are reported instead of returning NaN. Everything is calculated in your browser; nothing you enter is uploaded.

  1. Input

    Your details

    2D and 3D vectors

  2. Processing

    Processed in this browser

    Instant, in-browser. Nothing is uploaded.

  3. Output

    Your result

    Shown instantly, ready to copy or export

Local processing pipelineDouble-precision arithmetic

How to use it

  1. 1

    Enter vector a and vector b, e.g. 1, 2, 3.

  2. 2

    Read the results table.

  3. 3

    Use 3 components for the cross product.

Zero-upload architecture

How to use Vector Calculator for free, with no upload

Free, with no sign-up or watermark · Your details stay on your device

  1. 1

    Open Vector Calculator

    Launch the app. There is nothing to install and no account to create.

  2. 2

    Work through it

    Read the results table.

  3. 3

    Get your result

    Use 3 components for the cross product.

All 31 maths tools
  • Local

    Matrix Calculator

    Add, subtract, multiply, transpose, invert and row-reduce matrices up to 8×8 with exact fractions.

    Open tool
  • Local

    Complex Number Calculator

    Do complex arithmetic and convert between rectangular, polar and exponential form, with powers, n-th roots and an Argand diagram.

    Open tool
  • Local

    Triangle Trigonometry Solver

    Solve right triangles from any two values, or any triangle from three (SSS, SAS, ASA, AAS, SSA), with diagram, area and steps.

    Open tool
  • Local

    Determinant Calculator

    Calculate exact determinants of square matrices up to 8×8, with cofactor expansion steps for small matrices.

    Open tool