ThisCalculator

Everyday

Right Square Prism Volume: Formula & Calculator

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 a right square prism (a box with a square base and straight vertical sides) from the side length of the square base and the height. You enter those two measurements, and you get the volume in cubic units, plus the base area and lateral surface area. The result is exact for the numbers you provide, assuming the prism is perfectly regular.

Formula

The volume of a right square prism is given by:

V = s² × h

Where:

  • V = volume (cubic units, e.g., m³, cm³, ft³)
  • s = length of one side of the square base (linear units, e.g., m, cm, ft)
  • h = height of the prism, perpendicular to the base (same linear unit as s)

Because the base is a square, its area is s × s = s². Multiplying that base area by the height gives the total space enclosed. This is the same general formula used for any prism: volume = base area × height.

Worked Example

Using the default values from the calculator above (s = 4 m, h = 10 m):

  1. Calculate the base area: A = s² = 4² = 16 m²
  2. Multiply by the height: V = 16 × 10 = 160 m³

The calculator shows 160.00 m³ as the volume, matching this step-by-step result. The base area output is 16.00 m², and the lateral surface area (the four vertical faces) is 4 × s × h = 4 × 4 × 10 = 160 m².

When to Use This Calculation

You need the volume of a right square prism whenever you have a three-dimensional object with a square cross-section and straight, parallel sides. Common real-world examples include:

  • Concrete footings or columns with a square base
  • Rectangular fish tanks where the base is square (though most tanks are not square)
  • Shipping boxes with equal length and width
  • Calculating the capacity of a silo or storage bin with a square footprint

The key is that the base must be a perfect square and the sides must be perpendicular to the base (a “right” prism). If the sides lean, the shape is an oblique prism and the formula changes (you would need the perpendicular height, not the slant height).

How to Read the Result

The volume is expressed in cubic units. If you measure the base side and height in meters, the volume is in cubic meters (m³). If you use centimeters, the result is in cubic centimeters (cm³), and so on. One cubic meter equals 1,000 liters, which is useful for water volume. For example, a prism with a 2 m base side and 3 m height has a volume of 12 m³, which is 12,000 liters. In imperial units, if you measure in feet, the volume is in cubic feet; there are about 7.48 gallons in one cubic foot.

Common Mistakes and How to Avoid Them

The most frequent error is mixing units. If the base side is in meters and the height is in centimeters, you must convert one to the other before multiplying. For instance, a base side of 2 m and a height of 50 cm: convert 50 cm to 0.5 m, so volume = 2² × 0.5 = 2 m³. If you forget to convert, you get 200, which is wrong by a factor of 100.

Another mistake is confusing the base side length with the base diagonal. The diagonal of a square is s√2, not s. If you have the diagonal, divide by √2 to get the side length first. Also, be careful not to confuse volume with surface area. Volume is the space inside, measured in cubic units; surface area is the total area of all faces, measured in square units.

Rounding is another source of error. If you round intermediate results too early, the final volume can be off. Keep at least a few extra digits during the calculation and round only the final answer.

Limits of the Formula

This formula assumes a perfect right square prism – flat, parallel, and perpendicular faces. Real objects may have slight irregularities, but the formula still gives a good approximation. For a cube (where height equals base side), the formula simplifies to V = s³. For a rectangular prism (where length and width differ), the formula is V = l × w × h, which is a direct extension.

The formula does not account for wall thickness if you are calculating the volume of a hollow container. In that case, you would need to subtract the inner volume from the outer volume, or use the inner dimensions directly. Also, if the prism is tilted (oblique), the volume is still base area × perpendicular height, but the perpendicular height is not the same as the slant height.

Frequently Asked Questions

What is the difference between a right square prism and a cube?

A cube is a special case of a right square prism where all three dimensions (length, width, height) are equal. In a right square prism, only the base is square; the height can be any positive number. If the height equals the base side, then the prism is a cube.

How do I find the volume if I only know the surface area?

You cannot find the volume from surface area alone unless you also know the relationship between the base side and height. For a given surface area, there are infinite (s, h) pairs that give different volumes. You would need one more piece of information, such as the height or the ratio of height to base side.

Can I use this formula for a prism with a rectangular base?

No, this specific formula uses s² for the base area, which only works when the base is a square. For a rectangle with length l and width w, use V = l × w × h. If the base is a rectangle but not a square, the volume will be different.

What units should I use for the volume?

Use the cube of whatever linear unit you measure with. If you measure in inches, volume is in cubic inches; in feet, cubic feet; in meters, cubic meters. To convert between cubic units, use the cube of the linear conversion factor. For example, 1 m = 100 cm, so 1 m³ = 1,000,000 cm³.

Why is the volume in cubic units?

Volume measures three-dimensional space, so it is the product of three linear measurements. Each linear measurement carries a unit (like meters), and multiplying three of them gives cubic units (m³). This is why volume is always expressed as a cube of a length unit.

Related

Formula used
in s | Base side length | m | 4 | 0
in h | Height | m | 10 | 0
out V | Volume | m³ | s^2 * h | 2
out A_base | Base area | m² | s^2 | 2
out A_lateral | Lateral surface area | m² | 4 * s * 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.