Surface Area of a Triangular Prism Calculator
Calculate the total surface area of a triangular prism from its three triangle side lengths and prism length. Uses Heron's formula for the base area.
Enter the three side lengths of the triangular base and the prism length. The calculator returns the base area, lateral area, and total surface area.
Surface Area of a Triangular Prism Calculator
Calculate the total surface area of a triangular prism from its three triangle side lengths and prism length. Uses Heron's formula for the base area.
About the triangular prism surface area calculator
A triangular prism is a three-dimensional solid with two identical, parallel triangular faces (the bases) connected by three rectangular faces (the lateral faces). The total surface area is the combined area of all five faces: the two triangular bases plus the three rectangles.
The area of each triangular base is calculated using Heron's formula. Given the three side lengths a, b, and c, first compute the semi-perimeter s = (a + b + c) / 2. The area is then √(s(s − a)(s − b)(s − c)). This formula works for any triangle — equilateral, isosceles, right-angled, or scalene — as long as the three sides satisfy the triangle inequality: the sum of any two sides must be greater than the third side.
The three rectangular lateral faces each have one side equal to a side of the triangle and the other equal to the prism length L. Their areas are aL, bL, and cL respectively. Together the lateral area is (a + b + c) × L, which is simply the perimeter of the triangle multiplied by the prism length.
The total surface area formula is therefore: SA = 2 × Heron's area + (a + b + c) × L. The factor of 2 accounts for both triangular bases.
Triangular prisms appear frequently in construction (roof trusses, ramps), packaging (Toblerone-shaped boxes), optics (glass prisms that split white light into a spectrum), and structural engineering (triangulated girder sections). Knowing the surface area tells you how much material — paint, wrapping, sheet metal, cladding — is needed to cover the outer surface of the shape.
The calculator validates the triangle inequality before computing. If the three side lengths cannot form a valid triangle (for example, a = 1, b = 1, c = 10 violates the inequality because 1 + 1 < 10), the calculator displays an error. This prevents meaningless or imaginary results that would arise from taking the square root of a negative number in Heron's formula.
All inputs should be in the same unit of length. The surface area will then be in square units. For example, if sides are in centimetres and the length is in centimetres, the total surface area is in cm².
Triangular prism surface area examples
Four examples covering equilateral, right-triangle, isosceles, and scalene base triangles.
| Dimensions | Total Surface Area | Breakdown |
|---|---|---|
| a=10, b=10, c=10, L=20 (equilateral base) | ≈ 686.60 sq units | s=15; base area = √(15×5×5×5) ≈ 43.30; 2 bases ≈ 86.60; Lateral = 30×20 = 600; Total ≈ 686.60. |
| a=3, b=4, c=5, L=15 (right-triangle base) | 192 sq units | Base area = 3×4/2 = 6; 2 bases = 12; Lateral = (3+4+5)×15 = 180; Total = 12 + 180 = 192. |
| a=8, b=8, c=6, L=12 (isosceles base) | ≈ 308.50 sq units | s=11; base area = √(11×3×3×5) ≈ 22.25; 2 bases ≈ 44.50; Lateral = 22×12 = 264; Total ≈ 308.50. |
| a=7, b=10, c=12, L=25 (scalene base) | ≈ 794.95 sq units | s=14.5; base area = √(14.5×7.5×4.5×2.5) ≈ 34.98; 2 bases ≈ 69.95; Lateral = 29×25 = 725; Total ≈ 794.95. |
How to use the triangular prism surface area calculator
- Enter the three side lengths of the triangular base in the Triangle Side a, b, and c fields. All three sides must form a valid triangle.
- Enter the Prism Length (L) — the distance between the two triangular faces.
- Click Calculate Surface Area. The calculator shows the base area (per triangle), lateral area, and total surface area.
- Use the example buttons to instantly load a pre-set prism configuration.
- Click Reset to clear all fields and start a new calculation.
Triangular prism surface area FAQ
What is the formula for the surface area of a triangular prism?
Total Surface Area = 2 × (base triangle area) + (perimeter of triangle) × L. The base area is found using Heron's formula: Area = √(s(s−a)(s−b)(s−c)), where s = (a+b+c)/2. The lateral area is simply the perimeter times the prism length because each rectangular face has width equal to one triangle side and height equal to L.
What is Heron's formula and why is it used here?
Heron's formula calculates the area of any triangle from its three side lengths alone, without requiring a height measurement. Given sides a, b, c, compute s = (a+b+c)/2, then Area = √(s(s−a)(s−b)(s−c)). It is used here because the triangular base may be any shape — not just right-angled — and the side lengths are the most natural inputs to provide.
What happens if I enter sides that do not form a valid triangle?
The calculator checks the triangle inequality: each side must be strictly less than the sum of the other two. If this condition fails (for example, sides 1, 1, 5), the expression inside Heron's formula becomes negative or zero, and the calculator shows an error message instead of producing an incorrect result.
What is the difference between lateral area and total surface area?
The lateral area is the combined area of the three rectangular faces that run along the length of the prism. It equals the perimeter of the base triangle multiplied by the length L. The total surface area adds the two triangular bases (each with area given by Heron's formula) to the lateral area to give the complete outer surface.
Can I use this calculator for a right-triangular prism?
Yes. A right-triangular prism has a right-angled triangle (e.g., sides 3-4-5) as its base. The calculator handles it exactly like any other triangular prism. For a 3-4-5 right triangle, Heron's formula gives the same area as the simpler ½ × base × height formula (½ × 3 × 4 = 6), confirming consistency.
Do units matter for this calculation?
All five inputs must use the same unit of length. If you enter all sides and the prism length in metres, the surface area will be in square metres (m²). If you mix units — for example, some in centimetres and others in metres — the result will be incorrect. Convert all measurements to a single unit before entering them.