How it works
This calculator evaluates the displayed equation variants locally in your browser. Enter the known values; results are shown for equations whose required inputs are available.
Check units, assumptions and professional guidance before using results for medical, financial, legal, engineering or safety-critical decisions.
Formulas used by this calculator
The Dot Product Calculator works with 11 quantities and 15 relations between them. Enter the values you know, leave the one you want to find blank, and press Calculate. Blank fields are never treated as zero. Each formula below is solved for one quantity.
- Dot product (
dot_product) = x_a × x_b + y_a × y_b + z_a × z_b
- Z b (
z_b) = (dot_product - x_a × x_b - y_a × y_b)/z_a
- X a (
x_a) = (dot_product - y_a × y_b - z_a × z_b)/x_b
- Z a (
z_a) = (dot_product - x_a × x_b - y_a × y_b)/z_b
- X b (
x_b) = (dot_product - y_a × y_b - z_a × z_b)/x_a
- Y a (
y_a) = (dot_product - x_a × x_b - z_a × z_b)/y_b
- Y b (
y_b) = (dot_product - x_a × x_b - z_a × z_b)/y_a
- A magnitude (
a_magnitude) = sqrt(pow(x_a, 2) + pow(y_a, 2) + pow(z_a, 2))
7 further rearrangements of the same relations let you solve for other quantities.
Inputs
| Field | Name in formulas | Can be solved for |
| X a | x_a | Yes |
| X b | x_b | Yes |
| Y a | y_a | Yes |
| Y b | y_b | Yes |
| Z a | z_a | Yes |
| Z b | z_b | Yes |
| Angle | angle | Input only |
| A magnitude | a_magnitude | Yes |
| B magnitude | b_magnitude | Yes |
| Dot product | dot_product | Yes |
| Num dimensions | num_dimensions | Input only |
Limitation: 1 of the 16 underlying relations rely on lookup tables or helper routines that run only on the original source calculator, so this page skips them. Quantities that depend on those relations are not solved here.