Audited 05 Aug 2026·Last updated 28 Oct 2026·3 citations·Tier 2·0 uses

Triangular Prism Calculator

Volume and lateral surface area of a right triangular prism from the triangle's base, height and perimeter and the prism length, for wedges, tents and roofs.

Triangular Prism Calculator

Prism volume
120
Space enclosed by the prism, in cubic units of the length unit you entered: triangle area times prism length.
Lateral area
160

Background.

A triangular prism is a triangle pushed straight along a line: a wedge of cheese, a ridge tent, the roof space above a gable-ended house, a doorstop, the glass prism that splits light. Because the cross-section never changes, two multiplications describe it. The triangle's area times the length gives the volume; the triangle's perimeter times the length gives the area of the three rectangular faces that wrap around it.

Those two results need different measurements of the triangle, which is why the page asks for three. Area needs a base and the height measured at right angles to it, then half their product. The wrapping faces need all three sides, entered together as the perimeter. For the isosceles 5-5-6 triangle in the default example, the base is 6, the height from the apex down to that base is 4, and the perimeter is 5 + 5 + 6 = 16.

Nothing checks that the three triangle figures belong to the same triangle. With base 6 and height 4, no triangle has a perimeter below 16: the isosceles shape is the shortest way round, and sliding the apex sideways only lengthens the slanted sides. A smaller perimeter, or one copied from a different triangle, yields a lateral area for a shape that cannot exist, while the volume stays correct because it never uses the perimeter.

The prism is assumed to be right, its ends square to its length, and the lateral area leaves out the two triangular ends. Add base × height once, which covers both end triangles together, when you need the full surface for painting or wrapping. Units follow your measurements: centimetres in gives cubic and square centimetres out.

What is triangular prism calculator?

A right triangular prism is a solid with two identical, parallel triangular ends joined by three rectangular faces that meet the ends at right angles. Its volume is the area of one triangular end multiplied by the distance between the ends, the prism's length. Its lateral area is the combined area of the three rectangles, equal to the triangle's perimeter times that length; the two triangular ends are not included in it.

How to use this calculator.

  1. Pick one side of the triangle as the base and measure it. For a roof or tent this is usually the floor width; for a right-angled wedge, either leg will do.
  2. Measure the triangle's height at right angles to that base, from the base line to the opposite corner, not along a sloping side.
  3. Add all three side lengths and enter the total as the perimeter. If a right triangle's third side is unknown, find it with Pythagoras first.
  4. Enter the prism length, the distance between the two triangular ends, in the same unit, then read the volume and lateral area. For the full surface, add base × height to the lateral area.

The formula.

V=(bh/2)L; lateral area=(triangle perimeter)L

V = (b × h ÷ 2) × L, and lateral area = P × L. Here b is the triangle's base, h its height perpendicular to that base, P the sum of its three sides and L the length of the prism.

The volume formula is the general prism rule, cross-sectional area times length, with the triangle's area b × h ÷ 2 as the cross-section. The lateral formula comes from unrolling the three side faces into one long strip: its width is the distance around the triangle and its other dimension is the prism length.

Both results grow in direct proportion to L, so doubling the length doubles each. Volume also scales with b and with h separately, whereas the lateral area depends only on the perimeter, so two triangles with the same perimeter but very different areas give the same lateral area. The total surface is P × L + b × h, since the two triangular ends together add one full b × h.

A worked example.

Example

The default prism has an isosceles triangle for its end: base 6, height 4 and two slanted sides of 5, for a perimeter of 16. Its length is 10. The triangle's area is 6 × 4 ÷ 2 = 12 square units, so the volume is 12 × 10 = 120 cubic units. Unrolled, the three side faces form a strip 16 wide and 10 long, so the lateral area is 16 × 10 = 160 square units. Adding the two triangular ends, 2 × 12 = 24, brings the total surface to 184. With a 3-4-5 right triangle at the ends instead, using the legs as base and height, the end area halves to 6, the volume falls to 60 and the lateral area to 12 × 10 = 120.

prism Length10
triangle Perimeter16
triangle Height4
base6

Frequently asked questions.

How do I find the volume of an attic or roof space?
Treat it as a triangular prism lying on one face. With a roof span of 8 m, a rise of 2 m from ceiling to ridge and a length of 12 m, the end triangle has an area of 8 × 2 ÷ 2 = 8 m², giving 96 m³ of roof space. Hips, dormers and sloping ends break the prism shape, so the figure becomes an approximation there.
Why does the lateral area include the bottom face?
Because the perimeter covers all three sides of the triangle, the bottom rectangle counts as one of the three lateral faces. For a tent or roof you usually want only the two sloping faces, so subtract base × length. In the attic example the full lateral area is about 203.33 m², and the two roof slopes alone about 107.33 m².
What is the smallest perimeter possible for my base and height?
That of the isosceles triangle, with its apex directly above the middle of the base: b + 2 × √((b ÷ 2)² + h²). For base 6 and height 4 that is 6 + 2 × 5 = 16. The page accepts smaller numbers without complaint, but any perimeter below that minimum describes a triangle that cannot exist.
How do I enter an equilateral triangle?
With all three sides equal to s, the perimeter is 3s and the height is s × √3 ÷ 2, about 0.866 × s. A glass prism with 4 cm sides has a height of about 3.464 cm and a perimeter of 12 cm; at 5 cm long its volume is about 34.64 cm³.
What if the ends are not square to the length?
For an oblique prism, with one end offset from the other, the volume still equals end area times the perpendicular distance between the ends, so enter that distance as the length. The lateral area, though, assumes a right prism: slanted side faces are larger, so the result will understate them.
Is a wedge-shaped ramp a triangular prism?
Yes, as long as its cross-section stays the same across its width. A ramp rising 0.3 m over a 1.2 m run and 0.9 m wide has a right-triangle end of 1.2 × 0.3 ÷ 2 = 0.18 m², so it holds 0.162 m³ of concrete. Enter 1.2 as the base, 0.3 as the height, about 2.737 as the perimeter and 0.9 as the length.

How this page was produced

Published by
Quanta Calculator
Primary sources
3 cited below
Method
V=(bh/2)L; lateral area=(triangle perimeter)L
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon