Prism Volume Calculator
Use this free online Prism Volume Calculator to find the exact cubic volume, base area, and total surface area of any right or oblique prism—including rectangular, triangular, trapezoidal, pentagonal, hexagonal, octagonal, circular (cylinder), and irregular cross-section prisms. Enter dimensions in metric or Imperial units (even mixed units or fractions) for instant gallon, liter, and cubic conversions.
Step-by-Step Formula & Substitution
What Is a Prism? (Right, Oblique & Truncated Prisms)
In three-dimensional geometry, a prism is a polyhedron formed by connecting two congruent, parallel polygonal bases with flat parallelogram lateral faces. Imagine pushing clay or molten aluminum through a shaped die—every slice taken parallel to the ends has the exact same cross-sectional shape and area (B) along the entire extrusion length or height (l or h).
Because its cross-section never tapers or widens, the universal volume of a prism formula is simply V = Base Area (B) × Perpendicular Length (l). Whether you are using a rectangular prism volume calculator for a room or shipping crate, a trapezoidal prism volume calculator for an irrigation ditch, a hexagonal prism volume calculator for metal bar stock, or a cylinder prism volume calculator for a circular pipe, the underlying law is identical. As standardized by the National Institute of Standards and Technology (NIST) SI Volume Units Guide, 1,000 cm³ equals exactly 1 liter (1 L), allowing any solid prism calculation to convert directly into liquid or air capacity.
- Right Prism: The lateral edges meet the two parallel bases at exact 90° right angles, so all side faces are true rectangles.
- Oblique Prism: The prism leans at an angle so its lateral faces are slanted parallelograms. By Cavalieri’s principle, its volume is still V = B × l as long as l is measured strictly perpendicular between the two parallel base planes.
- Truncated Prism: A prism sliced by a non-parallel plane so its top face is tilted relative to its bottom base (for example, a shed roof or sloped concrete footing).
Volume of a Prism Formula for All 8 Base Shapes
Every prism obeys V = B × l. Substituting the two-dimensional area formula (B) for each polygon—or a circle as the limiting case of an n-sided regular polygon—gives the exact volume and surface area equations below:
| Prism Type | Base Area Formula (B) | Prism Volume Formula (V) | Common Real-World Uses |
|---|---|---|---|
| Rectangular Prism | B = l × w |
V = l × w × h |
Rooms, boxes, concrete slabs, aquariums, lumber |
| Triangular Prism | B = ½ × b × h_t |
V = ½ × b × h_t × l |
Gable roof attics, wheelchair ramps, wedges, V-troughs |
| Trapezoidal Prism | B = ½ × (b₁ + b₂) × h_t |
V = ½ × (b₁ + b₂) × h_t × l |
Drainage ditches, canals, swimming pools, embankments |
| Pentagonal Prism (5 Sides) | B ≈ 1.72048 × a² |
V = (5a²l) ÷ (4 tan(36°)) ≈ 1.72048 a² l |
Architectural columns, pentagonal buildings, decorative bars |
| Hexagonal Prism (6 Sides) | B = (3√3 ÷ 2)a² ≈ 2.59808 a² |
V = (3√3 ÷ 2) × a² × l ≈ 2.59808 a² l |
Hexagonal bolts, nuts, pencils, steel/brass hex bar stock |
| Octagonal Prism (8 Sides) | B = 2(1 + √2)a² ≈ 4.82843 a² |
V = 2(1 + √2) × a² × l ≈ 4.82843 a² l |
Octagonal gazebos, masonry pillars, stop-sign posts |
| Circular Prism (Cylinder) | B = π × r² |
V = π × r² × l |
Pipes, storage tanks, round columns, solid rods |
| General / Irregular Prism | B (sum of sub-areas) |
V = B × l |
L-shaped footings, I-beams, K-style rain gutters |
Rectangular, Triangular & Circular Prism Connections
Many users search separately for a rectangular prism volume formula (V = l × w × h, often casually called volume of rectangle), a volume of a triangular prism formula (V = ½ × b × h_t × l, sometimes searched as volume of triangle formula), or a volume of a cylinder formula (V = π × r² × h). All three are simply specialized versions of the same right prism volume calculator rule: find the flat 2D area of the repeating end-face and multiply by the perpendicular extrusion length.
How to Find Volume in a Prism Step by Step
Follow this four-step workflow whenever you need to calculate the volume of any prism manually:
- Identify the Repeating Base Cross-Section: Locate the two parallel, identical faces (such as two triangles, two trapezoids, or two hexagons). Note that in a triangular or trapezoidal prism lying on its side, the “base” is still the triangular or trapezoidal end-face—not the bottom rectangle resting on the ground.
- Normalize All Units: Convert every edge length and height into the same linear unit (for example, all in centimeters or all in feet).
- Compute the Base Area (B): Apply the 2D area equation for that polygon (e.g., l × w for a rectangle, ½bh for a triangle, ½(b₁ + b₂)h for a trapezoid, or 2.59808a² for a regular hexagon).
- Multiply Base Area by Perpendicular Length (V = B × l): Multiply the 2D base area by the perpendicular distance separating the two parallel bases to get cubic volume.
How to Calculate the Surface Area and Volume of a Prism
While volume measures the three-dimensional interior capacity of a prism (in cubic units), total surface area (SA) measures the two-dimensional outer skin covering all faces of the solid (in square units):
Where B is the area of one polygonal base, P is the perimeter of that base (the sum of all outer base edge lengths), and l is the prism’s perpendicular length. Unrolling all rectangular side walls of a right prism forms a single large rectangle of width P and length l (called the lateral surface area, L = P × l), to which you add the two identical end bases (2B).
How to Calculate the Volume of an Irregular Prism or Shape
When a prism has an irregular polygonal cross-section—such as an L-shaped concrete retaining footing, a steel I-beam, a T-shaped wall, or a house-shaped pentagon profile—you can still find its exact volume without calculus:
- Decompose the Irregular Cross-Section: Divide the 2D end-face into non-overlapping rectangles, triangles, and trapezoids (or subtract cutouts from a bounding rectangle).
- Sum the Sub-Areas to Get Total Base Area (B): For example, an L-shaped footing made of a 2 ft × 1 ft horizontal base (2.0 ft²) plus a 1 ft × 1.5 ft vertical stem (1.5 ft²) has a total cross-section area of B = 2.0 + 1.5 = 3.5 ft².
- Multiply by Extrusion Length (l): Enter B = 3.5 ft² and length l = 60 ft into our calculator’s Irregular / Known Area (B) mode to get V = 3.5 × 60 = 210 ft³ (7.78 cubic yards).
For completely non-prismatic 3D objects that lack a constant cross-section (such as natural stones or sculptures), use the water displacement method (Archimedes’ principle) by measuring the fluid volume rise when the object is submerged in a graduated vessel.
Truncated Prism Volume Formula (Sloped Top Face)
A truncated prism occurs when a prism is cut by an inclined plane that is not parallel to the base—for example, a rectangular foundation column with a sloped top or a triangular prism with unequal vertical edge heights (h₁, h₂, h₃):
- Truncated Right Triangular Prism: If the three vertical edges above a triangular base of area B have heights h₁, h₂, and h₃, the exact volume is the base area multiplied by the average of the three edge heights: V = B × (h₁ + h₂ + h₃) ÷ 3.
- Truncated Right Rectangular Prism (Parallelogram Base): When a rectangular base of area B has four vertical corner heights h₁, h₂, h₃, h₄ lying in a single tilted plane, the volume equals base area times the average height: V = B × (h₁ + h₂ + h₃ + h₄) ÷ 4.
5 Practical Worked Prism Volume Examples
Example 1: Rectangular Prism Box (10 × 6 × 4 cm)
Step 1: Base area B = l × w = 10 × 6 = 60 cm² (Perimeter P = 32 cm).
Step 2: Volume V = 60 × 4 = 240 cm³ (240 mL). Surface Area SA = 2(60) + 32(4) = 248 cm².
Example 2: Trapezoidal Irrigation Ditch
Given: Top width b₁ = 6 ft, bottom width b₂ = 2 ft, depth h_t = 3 ft, ditch length l = 50 ft.
Step 1: Trapezoid area B = 0.5 × (6 + 2) × 3 = 12 ft².
Step 2: Volume V = 12 × 50 = 600 ft³ (22.22 yd³ or 4,488.3 US gal).
Example 3: Hexagonal Brass Bar Stock
Given: Regular hexagon side a = 2 cm, bar length l = 50 cm.
Step 1: Hexagon area B = 2.59808 × 2² ≈ 10.3923 cm².
Step 2: Volume V = 10.3923 × 50 ≈ 519.62 cm³ (0.5196 L).
Example 4: Triangular Prism Wedge (b = 8 in, h_t = 5 in, l = 12 in)
Step 1: Triangle area B = 0.5 × 8 × 5 = 20 in².
Step 2: Volume V = 20 × 12 = 240 in³ (3,932.9 cm³ or 1.039 US gal).
Example 5: Irregular K-Style Rain Gutter Run
Given: Cross-section area B = 3.3 in², gutter run length l = 40 ft (480 in).
Calculation: V = 3.3 × 480 = 1,584 in³ = 0.9167 ft³ ≈ 6.86 US gallons.
Real-World Extruded Prism Benchmarks
Prisms appear across construction, manufacturing, and everyday household objects whenever a uniform 2D cross-section is extruded along a straight path:
| Object / Structure | Prism Type | Cross-Section & Length | Calculated Volume | Practical Unit Equivalent |
|---|---|---|---|---|
| Standard #2 Wooden Pencil | Hexagonal Prism | Side a = 4 mm (B = 41.57 mm²), l = 175 mm | 7,275 mm³ (7.27 cm³) | 7.27 mL (0.444 in³) |
| 100 g Toblerone Bar Box | Triangular Prism | Base 3.0 cm × height 2.6 cm, l = 21.0 cm | 81.90 cm³ | 81.90 mL (5.00 in³) |
| 40 ft K-Style Rain Gutter | Irregular Prism | Cross-section B = 3.3 in², l = 480 in | 1,584 in³ (0.917 ft³) | 6.86 US gal (25.96 L) |
| 60 ft L-Shaped Retaining Footing | Irregular Prism | Cross-section B = 3.5 ft², l = 60 ft | 210.0 ft³ | 7.78 yd³ (5.95 m³) |
| 50 ft Trapezoidal Drainage Canal | Trapezoidal Prism | Bases 6 ft & 2 ft, depth 3 ft, l = 50 ft | 600.0 ft³ | 22.22 yd³ (4,488.3 US gal) |
How to Calculate Prism Volume in Excel & Google Sheets
You can automate prism volume and polygon base area calculations in Microsoft Excel or Google Sheets using built-in worksheet functions (assuming matching units):
- General Prism (Base Area
A2, LengthB2):=A2*B2 - Rectangular Prism (Length
A2, WidthB2, HeightC2):=A2*B2*C2 - Triangular Prism (Base
A2, Triangle HeightB2, LengthC2):=0.5*A2*B2*C2 - Trapezoidal Prism (Top
A2, BottomB2, HeightC2, LengthD2):=0.5*(A2+B2)*C2*D2 - Regular n-Sided Polygon Prism (Sides
N2, EdgeA2, LengthB2):=(N2*(A2^2)*B2)/(4*TAN(PI()/N2))
6 Common Prism Measurement Mistakes to Avoid
- Using Base Perimeter Instead of Base Area: A regular hexagon with 2 cm sides has a perimeter of 12 cm, but its cross-sectional area is 2.59808 × 2² = 10.3923 cm². Only Base Area (B) belongs in V = B × l.
- Mixing Square Units and Linear Units Without Conversion: If Base Area is measured in cm² and Length is entered in meters, multiplying them directly gives a false result. Always convert to matching units first, or use our per-field unit dropdowns.
- Using Slant Edge Length on an Oblique Prism: For a leaning (oblique) prism, measure the perpendicular distance between the two parallel base planes—not the longer tilted side edge.
- Confusing a Prism with a Pyramid: A prism maintains a constant cross-section (V = B × l), whereas a pyramid tapers to a single point and holds one-third as much (V = (1/3) × B × h).
- Choosing the Wrong “Base” Face on Triangular or Trapezoidal Prisms: Even when a triangular or trapezoidal prism rests on a rectangular side face, its mathematical base is the triangle or trapezoid that repeats along its length.
- Using Linear Conversion Factors on Cubic Results: Remember that 1 ft³ = 1,728 in³ (12³) and 1 yd³ = 27 ft³ (3³), not 12 or 3.
Calculation Methodology, Precision & Limitations
Every calculator on Volume Calcs adheres to transparent mathematical and software standards:
- Unit Normalization & Constants: All entered linear and area dimensions are parsed into IEEE 754 double-precision floating-point values and normalized to base meters (m) or square meters (m²) using exact international definitions (1 in = 0.0254 m, 1 ft = 0.3048 m, 1 yd = 0.9144 m) before evaluating geometric volume formulas. Full internal precision is preserved across all multi-unit conversions, and rounding is applied only to displayed outputs.
- Client-Side Execution & Privacy: All mathematical processing runs 100% locally in your web browser via vanilla JavaScript. No entered values or results are transmitted to external servers.
- Geometric Assumptions & Limitations: Volume equations (V = B × l) apply to both right and oblique prisms with congruent parallel bases, provided length l is measured perpendicular to the base planes. Surface area outputs (SA = 2B + Pl) assume right prisms whose lateral faces meet the bases at 90°.
Frequently Asked Questions About Prism Volume
How do you find volume in a prism?
To find the volume in any prism, calculate the two-dimensional area of its repeating base cross-section (B) and multiply by the perpendicular length or height (l) separating the two parallel bases: V = B × l. Ensure both base area and length use matching units (for example, ft² and ft) so the result is in cubic units (ft³).
How to calculate prism formula?
The universal prism volume formula is V = B × l (Base Area × Perpendicular Length). Depending on the base shape, substitute B = l × w for a rectangular prism, B = ½ × b × h_t for a triangular prism, B = ½ × (b₁ + b₂) × h_t for a trapezoidal prism, B ≈ 2.59808 × a² for a regular hexagonal prism, or B = π × r² for a circular cylinder.
How do I calculate the volume of a triangular prism?
Find the area of the triangular end-face (B = 0.5 × triangle base × perpendicular triangle height) and multiply by the prism’s length (l): V = ½ × b × h_t × l. For example, a triangular prism with a 6 cm base, 4 cm triangle height, and 10 cm length has a volume of 0.5 × 6 × 4 × 10 = 120 cm³.
How do you calculate the volume of an irregular prism?
Split the irregular polygonal cross-section (such as an L-shaped footing or I-beam) into simple non-overlapping rectangles, triangles, or trapezoids, add their areas together to get the total base area (B), and multiply by the prism’s extrusion length (l): V = B_total × l. Select Irregular / Any Polygon (Known Base Area B) in our calculator to run this directly.
How to calculate volume for an irregular shape?
If the irregular shape has a constant cross-section along one axis, treat it as an irregular prism by summing its 2D cross-section sub-areas and multiplying by length (V = B × l). If the 3D shape varies in all directions (like a rock or sculpture), use the water displacement method: submerge the object in a graduated container and measure the rise in water volume.
How to work out the volume of a prism calculator?
Choose your prism’s base cross-section in our calculator above—Rectangular, Triangular, Trapezoidal, Pentagonal, Hexagonal, Octagonal, Circular / Cylinder, or Irregular / Known Area (B)—enter the dimensions in any metric or Imperial units, and click Calculate Prism Volume for instant cubic, liter, and gallon results.
Which method calculates the volume of this prism?
Use V = B × l (Cross-Section Area × Perpendicular Length): multiply l × w × h for a rectangular box, ½ × b × h_t × l for a triangular prism, ½ × (b₁ + b₂) × h_t × l for a trapezoidal prism, 2.59808 × a² × l for a regular hexagonal prism, or enter the pre-measured cross-section area directly into V = B × l.
What is the formula for calculating volume?
For any uniform prism or cylinder, volume equals Base Area × Perpendicular Length (V = B × l). By comparison, pointed solids (pyramids and cones) use V = (1/3) × B × h, and spheres use V = (4/3) × π × r³.
How do you calculate the area and volume of a prism?
First find the polygonal base area (B) and base perimeter (P): compute Volume with V = B × l (in cubic units) and compute Total Surface Area by adding the two end bases to the rectangular side faces: SA = (2 × B) + (P × l) (in square units). Our calculator displays Base Area, Lateral Area, Total Surface Area, and Volume together.
How do you calculate the volume of a trapezoidal prism?
Average the two parallel bases of the trapezoid (b₁ and b₂), multiply by the trapezoid’s perpendicular height (h_t) to get the cross-section area, and multiply by the prism’s length (l): V = ½ × (b₁ + b₂) × h_t × l.
How do you calculate the volume of a hexagonal, pentagonal, or octagonal prism?
Multiply the side length squared (a²) by the regular polygon’s area constant and by prism length (l): use V ≈ 1.72048 × a² × l for a regular pentagonal prism (5 sides), V ≈ 2.59808 × a² × l for a regular hexagonal prism (6 sides), and V ≈ 4.82843 × a² × l for a regular octagonal prism (8 sides).
Is a cylinder considered a prism?
Strictly speaking, a prism has polygonal bases with flat faces, whereas a cylinder has curved circular bases. However, a circular cylinder behaves as the limiting case of an n-sided regular prism as n → ∞, obeying the exact same volume rule V = Base Area × Height = π × r² × h.
How do you calculate the volume of an oblique (slanted) prism?
By Cavalieri’s principle, an oblique prism has the exact same volume formula V = B × l as a right prism, provided l is measured strictly perpendicular to the two parallel base planes rather than along a slanted side edge.
How do you calculate the volume of a truncated prism?
For a right triangular or rectangular prism cut by a tilted top plane, multiply the flat bottom base area (B) by the average of the vertical corner heights: V = B × (h₁ + h₂ + h₃) ÷ 3 for a truncated triangular prism, or V = B × (h₁ + h₂ + h₃ + h₄) ÷ 4 for a truncated rectangular prism.
What is the difference between a prism and a pyramid?
A prism has two parallel, congruent bases connected by rectangular or parallelogram side faces (V = B × l), whereas a pyramid has a single base whose triangular sides taper to meet at one top apex, giving it exactly one-third (1/3) the volume of a matching prism (V = (1/3) × B × h).
How do you find the height or length of a prism from its volume?
Divide the known prism volume (V) by its cross-sectional base area (B) in matching units: l = V ÷ B. Switch to our calculator’s Find Length / Height or Base Area tab to solve for either l or B automatically.
Check Other Volume Calculators:
