A slanted box, whose faces are parallelograms, is a parallelepiped, and its volume is not just the product of its edges. This parallelepiped volume calculator takes the three edges and the three angles between them at a corner to give the volume, the surface area, the base area, the height above the base and the volume as a share of the rectangular box.
How the calculation works
- Volume = a × b × c × √(1 + 2 cos α cos β cos γ − cos²α − cos²β − cos²γ), where α, β and γ are the angles between the pairs of edges that meet at one corner. For right angles the square root is 1 and the formula gives a × b × c.
- Surface area = 2 × (a × b × sin γ + b × c × sin α + a × c × sin β), the sum of the three pairs of parallelogram faces.
- Base area = a × b × sin γ, and the height above the base is the volume ÷ the base area.
- Share of the rectangular box = the square root factor, the fraction of the volume of an a × b × c box that the slanted solid keeps.
Example
A parallelepiped has edges 6, 8 and 10 in, with angles of 75° between b and c, 80° between a and c, and 85° between a and b. The cosines are 0.2588, 0.1736 and 0.0872, and the root factor is √(1 + 2 × 0.2588 × 0.1736 × 0.0872 − 0.0670 − 0.0301 − 0.0076) = √0.9030 = 0.9503. The volume is 6 × 8 × 10 × 0.9503 = 456.1 in³. The base area is 6 × 8 × sin 85° = 47.82 in², the height is 456.1 ÷ 47.82 = 9.54 in, and the surface area is 368.4 in².
Why it matters
The shape appears in crystallography, where the unit cell of a crystal is a parallelepiped, in vector calculus, where it gives the meaning of the triple product, and in construction, for slanted forms and sheared blocks. Knowing the volume is useful to estimate material, such as concrete, for a block that is not square.
Good to know
The edges and angles must describe a real solid, which means that the three angles are each below 180° and that their sum is below 360°. For values that do not form a solid, the volume shows as zero. The calculator does not include walls or hollow interiors, and the height is measured perpendicular to the base formed by edges a and b.
Related tools
The volume calculator covers boxes, cylinders, cones and spheres, and the vector calculator gives the triple product from components.