Skip to content
Calcemitool
Math & Statistics

Vector Calculator

Enter two vectors in 3D space to calculate their magnitudes, dot product and cross product.

Enter your details

Results update live as you type.

Example: 2

Example: 3

Example: 4

Example: 1

Example: 0

Example: 2

Nothing is stored — your inputs stay in the page link so you can share or bookmark this exact result.

Step-by-step calculation

  1. 1

    Calculate magnitudes

    √(x² + y² + z²) = 5.385 and 2.236

  2. 2

    Calculate the dot product

    2×1 + 3×0 + 4×2 = 10

  3. 3

    Calculate the cross product

    A × B = (6, 0, -3)

The formula

A · B = AxBx + AyBy + AzBz

The dot product measures how much two vectors point in the same direction, while the cross product gives a new vector perpendicular to both.

A, B
The two 3D vectors
|A|
Magnitude (length) of vector A

Calculating work done by a force

Work equals the dot product of a force vector and a displacement vector — it accounts for the angle between the direction you push and the direction of motion.

Frequently asked questions

What does a dot product of zero mean?

The two vectors are perpendicular (at a 90-degree angle) to each other.

What is the cross product used for?

It produces a vector perpendicular to both inputs, commonly used to find surface normals or torque.

Can I use this for 2D vectors?

Yes — set the z-component of both vectors to 0.

Dot Product

10

Vector A has magnitude 5.385 and vector B has magnitude 2.236. The angle between them is 33.85°.

Magnitude of A
5.39
Magnitude of B
2.24
Cross Product
(6, 0, -3)
Angle Between Vectors
33.85

Headline result: Dot Product — updates live as you change the inputs.

Browse all calculators →

Complete guide6 min read

Vector: the complete guide

Everything behind the numbers above — what each input means, the formula that produces the result, where the calculation is used, and the mistakes that quietly ruin it.

Why use the Vector

Most people can do this calculation on paper, but doing it repeatedly — and correctly — is where the effort goes. The Vector is built for students, teachers, analysts and anyone who needs the working shown, and it answers one question well: the correct result plus a method you can reproduce by hand. Instead of a bare number it shows the inputs it used, the formula it applied and every intermediate step, so you can check the reasoning rather than trust it blindly.

The calculation runs entirely in your browser and updates the moment you change a value. Nothing is uploaded, nothing is stored on a server, and your inputs live in the page address so you can bookmark a scenario or send it to someone else exactly as you left it. That makes it practical to model several versions of the same decision side by side.

How this calculator works

The dot product measures how much two vectors point in the same direction, while the cross product gives a new vector perpendicular to both. In practice you supply 6 core values, and the calculator resolves the formula and its supporting figures in a single pass.

  1. 1

    Enter your figures

    Fill in vector A — x, vector A — y, vector A — z and vector B — x and the remaining fields. Each field carries an example so you can see the expected scale of the number.

  2. 2

    The formula is applied

    Your values are substituted into A · B = AxBx + AyBy + AzBz and evaluated immediately — there is no submit step and no page reload.

  3. 3

    Results are broken down

    The headline figure appears first, followed by the supporting numbers, any charts or schedules, and the step-by-step arithmetic that produced them.

  4. 4

    Adjust and compare

    Change one input at a time to see its individual effect. The page link updates with your values, so you can keep two scenarios open in separate tabs.

Every input explained

Accurate inputs matter more than the formula itself. Here is what each field means, and what to enter when you are unsure.

  • Vector A — x

    x-component of vector A. A plain number; decimals are accepted where they make sense. Example: 2

  • Vector A — y

    y-component of vector A. A plain number; decimals are accepted where they make sense. Example: 3

  • Vector A — z

    z-component of vector A. A plain number; decimals are accepted where they make sense. Example: 4

  • Vector B — x

    x-component of vector B. A plain number; decimals are accepted where they make sense. Example: 1

  • Vector B — y

    y-component of vector B. A plain number; decimals are accepted where they make sense. Example: 0

  • Vector B — z

    z-component of vector B. A plain number; decimals are accepted where they make sense. Example: 2

