Parallelepiped Volume Calculator
Test cases replayed : 4 of 4 match · Methodology · No outside source listed
Give the parallelepiped either as three edge vectors from one corner or as three edge lengths and the three angles between them, and get its volume.
Result
Volume (cubic units)
Scalar triple product a · (b × c) (mode 1)
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- What you know: choose Three edge vectors a, b, c or Edge lengths and angles.
- a: x (mode 1): enter a number.
- a: y (mode 1): enter a number.
- a: z (mode 1): enter a number.
- b: x (mode 1): enter a number.
- b: y (mode 1): enter a number.
- b: z (mode 1): enter a number.
- c: x (mode 1): enter a number.
- c: y (mode 1): enter a number.
- c: z (mode 1): enter a number.
- Edge length a (length units; mode 2): enter 0 or more.
- Edge length b (same units; mode 2): enter 0 or more.
- Edge length c (same units; mode 2): enter 0 or more.
- Angle α between b and c (mode 2), in °: enter a number from 0 to 180.
- Angle β between a and c (mode 2), in °: enter a number from 0 to 180.
- Angle γ between a and b (mode 2), in °: enter a number from 0 to 180.
- Read the result: Volume (cubic units); the panel also shows Scalar triple product a · (b × c) (mode 1).
How this calculator works
A parallelepiped is the solid spanned by three edge vectors a, b and c from one corner. Its volume is the absolute value of the scalar triple product, V = |a · (b × c)|, which equals the 3 × 3 determinant of the three vectors.
From the edge lengths a, b, c and the angles α (between b and c), β (between a and c) and γ (between a and b): V = abc √(1 + 2 cos α cos β cos γ − cos²α − cos²β − cos²γ), the formula used for crystal unit cells. With all three angles at 90° it reduces to the box volume abc.
The formula
| Symbol | Meaning | Unit |
|---|---|---|
| What you know (1: Three edge vectors a, b, c; 2: Edge lengths and angles) | ||
| a: x (mode 1) | ||
| a: y (mode 1) | ||
| a: z (mode 1) | ||
| b: x (mode 1) | ||
| b: y (mode 1) | ||
| b: z (mode 1) | ||
| c: x (mode 1) | ||
| c: y (mode 1) | ||
| c: z (mode 1) | ||
| Edge length a (mode 2) | length units | |
| Edge length b (mode 2) | same units | |
| Edge length c (mode 2) | same units | |
| Angle α between b and c (mode 2) | ° | |
| Angle β between a and c (mode 2) | ° | |
| Angle γ between a and b (mode 2) | ° | |
| Scalar triple product a · (b × c) (mode 1) | ||
| Volume | cubic units | |
rad(x) | the angle x, converted from degrees to radians. |
Worked example
| What you know | Three edge vectors a, b, c |
|---|---|
| a: x (mode 1) | 1 |
| a: y (mode 1) | 2 |
| a: z (mode 1) | 3 |
| b: x (mode 1) | 4 |
| b: y (mode 1) | 5 |
| b: z (mode 1) | 6 |
| c: x (mode 1) | 7 |
| c: y (mode 1) | 8 |
| c: z (mode 1) | 10 |
| Scalar triple product a · (b × c) (mode 1) | -3 |
|---|
Volume (cubic units) 3
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
What is the volume spanned by (1, 2, 3), (4, 5, 6) and (7, 8, 10)?
The triple product is −3, so the volume is 3 cubic units.
What is the volume of a parallelepiped with unit edges and all angles 60°?
√(1 + 2 × 0.125 − 3 × 0.25) = √0.5 ≈ 0.7071 cubic units.