What is a skewed triangular prism?
A skewed triangular prism is a right triangular prism cut off by an inclined plane. It stands on a triangle with the sides a, b and c; at the corner opposite each side a vertical edge rises, of the height ha, hb or hc, and a flat top triangle joins their upper ends. Its textbook name is a truncated triangular prism. The three side faces are right trapezoids standing on the sides of the base. It has 5 faces, 9 edges and 6 vertices.
This calculator finds the volume, the surface area, the surface-to-volume ratio, the areas of the base and top triangles, the area of each side face and the three sides of the top triangle.
How to use it
Enter the base sides a, b and c and the three heights. The height ha stands at the corner opposite the side a, hb opposite b and hc opposite c. The base sides must form a triangle. The values you enter are shown back unchanged and every other measure is solved from them. The length unit is a label only: lengths are shown in that unit, areas in its square and volumes in its cube. The page shows results rounded to at most 6 decimal places and writes very large and very small values out in full.
Derivation of the formulas
The base area follows from Heron's formula:
$$A_1 = \frac{1}{4}\sqrt{(a + b + c)(b + c - a)(a + c - b)(a + b - c)}$$Above each point of the base the solid reaches up to the top plane, whose height is a linear function of the position. The mean of a linear function over a triangle is its value at the centroid, the mean of the three corner values, so
$$V = A_1 \cdot \frac{h_a + h_b + h_c}{3}$$The side face on a has the vertical parallel sides hb and hc a distance a apart, so it is a right trapezoid of area a(hb + hc)/2; likewise for b and c. The top side above a joins the tops of hb and hc:
$$a' = \sqrt{a^2 + (h_b - h_c)^2}, \quad b' = \sqrt{b^2 + (h_a - h_c)^2}, \quad c' = \sqrt{c^2 + (h_a - h_b)^2}$$and the top area A2 follows from Heron's formula with these sides (the calculator uses the equal value from the normal vector of the top plane). Then
$$A = A_1 + A_2 + \frac{a(h_b + h_c) + b(h_a + h_c) + c(h_a + h_b)}{2}$$Euler's formula holds: 6 vertices minus 9 edges plus 5 faces is 2.
Worked example
The default prism stands on the right triangle 5, 4, 3 with the heights 2, 3 and 4. The base area is 6 square units, the volume is 18 cubic units, the top triangle has an area of about 7 square units and the surface area is about 50 square units.
FAQ
Is the top triangle ever smaller than the base?
No. The base is the top triangle seen straight from above, and a flat shape seen at a slant never looks larger than it is, so the top area is at least the base area; the two are equal only when the three heights are equal.
What if the heights are equal?
Then the top is parallel to the base and the solid is a right triangular prism of height h, with the volume A1 times h.
Does the unit change the numbers?
No. Geometry does not depend on the unit, so the unit only labels the results.
How accurate are the results?
Results are accurate to at least 9 significant digits for ordinary inputs. When a result depends on the small difference of two nearly equal entries (closer than one part in a million), fewer digits are reliable.
Accuracy and input range
Results are accurate to at least 9 significant digits for ordinary inputs. When a result depends on the small difference of two nearly equal entries (closer than one part in a million), fewer digits are reliable.
Enter each length from 0.000001 to 1,000,000,000. Anything outside is refused with a message naming the range.
References
D. Zwillinger (ed.), CRC Standard Mathematical Tables and Formulae, 33rd ed., CRC Press, 2018, ch. 4 (solids and polyhedra)