FireCADCalc

Vectors: Dot and Cross Product, Angle and Area

Magnitudes, dot product, angle between, cross product and parallelogram area of two 3-D vectors, and the projection of one on the other.

Thermal power plantProcess steam and utilitiesRefinery and petrochemicalChemical and fertiliserPulp and paperFood, dairy and textile

Inputs

Examples: (3, −2, 1) and (1, 4, 2)Force (0, 0, −500) at arm (1.2, 0.4, 0)

Results

Angle from atan2(|a × b|, a · b), accurate for nearly parallel vectors. Moment of a force M = r × F; work W = F · d.

Magnitude of a3.7417
Magnitude of b4.5826
Dot product-3.0000
Angle between100.08°
Cross product, x-8.0000
Cross product, y-5.0000
Cross product, z14.000
Parallelogram area16.882
Projection of a on b-0.65465

Download PDF CSV Link to this result Compare another case

Log in to save calculations to your dashboard.

Worked example

Example: (3, −2, 1) and (1, 4, 2). The inputs, in the units selected above:

InputValue
a, x component3.0000 -
a, y component-2.0000 -
a, z component1.0000 -
b, x component1.0000 -
b, y component4.0000 -
b, z component2.0000 -

Applying the formula below gives:

ResultValue
Magnitude of a3.7417
Magnitude of b4.5826
Dot product-3.0000
Angle between100.08 °
Cross product, x-8.0000
Cross product, y-5.0000
Cross product, z14.000
Parallelogram area16.882
Projection of a on b-0.65465

Open this example in the calculator and change any input.

Formula

\(a\cdot b = |a||b|\cos\theta, \quad a\times b = (a_yb_z - a_zb_y,\ a_zb_x - a_xb_z,\ a_xb_y - a_yb_x)\)

Variables

Symbol Meaning SI unit
\(a_x\) a, x component -
\(a_y\) a, y component -
\(a_z\) a, z component -
\(b_x\) b, x component -
\(b_y\) b, y component -
\(b_z\) b, z component -
\(|a|\) Magnitude of a -
\(|b|\) Magnitude of b -
\(a\cdot b\) Dot product -
\(\theta\) Angle between rad
\((a\times b)_x\) Cross product, x -
\((a\times b)_y\) Cross product, y -
\((a\times b)_z\) Cross product, z -
\(|a\times b|\) Parallelogram area -
\(a\cdot\hat b\) Projection of a on b -

Method and standards

Vector products.

Where it is used

  • Statics (moments of forces).
  • Geometry of piping and structures.

Common mistakes

  • Order of the cross product (b × a = −a × b).
  • Mixing degrees and radians.

Assumptions and limits

  • 3-D Cartesian vectors.

References

  • Vector algebra (Kreyszig, Advanced Engineering Mathematics, 10th ed. (Wiley), ch. 9)

Questions and answers

What does a zero dot product mean?

The vectors are perpendicular.

Where is the cross product used?

Moments (r × F), torque, angular momentum and normals to surfaces.

What do the defaults represent?

a = (3, −2, 1) and b = (1, 4, 2).

Method and article reviewed by FireCAD engineering on 13 November 2026. Every result is checked against an independent calculation on each release: how we verify our calculators.

Related calculators

Free engineering calculators: every page computes in SI and converts to your units. Results are for engineering estimation; verify critical designs against the referenced standards.

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.