Triangular Prism Calculator

Calculate the volume, base area, lateral surface area, and total surface area of any triangular prism from the three base sides and height.

Enter the three side lengths of the triangular base and the prism height, then click Calculate.

Triangular Prism Calculator
Calculate the volume, base area, lateral surface area, and total surface area of any triangular prism from the three base sides and height.

About the Triangular Prism Calculator

A triangular prism is a three-dimensional polyhedron with two parallel congruent triangular bases connected by three rectangular lateral faces. It belongs to the family of prisms, which are characterised by uniform cross-sections along their length. The triangular prism is one of the most commonly encountered 3-D shapes in architecture, engineering, optics, and everyday objects such as tents, wedges, and roof sections. This calculator focuses on right triangular prisms, where the lateral faces are perpendicular to the triangular bases. The key inputs are the three side lengths of the triangular base (a, b, c) and the height of the prism h — the perpendicular distance between the two bases. From these four measurements, the calculator derives four important geometric properties. The base area is calculated using Heron's formula, which requires only the three side lengths. First the semi-perimeter is computed: s = (a + b + c) / 2. Then the area is A_base = √(s(s−a)(s−b)(s−c)). This elegant formula, named after the ancient Greek mathematician Hero of Alexandria, works for any triangle regardless of its type. The volume of the prism is simply the base area multiplied by the height: V = A_base × h. This follows from the general principle that the volume of any prism equals the area of its cross-section times its length. For a right prism, the height h is perpendicular to the bases, so no adjustment is needed. The lateral surface area is the combined area of the three rectangular side faces. Each rectangle has one dimension equal to the corresponding side of the triangle and the other equal to the prism height. The total lateral area therefore equals the perimeter of the triangular base multiplied by the height: A_lateral = (a + b + c) × h. The total surface area adds the lateral area to the areas of both triangular bases: A_total = A_lateral + 2 × A_base. This is the measurement you need when covering or painting the entire outer surface of the prism. Triangular prisms appear across many fields. In optics, glass prisms refract and disperse light into spectra — the principle behind rainbows and spectroscopy. In architecture, triangular prism shapes appear in gabled roofs, dormer windows, and modern glass facades. In civil and structural engineering, triangular prisms form the cross-section of many beams and trusses. In product design, the Toblerone chocolate box is a well-known everyday example. Understanding the volume and surface area of a triangular prism is essential for calculating material quantities, container capacities, and structural weights.

Triangular Prism Examples

Worked examples showing the four calculated properties for different prism dimensions.

Base Sides & HeightKey ResultsNotes
a=3, b=4, c=5, h=10Base Area=6, Volume=60Right triangle base (3-4-5 triple). A_base = 6; V = 6 × 10 = 60; Lateral = 12 × 10 = 120; Total = 132.
a=6, b=6, c=6, h=8Base Area≈15.59, Volume≈124.7Equilateral base with side 6. A_base = (6²√3)/4 ≈ 15.59; V ≈ 15.59 × 8 ≈ 124.7.
a=5, b=12, c=13, h=6Base Area=30, Volume=180Right triangle base (5-12-13 triple). A_base = 30; V = 30 × 6 = 180; Lateral = 30 × 6 = 180; Total = 240.
a=7, b=8, c=9, h=5Base Area≈26.83, Volume≈134.16Scalene base. s = 12; A_base = √(12×5×4×3) = √720 ≈ 26.83; V ≈ 26.83 × 5 ≈ 134.16.

How to Use the Triangular Prism Calculator

  1. Enter the three side lengths of the triangular base (Side A, Side B, Side C) as positive numbers. Use the same unit for all three.
  2. Enter the prism height h — the perpendicular distance between the two triangular faces.
  3. Click "Calculate". The calculator verifies the triangle inequality and then computes base area, volume, lateral surface area, and total surface area.
  4. Review all four results. The formulas are shown below the results for reference.
  5. Click "Reset" to clear all fields and enter new dimensions for a different prism.

Triangular Prism FAQ

What is a triangular prism?
A triangular prism is a three-dimensional shape with two identical parallel triangular faces (bases) connected by three rectangular side faces (lateral faces). It has 5 faces, 9 edges, and 6 vertices. This calculator handles right triangular prisms, where the lateral faces are perpendicular to the bases.
How is the volume of a triangular prism calculated?
Volume = base area × height. The base area is calculated using Heron's formula from the three side lengths. Then that area is multiplied by the perpendicular distance h between the two bases. For example, a prism with base area 12 sq units and height 5 has a volume of 60 cubic units.
What is the difference between lateral and total surface area?
The lateral surface area covers only the three rectangular side faces: (a+b+c) × h. The total surface area includes the lateral area plus the areas of both triangular bases: A_total = (a+b+c)×h + 2×A_base. Use lateral area when only the sides are painted or wrapped, and total area when the entire surface is covered.
Why does my input give a triangle inequality error?
The three side lengths must satisfy the triangle inequality — the sum of any two sides must exceed the third. If a+b ≤ c, a+c ≤ b, or b+c ≤ a, the three lengths cannot form a triangle and therefore cannot be the base of a prism. Check your measurements and correct any that violate this rule.
Can I use this calculator for an oblique triangular prism?
This calculator is designed for right prisms, where the height h is perpendicular to the bases. For an oblique prism, the lateral faces are parallelograms rather than rectangles, so the lateral area formula is different. However, the volume formula V = A_base × h still applies as long as h is the true perpendicular height between the two bases.
What units does the calculator use?
The calculator works with any consistent unit of length you choose — centimetres, metres, inches, or feet. Areas are returned in the corresponding square unit and volume in the corresponding cubic unit. Make sure all four input values (three base sides and height) use the same unit to get correct results.