Vector Dot Product Calculator
Compare two 2D vectors by dot product and angle.
Your inputs
Calculation results
Formula & assumptions
Dot = axbx+ayby; angle = arccos(dot/(|a||b|)).
Values use the specified units. Calculations use floating-point arithmetic. Check input measurements and formula assumptions before applying the result.
Compare your scenarios
Save up to five results to compare changes side by side. Scenarios stay in this tab until you clear or reload it.
Using Vector Dot Product Calculator
Compare two 2D vectors by dot product and angle.
- Enter first x, first y, second x, second y using the units printed under each field.
- Choose Calculate, or enable live updates. Review the result labels and formula assumptions.
- Save scenarios to compare up to five variations, then copy the report or download JSON or CSV.
Example
First X: 1 units First Y: 0 units Second X: 1 units Second Y: 1 units Dot product: 1 Angle · degrees: 45
Questions & answers
What does Vector Dot Product Calculator calculate?
Compare two 2D vectors by dot product and angle.
Which units should I enter?
First X uses units. First Y uses units. Second X uses units. Second Y uses units. Convert values to these units before calculating.
Which formula does it use?
Dot = axbx+ayby; angle = arccos(dot/(|a||b|)).
What does the included example show?
First X: 1 units; First Y: 0 units; Second X: 1 units; Second Y: 1 units. Result: Dot product = 1; Angle · degrees = 45.
Can I compare different settings?
Yes. Save a scenario, change the inputs and save another result. Up to five scenarios are compared in this tab; they disappear when you reload or leave.
Can I export the calculation?
Copy the JSON report or download JSON and CSV with inputs, result labels and numeric values. Processing uses local JavaScript; no calculation request is sent to our server. Displayed values use up to 10 significant digits; exports retain JavaScript numeric precision.
Help improve this tool
Report a problem or suggest an improvement
Describe the issue without pasting private tool input. Feedback goes to our admin inbox.
