Vector Calculator (Dot, Cross, Angle)

Compute the dot product, cross product, magnitudes, angle, projection and parallelogram area of two 3D vectors.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Step 1: Open Vector Calculator (Dot, Cross, Angle) and add your input

    Type your numbers or text, add your file, or pick the options you need. Nothing is uploaded: everything stays in your browser.

  2. 2
    Step 2: What Vector Calculator (Dot, Cross, Angle) does

    Compute the dot product, cross product, magnitudes, angle, projection and parallelogram area of two 3D vectors.

  3. 3
    Step 3: Read the result and compare

    The result appears at once. Change one value to see how the answer moves, then keep the figure that fits your case.

  4. 4
    Step 4: Copy or save it

    Copy the result or download it. For an important decision, confirm it with the official source or an adviser.

About this tool

Enter two vectors with 2 or 3 components. The calculator gives the dot product, the cross product (3D), both magnitudes, the angle between them in degrees, the area of the parallelogram they span and the scalar projection of a onto b.

Formulas

Dot product a·b = a₁b₁ + a₂b₂ + a₃b₃. Angle θ = arccos(a·b ÷ (|a||b|)). The cross product a × b is perpendicular to both, with length |a||b| sin θ, which is the area of the parallelogram. The scalar projection of a onto b is a·b ÷ |b|.

Notes

Two vectors are perpendicular when the dot product is 0 and parallel when the cross product is 0. Separate numbers with spaces or commas.

Worked example

For a = (1, 2, 3) and b = (4, −5, 6): a·b = 12, a × b = (27, 6, −13), |a| = 3.7417, |b| = 8.775, angle 68.56°, parallelogram area 30.561.

Tips for best results

Check every box before you rely on a result, because one wrong digit changes the whole answer. Use the exact figures from your payslip, bill, certificate or contract, and keep a note of the date you calculated. Rates, thresholds and rules change from time to time, so for tax, fees and legal matters treat the output as an estimate and confirm with the official source named on this page. You can run as many scenarios as you like; nothing is saved or sent, and refreshing the page clears the boxes.

Quick facts

Embed this calculator on your site

Copy this code to show the calculator on your own page. A link back to shobfree.com is included.

Frequently asked questions

Can I use 2D vectors?

Yes, enter two components each; the cross product then has only a z part.

What if a vector is zero?

The angle is undefined.

What does projection mean?

The length of a along the direction of b.

Which angle unit?

Degrees.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages