Math calculator

Prism Calculator

Base area times length, whatever the base.

Base area times length

Whatever the base shape is.

base area 12, length 10

120

Volume — base area times length, with no factor to remember. The cross-section does not change along a prism, which is what makes it one.

Volume

120

base × length

Base area

12

the cross-section

Base perimeter

14

all the way round the end

Lateral area

140

perimeter × length

Total area

164

sides plus both ends

Surface to volume

1.36666667

skin per unit content

  • Every prism is base area times length, whatever the base shape. The cross-section does not change along its length, which is what makes it a prism and what makes the formula so simple.
  • The lateral area is the base perimeter times the length, because the sides unroll into a single rectangle of exactly those dimensions.

The triangular base uses Heron’s formula, so three measured side lengths are enough — no perpendicular height needed.

What this tool shows

Every prism is base area times length, with nothing to divide by. The cross-section does not change along its length — that is what makes it a prism, and it is what makes the formula so simple.

  • Volume of any prism
  • Rectangular, triangular and trapezoidal bases
  • A triangular base from three side lengths alone
  • Lateral and total surface area
  • The triangle inequality, enforced
  • Why the formula needs no factor
Three base shapes Heron for triangles Both areas Impossible sides refused

Rectangular, triangular or trapezoidal cross-section.

Updated 7 September 2026 · Works in any browser, no installation

Volume = base area × length. A 3-by-4 rectangular prism 10 long holds 120. A 3-4-5 triangular prism of the same length holds 60, because its base area is 6. The base shape changes, the rule does not.

At a glance

Formula shown
V = base area × length, for every prism. The lateral surface area is the base perimeter times the length, and the total adds both end faces. A triangular base uses Heron’s formula, so three side lengths suffice.
Scenario support
Working out concrete for a trench; sizing a duct or a beam; a homework question on a triangular prism.
Educational estimate
Planning support from the values you enter — not professional advice.

What makes it a prism

A prism has the same cross-section all the way along. Slice it anywhere perpendicular to its length and you get the identical shape.

That is the whole definition, and it is what makes the volume formula so simple: the cross-section never changes, so the volume is just that area repeated along the length.

It is also why anything tapering is not a prism. A pyramid, a cone or a frustum has a shrinking cross-section, and every one of those carries a factor of a third or worse.

A cylinder is a prism with a circular base, by this reasoning. Most textbooks keep them separate because the circle is a curve, but the volume formula is identical and for the same reason.

Three sides are enough

For a triangular prism, most calculators ask for a base and a perpendicular height. That is awkward, because on a real object the perpendicular height is the one measurement you cannot take directly.

Heron’s formula removes the problem: from the three side lengths alone, area = √(s(s−a)(s−b)(s−c)) where s is half the perimeter.

Three side lengths are exactly what a tape measure gives you. No dropping a perpendicular, no finding a right angle.

It also enforces the triangle inequality for free. If the two shorter sides do not exceed the longest, one of the bracketed terms goes negative and the square root has no real value. This page refuses those inputs and says why, rather than returning a NaN that would propagate silently into the volume.

The lateral surface unrolls

The sides of a prism unroll into a single rectangle, exactly as a cylinder’s wall does.

Its width is the base perimeter and its height is the prism length, so the lateral area is perimeter × length. One formula for every base shape.

It is why a cardboard box net has the four sides in a row: they are one rectangle, scored rather than cut.

The total surface adds both end faces. As with a cylinder, which one you want depends on the object — a duct needs the lateral area, a sealed box needs the total.

Surface to volume

The same ratio that matters for spheres matters here, and prisms make the point in a different way.

A long thin prism has a great deal of surface for its volume. A cube-like one has much less. For a fixed volume, the cube is the rectangular prism with the least surface — the box-shaped analogue of the sphere result.

It is why packaging tends towards cubes when material cost dominates, and why a fin or a heat sink is made of thin plates when the aim is the opposite.

This page reports the ratio alongside the areas, because for anything involving heat, drying or coating it is more useful than either area on its own.

Where it gets used

Construction. Trenches, footings, beams and lintels are prisms, and the volume is what the concrete order is based on.

Ducting and channels. Rectangular ducts and open channels, where the cross-sectional area sets the flow and the perimeter sets the friction.

Packaging. Boxes are rectangular prisms, and the net that folds into one is exactly the lateral rectangle plus two ends.

Optics. A glass prism is a triangular one, and its shape is why it separates light — the refraction differs by wavelength across the two sloping faces.

Sources and methodology

The prism formulas and Heron’s formula are standard; these are the references.

Method. The triangular base uses Heron’s formula so that three measured side lengths are enough, which is what you have when measuring a real object rather than a diagram. Three lengths that cannot close into a triangle are refused with the inequality stated, rather than producing a NaN from the square root of a negative — a failure that would otherwise propagate silently into the volume. That engine is verified on every change against 96 hand-written assertions, including that impossible triangle side lengths are refused with the inequality named rather than returning a NaN, and that a pyramid is exactly a third of the corresponding prism. The count and the per-case breakdown are published on the formula verification page.

Related calculators

Where this goes next:

CylinderVolume with lateral and total surface area reported separately, because a pipe needs one and a sealed tin needs the other — plus the shape that uses the least material.
PyramidVolume, both slant heights, the lateral edge and the surface areas — because a rectangular base has two slant heights and a single one is not enough.
QuadrilateralRectangle, square, parallelogram, rhombus, trapezoid and kite — each asking for the measurement its own formula needs, with the perpendicular-height trap refused rather than silently wrong.
TriangleSolve any triangle from three measurements — and when two sides and a non-included angle describe TWO triangles, this one shows both instead of picking one.
ConeVolume, slant height and both surface areas — with the vertical and slant heights kept strictly apart, because the two formulas want different ones and swapping them fails silently.
SphereVolume, surface area, hemisphere figures and the surface-to-volume ratio — the one number that explains why cells are small and why crushed ice cools faster.

More in Math, or browse all calculators.

Read the guide

The cross-section areas these volumes are built from are on the Quadrilateral Calculator.

Educational use disclaimer

This is an educational tool. A prism has a constant cross-section along its length; a tapering solid is not one.

How we calculate · Found an error? email us

Authorship & verification

Written and maintained by , a business operator who builds spreadsheet-based calculators.

What's changed (3 updates)

Published 7 September 2026

  1. Published the prism page solving a triangular base from three side lengths via Heron's formula, since the perpendicular height is exactly the measurement you cannot take on a real object with a tape.
  2. Refuses three lengths that cannot close into a triangle, naming the inequality, rather than returning a NaN from the square root of a negative that would propagate silently into the volume.
  3. Explains what makes a solid a prism — a cross-section that does not change along its length — which is also why anything tapering carries a factor of a third and a prism carries none.

Add this calculator to your site

Responsive embed — and private: nothing your visitors type leaves their browser.