ThisCalculator

Everyday

Prism Volume & Surface Area Formulas

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 computes the volume and surface area of a right prism. You enter the base shape (triangle, rectangle, or regular polygon), its dimensions, and the prism’s height; you get the volume in cubic units and the total surface area in square units. The formulas used are the standard geometric ones: Volume = base area × height, and Surface Area = 2 × base area + lateral area.

Formula

For any prism with parallel congruent bases, the volume V is the base area B multiplied by the prism height h:

V = B × h

The total surface area S is the sum of the two base areas and the lateral area (the area of the rectangular faces connecting the bases):

S = 2B + P × h

where P is the perimeter of the base. All lengths are in the same unit (e.g., meters, feet), so volume is in cubic units (m³, ft³) and surface area in square units (m², ft²).

For specific bases:

  • Triangular base (right triangle with legs a and b, hypotenuse c): B = ½ × a × b, P = a + b + c
  • Rectangular base (sides a and b): B = a × b, P = 2(a + b)
  • Regular n-gon (side length a, number of sides n): B = (n × a²) / (4 × tan(π/n)), P = n × a

This calculator assumes a right prism—the lateral edges are perpendicular to the bases. For oblique prisms, the volume formula still holds (using the perpendicular height), but the lateral surface area calculation becomes more complex and is not covered here.

Worked Example

Using the default values: a triangular prism with base legs of 3 and 4 units, hypotenuse 5, and height 10 units.

  1. Base area: B = ½ × 3 × 4 = 6 square units
  2. Base perimeter: P = 3 + 4 + 5 = 12 units
  3. Volume: V = 6 × 10 = 60 cubic units
  4. Surface area: S = 2 × 6 + 12 × 10 = 12 + 120 = 132 square units

The calculator returns the same: volume 60.00 and surface area 132.00.

When to Use These Formulas

Prism volume and surface area calculations appear in many practical situations:

  • Packaging and shipping: Determining box volume for storage or shipping costs, and surface area for material needed to make the box.
  • Construction and architecture: Estimating concrete volume for a triangular foundation or the surface area of walls for painting or cladding.
  • Engineering and manufacturing: Calculating the volume of a machined part or the surface area for coating or plating.
  • Education: Standard geometry problems in middle and high school mathematics.

The formulas are exact for any right prism, regardless of size. They are also the basis for more advanced calculations, such as the volume of a cylinder (which is a prism with a circular base, using πr² for the base area).

How to Read the Result

The volume tells you the capacity—how much space the prism occupies. The surface area tells you the total area of all its faces—useful for estimating material needed to cover the prism. Both are positive numbers. If you get a negative or zero result, check your inputs: all dimensions must be positive.

When using the result, keep the unit in mind. If you entered dimensions in meters, volume is in cubic meters and surface area in square meters. If you need a different unit, convert the dimensions before calculating, not the final number (e.g., 1 m = 100 cm, so 1 m³ = 1,000,000 cm³, but 1 m² = 10,000 cm²).

Common Mistakes and How to Avoid Them

  • Mixing units: All base dimensions and height must be in the same unit. If one side is in feet and another in inches, convert first.
  • Forgetting the ½ in triangle area: The most frequent error is using a×b instead of ½×a×b for a triangular base.
  • Confusing base area with base perimeter: Volume uses area, surface area uses perimeter for the lateral part.
  • Using slant height instead of perpendicular height: For a right prism, the height is the distance between bases, not the length of a slanted edge (which would be an oblique prism).
  • Rounding too early: In multi-step calculations, keep full precision until the end to avoid rounding errors.

Limitations of the Formula

These formulas apply only to right prisms—where the lateral edges are perpendicular to the bases. For oblique prisms (leaning to one side), the volume formula V = B × h still works if h is the perpendicular height, but the surface area requires calculating the actual lateral face areas, which are parallelograms, not rectangles. That calculation is more involved and not supported by this simple calculator.

Also, the regular polygon option assumes a convex regular polygon. Irregular bases require a different base area calculation; you can still use the volume formula if you know the base area, but this calculator does not compute irregular base areas.

Frequently Asked Questions

What is the difference between a prism and a pyramid?

A prism has two congruent parallel bases and rectangular lateral faces. A pyramid has one base and triangular lateral faces that meet at a single apex. The volume formulas differ: prism volume = base area × height, pyramid volume = (1/3) × base area × height.

Can I use these formulas for a cylinder?

Yes, a cylinder is a prism with a circular base. The volume is πr²h and the surface area is 2πr² + 2πrh. This calculator does not have a circle option, but you can use the regular polygon option with a large number of sides (e.g., 100) for a close approximation.

What if my prism has a trapezoid base?

You can still use V = B × h and S = 2B + P × h. You just need to compute the trapezoid area and perimeter separately. For a trapezoid with parallel sides a and b and height t, area = (a+b)/2 × t. This calculator only handles triangle, rectangle, and regular polygon bases.

Why is the surface area not just the sum of all face areas?

It is exactly that. The formula S = 2B + P × h is a shortcut: the two bases contribute 2B, and the lateral faces, when unrolled, form a rectangle with width equal to the base perimeter P and height h, giving area P × h. This works only for right prisms.

Does the formula work for any unit?

Yes, as long as all dimensions are in the same unit. The volume will be in that unit cubed, and surface area in that unit squared. For example, if you use inches, volume is in cubic inches and surface area in square inches.

Related

Formula used
in t | Base type | Triangle=1, Rectangle=2, Regular polygon=3 | 1 | 0
in a | Base dimension a | units | 3 | 0
in b | Base dimension b (or side length) | units | 4 | 0
in c | Base dimension c (triangle only) | units | 5 | 0
in h | Prism height | units | 10 | 0
out vol | Volume | cubic units | (t==1 ? a*b/2 : t==2 ? a*b : (a*a/(4*tan(pi/b)))*b) * h | 2
out sa | Surface area | square units | 2*(t==1 ? a*b/2 : t==2 ? a*b : (a*a/(4*tan(pi/b)))*b) + (t==1 ? a+b+c : t==2 ? 2*(a+b) : b*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.