The formula behind the result

The calculator evaluates A · B = AxBx + AyBy + AzBz. The dot product measures how much two vectors point in the same direction, while the cross product gives a new vector perpendicular to both.

Understanding the terms is what lets you spot an implausible answer before you act on it — if a result surprises you, one of the terms below is usually carrying an input in the wrong unit or scale.

  • A, B

    The two 3D vectors

  • |A|

    Magnitude (length) of vector A

Where people use this

Math & Statistics calculations show up in more places than most people expect. These are the situations where the Vector earns its keep.

  • Checking homework or coursework against a worked method

  • Preparing teaching examples with consistent, correct intermediate steps

  • Validating a spreadsheet formula against an independent calculation

  • Exploring how the answer responds when one input changes

Advantages of calculating it this way

  • The working is visible

    Every intermediate step is shown, so the result can be audited, reproduced by hand, or explained to somebody else who needs convincing.

  • Instant scenario testing

    Because results recalculate as you type, comparing five variations costs the same effort as calculating one.

  • No spreadsheet errors

    The formula is fixed and tested. There is no stray cell reference, no dragged-down range that stopped one row short, and no silent overwrite.

  • Private by construction

    The maths runs in your browser. Nothing you type is transmitted, logged or retained anywhere.

  • Shareable results

    Your inputs live in the page link, so a scenario can be bookmarked, printed or sent to a partner, adviser or colleague unchanged.

Limitations worth knowing

Floating-point arithmetic rounds at the far decimal places, so results displayed to many digits may differ marginally from exact symbolic answers.

A calculator models the arithmetic of a decision, not the decision itself. It cannot see your risk tolerance, your circumstances or the small print of a specific agreement — treat the output as one strong input into a judgement you still make yourself.

Common mistakes to avoid

  • Mixing time periods

    Annual rates with monthly amounts, or weekly figures with yearly totals, is the single most common source of a wildly wrong answer. Confirm that every input uses the period the field asks for.

  • Confusing percentages and decimals

    Percentage fields expect 7.5, not 0.075. Entering the decimal form understates the result by a factor of one hundred.

  • Leaving defaults in place

    Default values exist to demonstrate the calculator, not to describe your situation. Replace every one of them before reading the result seriously.

  • Ignoring the optional fields

    Every field here affects the outcome, so an approximate entry produces an approximate answer. Use real figures wherever you have them.

  • Reading one scenario as the answer

    A single calculation is a snapshot. Run an optimistic and a pessimistic version before committing to anything that matters.

Tips for a more accurate result

  • Start from source documents

    Take figures from the statement, contract, payslip or listing rather than from memory. Remembered numbers are almost always rounded in the flattering direction.

  • Change one variable at a time

    Isolating a single input tells you how sensitive the result is to it — which is usually more useful than the result itself.

  • Read the step-by-step breakdown rather than only the headlin

    Read the step-by-step breakdown rather than only the headline number — the method is what transfers to the next problem.

  • Save the scenarios that matter

    Bookmark or share the page link once a scenario looks right. It restores every input exactly, which makes revisiting a decision months later straightforward.

  • Cross-check anything consequential

    For decisions with real financial, medical or legal weight, confirm the figure with a qualified professional who can see your full circumstances.

Conclusion

The vector calculator turns a fiddly, error-prone calculation into something you can run in seconds and repeat as often as your situation changes. Used properly — real figures, consistent periods, more than one scenario — it gives you the correct result plus a method you can reproduce by hand with the working laid out in full.

Bookmark this page for the next time the question comes up, or explore the related math & statistics calculators below to model the rest of the decision. Everything on Calcemitool is free, requires no account, and works the same way on every device. This page also covers vector calculator, dot product calculator and cross product calculator.

Popular next steps — each one is free, instant and explains the maths.

Didn't find what you needed?

135+ free calculators across 13 categories — every one shows its formula and working.

Browse all calculators