ThisCalculator

Everyday

Prism Volume Formula: Calculate Any Prism

Updated · Standard formula, shown below

The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.

This calculator works out the volume of any right prism when you enter the area of its base and its height. You get the volume in cubic units, and the calculator also shows the result for a rectangular prism (a box) using its length, width, and height. The formula is always the same: multiply the base area by the height.

Formula

The volume of a prism is given by:

V = B × h

  • V = volume (cubic units, e.g., m³, cm³, ft³)
  • B = area of one base (square units, e.g., m², cm², ft²)
  • h = height of the prism, measured perpendicular to the base (linear units, e.g., m, cm, ft)

This works for any prism – triangular, rectangular, pentagonal, hexagonal, or any other polygon – as long as the two bases are congruent and parallel, and the sides are parallelograms (for a right prism, the sides are rectangles).

Worked Example

Using the default values from the calculator: base area = 12 m², height = 5 m.

  1. Write the formula: V = B × h
  2. Plug in the numbers: V = 12 × 5
  3. Multiply: V = 60

The volume is 60 m³ (cubic meters). The calculator shows 60.00 m³.

Why the Formula Works

A prism is a solid with two identical, parallel bases and flat sides. Imagine stacking the base shape repeatedly along the height – each layer has the same area B. The total volume is simply the sum of all those layers, which is B times the number of layers (height). This is why the formula is the same for every prism, no matter how complex the base shape is.

For a rectangular prism (a box), the base area is length × width, so the formula becomes V = l × w × h. For a triangular prism, the base area is (1/2) × base of triangle × height of triangle, so V = (1/2) × b × t × h. The key is to find the area of the base first, then multiply by the prism’s height.

How to Find the Base Area for Common Prisms

You need the area of the base shape. Here are the most common ones:

  • Rectangular prism (box): B = length × width
  • Triangular prism: B = (1/2) × base of triangle × height of triangle
  • Cube: B = side × side (and height = side, so V = side³)
  • Cylinder (a prism with circular bases): B = π × radius²
  • Pentagonal prism: B = (5/2) × side length × apothem
  • Hexagonal prism: B = (3√3/2) × side length²

For any regular polygon, use the formula: B = (n × s × a) / 2, where n is the number of sides, s is the side length, and a is the apothem (distance from center to midpoint of a side).

Common Mistakes and How to Avoid Them

The most frequent error is mixing up the height of the prism with the height of the base triangle. For a triangular prism, the triangle has its own height (used to compute the base area), and the prism also has a height (the distance between the two triangular bases). Use different letters to keep them separate.

Another common mistake is using inconsistent units. If the base area is in square feet and the height is in inches, you must convert one to the other before multiplying. For example, convert inches to feet by dividing by 12. The result will be in cubic feet.

Also, remember that the height must be perpendicular to the base. If you measure a slanted edge of an oblique prism, that is not the height – you need the vertical distance between the bases.

When to Use This Formula

Use the prism volume formula whenever you need to find the space inside a solid with two identical, parallel bases. This is common in:

  • Construction and architecture – calculating concrete for a triangular foundation or a rectangular beam.
  • Packaging – finding the capacity of a box or a triangular container.
  • Aquariums – estimating water volume for a tank (though for a real tank you’d measure the inside dimensions and account for glass thickness).
  • Science experiments – measuring the volume of a prism-shaped object by displacement.

For a cylinder, the same formula works – just use the circle area as the base. For a sphere, cone, or pyramid, the formula is different (e.g., V = (4/3)πr³ for a sphere, V = (1/3)Bh for a pyramid).

Limits of the Formula

The formula V = B × h assumes the prism is perfect: the bases are exactly congruent and parallel, and the sides are flat. Real-world objects might have slight irregularities, but the formula still gives a good approximation. For a cylinder, the formula is exact. For a prism with a curved base (like a cylinder), the same formula applies, but the base area calculation uses π.

If the prism is oblique (slanted), the formula still works as long as you use the perpendicular height, not the slant height. The volume of an oblique prism is the same as a right prism with the same base and height – this is known as Cavalieri’s principle.

Frequently Asked Questions

What is the difference between a prism and a pyramid?

A prism has two identical bases and parallelogram sides, so the cross-section is the same all the way up. A pyramid has one base and triangular sides that meet at a point (apex). The volume of a pyramid is (1/3) × base area × height, which is one-third of a prism with the same base and height.

How do I find the volume of a triangular prism if I only know the triangle’s sides?

First, find the area of the triangle using Heron’s formula: s = (a+b+c)/2, then area = √(s(s-a)(s-b)(s-c)). Then multiply by the prism’s height. You can also use the calculator by entering the triangle area directly.

Does the formula work for a cylinder?

Yes, a cylinder is a prism with circular bases. The base area is πr², so the volume is πr²h. This is a standard formula for cylinder volume.

What if my prism has a trapezoid base?

Find the area of the trapezoid using the formula: area = (1/2) × (sum of parallel sides) × height of trapezoid. Then multiply by the prism’s height. The calculator accepts any base area you enter.

Can I use this formula for a cube?

Yes. For a cube, the base area is side² and the height is side, so V = side³. For example, a cube with side 3 cm has volume 27 cm³.

Why is the volume in cubic units?

Volume measures three-dimensional space, so you multiply three lengths (or an area times a length). That gives cubic units – for example, m × m × m = m³. Always write the cube symbol (³) in the result.

Related

Formula used
in a | Base area | m² | 12 | 0
in h | Height | m | 5 | 0
out V | Volume | m³ | a * h | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.