How to use this tool
- Enter vector a: x, y, z, vector b: x, y, z.
- Select Calculate to view the result.
- Check the method and assumptions below before using the result.
Input reference and sample values
Use the units and choices shown for each field. Sample values are provided for practice, not as recommendations.
| Input | Format and units | Sample |
|---|---|---|
| Vector A: x, y, z | Enter text using the format shown in the sample. | 1, 0, 0 |
| Vector B: x, y, z | Enter text using the format shown in the sample. | 0, 1, 0 |
Result for these sample inputs
0
- A + B
- 1, 1, 0
- A − B
- 1, -1, 0
- A × B
- 0, 0, 1
- Magnitude A
- 1
- Magnitude B
- 1
- Angle (degrees)
- 90
Select Try the example in the form to load these values and calculate them again. This replaces the current form inputs. Compare the result with the method and worked explanation below.
The method, explained
Dot product is Σaᵢbᵢ. Cross product uses component determinants. Magnitude is sqrt(Σaᵢ²); the angle is acos(dot/(|a||b|)) for nonzero vectors.
Using vector a: x, y, z = 1, 0, 0, vector b: x, y, z = 0, 1, 0, the result is 0. Change these example inputs to match your task; use the method above to check each step.
What to keep in mind
Cartesian components in an orthonormal right-handed coordinate system. The main result is the dot product. Finite-precision arithmetic is used. Check the domain and the stated convention before using an approximation.
Common questions
Why is the angle undefined for a zero vector?
A zero vector has no direction. Its dot and cross products still exist, but the angle formula would divide by its zero magnitude.
How can I check the result?
Dot product is Σaᵢbᵢ. Cross product uses component determinants. Magnitude is sqrt(Σaᵢ²); the angle is acos(dot/(|a||b|)) for nonzero vectors. The worked example uses editable inputs. Calculations run on your device; no external API or account is required.
Methodology maintained by ClarityKit. How these tools are built and checked.