What is a triangular prism?
A triangular prism is a three-dimensional solid with two identical triangular ends (the bases) joined by three rectangular side faces. It is one of the most common prism shapes, appearing in everything from roof trusses and tents to optical prisms and chocolate bars. This calculator finds both its volume and its total surface area.
How to use this calculator
Enter the dimensions of the triangular cross-section — the triangle's base (b) and perpendicular height (h) — along with the prism's length (L). Then enter the three side lengths of the triangle (a, b, c) so the surface area can include the three rectangular faces. All measurements must use the same unit (cm, m, in, etc.). Results are returned in those units cubed (volume) and squared (area).
The formula explained
The volume is the area of the triangular cross-section multiplied by the length of the prism: $$V = \tfrac{1}{2} \times b \times h \times L$$. The surface area adds the two triangular faces (each \(\tfrac{1}{2} b h\), so together \(b h\)) to the three rectangular side faces, whose combined area is the triangle's perimeter times the length: $$SA = b h + (a + b + c) \times L$$.
Worked example
Take a prism with triangle base 6, height 4, length 10 and triangle sides 5, 5, 6. The cross-section area is \(\tfrac{1}{2} \times 6 \times 4 = 12\), so the volume is \(12 \times 10 = \mathbf{120}\). The lateral area is \((5 + 5 + 6) \times 10 = 160\), and the two triangular faces total \(6 \times 4 = 24\), giving a surface area of 184.
More Worked Examples
Both examples use the formulas \(V = \tfrac{1}{2}\,b\,h\,L\) and \(SA = b\,h + (a+b_s+c)\,L\). The term \(b\,h\) is the area of the two triangular faces together, because each face has area \(\tfrac{1}{2}bh\). The term \((a+b_s+c)\,L\) is the lateral area, which is the triangle's perimeter times the prism length.
Example 1: Right triangle prism (legs 3 and 4, hypotenuse 5, L = 10)
- Take the base \(b = 3\) and the height \(h = 4\). In a right triangle the second leg is the perpendicular height. The sides are \(a = 3\), \(b_s = 4\), \(c = 5\).
- Cross-sectional area: \(\tfrac{1}{2}\cdot 3\cdot 4 = 6\).
- Volume: \(V = 6 \cdot 10 = \)60 cubic units.
- Perimeter: \(3+4+5 = 12\). Lateral area: \(12 \cdot 10 = 120\).
- Triangular faces: \(b\,h = 3 \cdot 4 = 12\), which is \(2 \times 6\).
- Surface area: \(SA = 12 + 120 = \)132 square units.
Example 2: Equilateral triangle prism (side 6, L = 8)
- All three sides are 6, so \(a = b_s = c = 6\) and \(b = 6\). The height of an equilateral triangle is \(h = \tfrac{\sqrt{3}}{2}\cdot 6 = 3\sqrt{3} \approx 5.196\).
- Cross-sectional area: \(\tfrac{1}{2}\cdot 6 \cdot 5.196 \approx 15.588\).
- Volume: \(V \approx 15.588 \cdot 8 \approx 124.71\) cubic units.
- Perimeter: \(6+6+6 = 18\). Lateral area: \(18 \cdot 8 = 144\).
- Triangular faces: \(b\,h = 6 \cdot 5.196 \approx 31.18\), which is \(2 \times 15.588\).
- Surface area: \(SA \approx 31.18 + 144 \approx 175.18\) square units.
Units: if the lengths are in centimetres, volume is in cm³ (cubed) and surface area is in cm² (squared). Use the same unit for every input.
Definitions & Variables
- Base (b): the side of the triangle you choose as the base. It is one of the three sides of the triangle, so it is equal in length to one of a, b or c.
- Perpendicular height (h): the distance from the base to the opposite vertex, measured at 90° to the base. It is not a slanted side of the triangle (unless the triangle is right-angled and that side happens to be perpendicular to the base).
- Side lengths (a, b, c): the three sides of the triangular cross-section. They are used to find the perimeter for the lateral area. In the formula the second side is written \(b_s\) to distinguish it from the base \(b\).
- Prism length (L): the distance between the two triangular faces, also called the prism height or depth. It is not the same as the triangle height h. L runs along the prism, while h lies inside the triangle.
- Cross-sectional area: the area of one triangular face, \(\tfrac{1}{2}\,b\,h\).
- Lateral surface area: the area of the three rectangular sides, \((a+b_s+c)\,L\), which is the perimeter times L.
- Total surface area: the lateral area plus both triangular faces, \(SA = b\,h + (a+b_s+c)\,L\).
- Volume: the space inside the prism, \(V = \tfrac{1}{2}\,b\,h\,L\), which is the cross-sectional area times L. It is measured in cubic units.
Make sure the side lengths and the base and height describe the same triangle. For example, the base must equal one of the sides, and h must be consistent with the side lengths.
FAQ
Why do I enter both the triangle height and the three sides? The height is needed for the area (and volume), while the three side lengths are needed for the rectangular faces in the surface area.
What if my triangle is a right triangle? Use the two legs as base and height, and the three sides (two legs plus hypotenuse) for the surface area.
What units does the answer use? Whatever unit you input. Volume is in cubic units and surface area in square units.