Since cross products are usually only defined for three-dimensional vectors, the calculation of cross product in two dimensions treat the vectors as if they are vectors on the xy-plane in three dimension.