This triangular prism calculator works out volume, base area, lateral surface area and total surface area from whichever measurements you actually have. Give it three side lengths and a prism length and it applies Heron's formula, or give it a base and a perpendicular height instead. A prism with a 3-4-5 triangular face and a length of 10 cm has a face area of 6 cm², a volume of 60 cm³ and a total surface area of 132 cm², and the working line under the results shows that substitution with your own numbers in it.
Arb Digital built this one to handle the case most geometry pages quietly skip: three side lengths that cannot form a triangle at all. Enter 2, 3 and 9 and you do not get NaN or a blank box. You get a sentence telling you that 2 + 3 is less than 9, so those three lengths cannot close into a triangle no matter how you arrange them.
What This Triangular Prism Calculator Does
A triangular prism is a solid with two identical triangular ends joined by three flat rectangular faces. Tent bodies, roof sections, chocolate bars, optical prisms, extruded aluminium sections and concrete ramp wedges are all triangular prisms. Because the cross-section is the same all the way along, the volume is simply the area of one triangular end multiplied by the length between the ends.
The calculator handles the triangle two ways. In three-sides mode it uses Heron's formula, which returns the area from the side lengths alone with no angles and no height needed. In base-and-height mode it uses the familiar half base times height. Both give you volume. Only three-sides mode gives you surface area, and the reason for that is worth understanding rather than working around.
Results include the triangular face area, the lateral area of the three rectangular sides, the total surface area of all five faces, and the classification of the triangle as right, acute or obtuse. Volume also appears in litres and US gallons in the panel underneath, which is the figure you want if the prism is a trough, a hopper or a channel rather than a solid block.
How to Use It
- Pick how you know the triangle. Three sides if you measured edges, base and height if you have a drawing with a height marked on it.
- Enter the triangle figures. In three-sides mode the order of a, b and c does not matter; the formula is symmetric.
- Enter the prism length. This is the distance between the two triangular ends, not any edge of the triangle itself.
- Set the unit. Areas come back squared and volume cubed in that same unit, with litres and gallons converted for you.
- Read the working line to confirm the substitution matches what you meant to enter before you cut anything.
The Formula: How a Triangular Prism Is Calculated
Write the triangle sides as a, b and c, the triangular face area as A, the perimeter as P and the prism length as L:
- Semi-perimeter: s = (a + b + c) / 2. For 3, 4 and 5 that is 6.
- Heron's area: A = √(s(s − a)(s − b)(s − c)). Here √(6 × 3 × 2 × 1) = √36 = 6 cm².
- Volume: V = A × L. With L = 10 cm that is 6 × 10 = 60 cm³, or 0.06 litres.
- Lateral area: Aₗ = P × L = (a + b + c) × L. That is 12 × 10 = 120 cm².
- Total surface area: Aᵗ = 2A + PL = 12 + 120 = 132 cm².
The lateral area formula is easier than it looks. Each rectangular face is one triangle side long and L wide, so its area is that side times L. Add the three and you get (a + b + c) × L. In the base-and-height mode the area is instead A = ½ × base × height, which for a 6 cm base and a 4 cm height is 12 cm². Heron's formula and its derivation are documented at Wolfram MathWorld's Heron's formula entry.
Why Three Sides Give You More Than a Base and a Height
A base and a perpendicular height fix the area of a triangle completely, but they do not fix its shape. Slide the apex sideways along a line parallel to the base and the height never changes, so the area never changes, but the other two sides get longer and the perimeter grows without limit. That is why base-and-height mode returns volume but leaves lateral and total surface area blank: those depend on the perimeter, and the perimeter is genuinely not determined by the two numbers you supplied.
Three side lengths behave differently. They fix the triangle rigidly, up to reflection, which is the side-side-side congruence rule. From them you can recover every angle, the area, the perimeter, all three heights and therefore every property of the prism built on that face. If you have the option of measuring three edges rather than an edge and a height, take it. You get strictly more information for the same effort. Our triangle area calculator covers the flat face on its own if the prism is not what you are after.
The Triangle Inequality: When Three Lengths Are Not a Triangle
Three positive numbers only form a triangle when each one is shorter than the other two combined. Formally a + b > c, a + c > b and b + c > a, all three at once. In practice checking the longest side against the sum of the other two is enough, because if that test passes the other two pass automatically.
Try 2, 3 and 9. The two short sides total 5, which is less than 9, so they cannot reach across the gap. Hinge them out flat and the ends still fall four units short of meeting. Feed those numbers into Heron's formula and the product inside the square root goes negative, which is where most calculators return NaN and stop. This one names the failing pair and tells you by how much they fall short.
The boundary case matters too. If the two shorter sides sum to exactly the longest, as with 2, 3 and 5, the shape collapses into a straight line. Heron's formula returns an area of exactly zero, which is correct but useless: a degenerate triangle has no interior, so the prism has no volume. The calculator flags that separately from a true violation because the causes are different. Zero area usually means a measurement was rounded; a real violation usually means a digit was mistyped or a diagonal was recorded as an edge.
Right, Acute and Obtuse: Reading the Triangle Type
Once the three sides are known, the largest angle follows from comparing the square of the longest side against the sum of the squares of the other two. If they are equal the triangle is right-angled, if the sum is larger the triangle is acute, and if it is smaller the triangle is obtuse. For 3, 4 and 5 the sum 9 + 16 equals 25 exactly, so the face is a right triangle, which is why the classification tile reads Right.
That tile is a free error check on your input. If you measured what you believed was a square-cornered wedge and the tool reports Obtuse, one of the three lengths is wrong. It is a faster check than re-measuring, and it catches the common case of a diagonal being written down where an edge was meant. The underlying comparison is the same one behind the Pythagorean theorem calculator, extended past the right-angle case.
Real Prisms: Tents, Roofs, Ramps and Troughs
The two areas answer different purchasing questions and they are not interchangeable. A ridge tent is a triangular prism with the ground floor and both triangular end panels present, so its fabric requirement is close to the total surface area. A lean-to roof section needs only the sloping rectangles, which is part of the lateral area and none of the triangular ends. A concrete ramp poured against a wall needs volume for the concrete order and only the exposed faces for any surface finish.
Work out which faces exist before you use a number. For the 3-4-5 by 10 cm example the total is 132 cm², the lateral part alone is 120 cm², and the two triangular ends contribute just 12 cm². Change the length and those proportions shift sharply: at a length of 1 cm the ends would dominate. Long thin prisms are almost all lateral area, short stubby ones are not, and that is why a single surface area figure without a stated set of faces is worth very little. If you are estimating paint or plaster over a wall rather than a solid, the wall area calculator is the closer fit, and the area converter moves any of these figures between square units.
Right Prisms, Oblique Prisms and Wedges
This calculator assumes a right prism, meaning the triangular ends sit square to the length so the three side faces are true rectangles. If the ends are parallel but tilted, the solid is an oblique prism. Its volume is unchanged and still equals cross-sectional area times the perpendicular distance between the ends, but the side faces become parallelograms and the lateral area formula no longer holds. Use the volume figure and ignore the surface areas in that case.
A wedge is different again. If the two triangular ends are not identical, or if one shrinks to a line, the solid is not a prism and no cross-section formula applies. The same is true of anything tapering along its length, where the correct approach is the prismatoid formula rather than area times length. Unit definitions and the litre-to-cubic-centimetre relationship used here follow NIST's guide to the SI, and the volume converter handles any further capacity conversion you need.
Arb Digital designs, writes and ships free tool pages built to rank, with clean schema markup and the technical SEO underneath them.
Browse All Free Tools Talk To Arb DigitalCommon Mistakes to Avoid
- Using a triangle side as the prism length. The length runs between the two triangular ends. Confusing it with the longest side of the face is the most common input error here.
- Putting a slanted side in place of the perpendicular height. Base-and-height mode needs the height measured square to the base, not along an edge.
- Expecting surface area from a base and a height. Those two numbers fix the area but not the perimeter, so the side faces cannot be sized from them.
- Ignoring a triangle inequality warning. It means one of the three lengths is wrong, not that the tool has failed to cope.
- Mixing units between the triangle and the length. Convert everything to one unit before entering it, or the volume is meaningless.
Related Free Tools From Arb Digital
For the triangular face by itself use the triangle area calculator, and for the right-angle relationship behind the type classification see the Pythagorean theorem calculator. If your cross-section is a circle rather than a triangle, the cylinder volume calculator applies the same area-times-length logic to a round profile. The unit converter covers length conversions before you start, and Heron's square root step can be checked with the square root calculator.
Frequently Asked Questions
Volume is the area of the triangular face multiplied by the length of the prism. With a 3-4-5 triangle of area 6 square centimetres and a length of 10 centimetres, the volume is 60 cubic centimetres.
Use Heron's formula. Halve the perimeter to get s, then take the square root of s times (s minus a) times (s minus b) times (s minus c). For 3, 4 and 5 that gives the square root of 36, which is 6.
Because they violate the triangle inequality. Each side must be shorter than the other two added together. Lengths of 2, 3 and 9 fail because 2 plus 3 is only 5, so those edges cannot close into a shape.
Twice the triangular face area plus the perimeter of the triangle multiplied by the prism length. For the 3-4-5 face and a 10 centimetre length that is 12 plus 120, giving 132 square centimetres.
A base and a perpendicular height fix the area of a triangle but not its shape, so the perimeter is unknown. The three rectangular side faces depend on the perimeter, so they cannot be sized without the side lengths.
Lateral area is the three rectangular side faces only, found as perimeter times length. Total surface area adds both triangular ends. Use lateral area when the ends are open, as in a channel or a trough.
The volume does, as long as the length is measured perpendicular between the two parallel triangular ends. The surface area formulas do not, because the side faces become parallelograms rather than rectangles.
Results are mathematical values rounded for display. Real components have wall thickness, joints and manufacturing tolerance, so allow a margin before cutting material or ordering to these figures.