Volume of a Prism
Every prism has the same shape all the way through, so its volume is the area of its end times its length. Change the triangular prism below and watch the volume follow, exact, with halves kept as fractions.
Last updated
A prism is a solid with the same shape all the way through: two identical, parallel ends joined by flat sides. Slice it anywhere parallel to an end and the slice is a copy of the end. That gives one rule for every prism:
V = B*h
B is the area of the end, often called the base, and h is the prism's length, the distance from one end to the other. In the figure the end is a triangle: b and t are its base and height, and h is the length of the prism.
The triangular prism
The end of a triangular prism is a triangle, and the area of a triangle is half its base times its height. So
V = 1/2*b*t*h
The triangle's height is called t here so that h can be the prism's length. With the figure's starting values, a triangle 6 wide and 4 tall, and a prism 5 long:
V = 1/2*6*4*5 = 60
The end has an area of 12, and 5 of those layers make 60 cubic units. When the product is odd the half stays a fraction: b = 7, t = 3 and h = 5 give 1/2*7*3*5 = 105/2, which is 52.5.
Why area times length works
Think of the prism as a stack of thin, identical sheets, each the shape of the end. A sheet one unit thick holds B cubic units. A prism h units long is h of those sheets, so it holds B*h.
This is why the shape of the end does not matter. Triangle, rectangle, trapezoid or hexagon, find its area and multiply by the length.
Rectangular prisms and cubes
A rectangular prism, or cuboid, is a box. Its end is a rectangle, so its volume is the area of a rectangle times the length:
V = l*w*h
Any face of a box can be the end, which is why the order of the three numbers does not matter. A cube has three equal edges, so its volume is s^3.
The triangular prism in the figure is exactly half of the box around it. A box 6 by 4 by 5 holds 120, and the prism with b = 6, t = 4 and h = 5 holds 60, because the triangle is half the rectangle at every slice.
Worked examples
| end shape | area of the end | length | volume |
|---|---|---|---|
| triangle, base 6, height 4 | 1/2 × 6 × 4 = 12 | 5 | 60 |
| triangle, base 7, height 3 | 21/2 | 5 | 105/2 = 52.5 |
| rectangle 6 by 4 | 24 | 5 | 120 |
| square 3 by 3 (a cube) | 9 | 3 | 27 |
| trapezoid, parallel sides 4 and 8, height 5 | 30 | 10 | 300 |
The trapezoid's area comes from the area of a trapezoid: (4 + 8)/2*5 = 30. The answer is always in cubic units, and every length has to be in the same unit before you multiply.
The volume calculator works out boxes and cubes, as well as cylinders, spheres, cones and pyramids, with the formula written out before the numbers go in.
Try one
A triangular prism has a triangle at each end with a base of 8 and a height of 5. The prism is 9 long. What is its volume?
The triangle's area is 1/2*8*5 = 20, and 20 times the length, 9, is 180 cubic units.
Common mistakes
- Forgetting the half for a triangular end. Multiplying b, t and h without the half gives the box around the prism, twice the answer.
- Using a sloping side as the triangle's height. The height t is measured at right angles to the base b, not along a slanted edge.
- Picking the wrong face as the end. The end is the face that repeats all the way through. In a triangular prism it is a triangle, never one of the rectangles.
- Mixing units. A triangle in centimetres and a length in metres must be converted to one unit first.
- Giving the answer in square units. A volume is in cubic units, cm³ or m³.
Common questions
What is the formula for the volume of a prism?
V = Bh, the area of the end times the length. B is the area of the end face, often called the base, and h is the distance between the two ends. A prism whose end has an area of 12 and which is 5 long holds 12 × 5 = 60 cubic units.
How do I find the volume of a triangular prism?
Find the area of the triangle at the end, half its base times its height, then multiply by the prism's length. A triangle with a base of 6 and a height of 4 has an area of 12, so a prism 5 long holds 12 × 5 = 60 cubic units.
How do I find the volume of a rectangular prism?
Multiply the length, the width and the height: V = lwh. A box 6 by 4 by 5 holds 6 × 4 × 5 = 120 cubic units. A rectangular prism is also called a cuboid, and a cube is the case where all three are equal, so its volume is the side cubed.
What is the base of a prism?
The base is the end face, the shape that stays the same all the way through the prism. It does not have to be at the bottom: a triangular prism lying on one of its rectangles still has the two triangles as its bases, and the length between them is the h in V = Bh.
Does the prism formula work for a cylinder?
Yes. A cylinder has the same circle all the way through, so its volume is also the area of the end times the length. The end is a circle of area πr², so V = πr²h. A cylinder of radius 3 and height 5 holds 45π, about 141.37 cubic units.
Want to run this on your own numbers?
Volume Calculator Open the calculatorThis and every related formula, on one printable sheet:
Geometry Formulas