How can I calculate a cross product in Excel?

To calculate a cross product in Excel, you can use the built-in function “CROSSPRODUCT”, which takes two vectors as input and returns the cross product as a single value. First, arrange the two vectors in separate columns with their corresponding components in each row. Then, in a new cell, use the formula “=CROSSPRODUCT(vector1, vector2)”. This will calculate the cross product and display the result in the cell. Alternatively, you can manually calculate the cross product by multiplying the corresponding components of each vector and then summing them up. Excel also allows you to use the “SUMPRODUCT” function, which can perform both steps in a single formula. Simply enter the formula “=SUMPRODUCT(vector1, vector2)” to obtain the cross product.

Calculate a Cross Product in Excel


Assuming we have vector A with elements (A1, A2, A3) and vector B with elements (B1, B2, B3), we can calculate the cross product of these two vectors as:

Cross Product = [(A2*B3) – (A3*B2), (A3*B1) – (A1*B3), (A1*B2) – (A2*B1)]

For example, suppose we have the following vectors:

  • Vector A: (1, 2, 3)
  • Vector B: (4, 5, 6)

We could calculate the cross product of these vectors as:

  • Cross Product = [(A2*B3) – (A3*B2), (A3*B1) – (A1*B3), (A1*B2) – (A2*B1)]
  • Cross Product = [(2*6) – (3*5), (3*4) – (1*6), (1*5) – (2*4)]
  • Cross Product = (-3, 6, -3)

The following example shows how to calculate this exact cross product in Excel.

Example: Calculating Cross Product in Excel

To calculate the cross product between two vectors in Excel, we’ll first input the values for each vector:

Next, we’ll calculate the first value of the cross product:

Then we’ll calculate the second value:

Lastly, we’ll calculate the third value:

The cross product turns out to be (-3, 6, -3).

Cross product in Excel

This matches the cross product that we calculated by hand earlier.

Additional Resources

x