# Cross Product Calculator

The Cross Product Calculator computes the cross product of two vectors in three-dimensional space and provides a visual representation of the result in a Cartesian coordinate system.

The first vector is displayed in green, the second vector is displayed in blue, and the resulting cross product vector is shown in red.

### Cross product

#### Definition^{1}

The cross product or vector product (occasionally directed area product to emphasize the geometric significance) is a binary operation on two vectors in three-dimensional space and is denoted by the symbol . Given two linearly independent vectors and , the cross product, (read "a cross b"), is a vector that is perpendicular to both and and thus normal to the plane containing them.

The formula defines the cross product:

,

where θ is the angle between a and b in the plane containing them (hence, it is between 0° and 180°), ‖a‖ and ‖b‖ are the magnitudes of vectors a and b, and n is a unit vector perpendicular to the plane containing a and b in the direction given by the right-hand rule. If the vectors a and b are parallel (i.e., the angle θ between them is either 0° or 180°), by the above formula, the cross product of a and b is the zero vector 0.

By convention, the direction of the vector n is given by the right-hand rule, where one points the forefinger of the right hand in the direction of a and the middle finger in the direction of b. Then, the vector n is coming out of the thumb (see the adjacent picture). Using this rule implies that the cross product is anti-commutative, i.e., b × a = −(a × b). By pointing the forefinger toward b first and then pointing the middle finger toward a, the thumb will be forced in the opposite direction, reversing the product vector's sign.

Using the cross product requires the handedness of the coordinate system to be taken into account. The right-hand rule above is for a right-handed coordinate system. In a left-handed coordinate system, the direction of the vector n is given by the left-hand rule and points in the opposite direction.

#### Formula

We need some practical way to compute cross product from the coordinates of two vectors. For the standard basis for three-dimensional space, formed by vectors

,

we can write the following equalities from the definition of the cross product.

Since each vector can be defined as linear combination of three basis vectors, we can write vectors

as

.

Thus, the cross product of a and b will be

.

This can be expanded using distributivity

Which can be simplified using standard basis equalities above down to

BTW, the expression above can be written as determinant

The last formula describes a resulting cross product vector with coordinates:

#### Similar calculators

**

**PLANETCALC, Cross Product Calculator

## Comments