Right Square Prism Volume Formula
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 finds the volume of a right square prism when you enter the side length of the square base and the height. You get the volume in cubic units, along with the base area and lateral surface area. The formula is V = a² × h, where a is the base edge and h is the height.
Formula
The volume of a right square prism is given by:
V = a² × h
- V = volume (cubic units, e.g., cm³, m³, in³)
- a = length of one side of the square base (linear units, e.g., cm, m, in)
- h = height of the prism, perpendicular to the base (same linear unit as a)
Because the base is a square, its area is a × a = a². Multiplying that base area by the height gives the total space enclosed. This works for any right prism: volume = base area × height. The “right” in right square prism means the sides are perpendicular to the base, so the height is simply the vertical distance between the two square faces.
Worked Example
Using the default values from the calculator: base edge a = 4 cm, height h = 10 cm.
- Calculate the base area: a² = 4² = 16 cm².
- Multiply by the height: V = 16 cm² × 10 cm = 160 cm³.
- Lateral area (optional): 4 × a × h = 4 × 4 × 10 = 160 cm².
The calculator returns V = 160.00 cm³, matching the step-by-step result.
When to Use This Formula
Use the right square prism volume formula whenever you need the capacity or space inside a three-dimensional object with a square cross-section and straight, perpendicular sides. Common real-world objects include:
- Square-based boxes, crates, or shipping containers
- Concrete footings or pillars with square cross-sections
- Aquariums or tanks with square bases
- Storage silos or bins with square footprints
The formula is also the foundation for calculating the volume of a cube (where h = a, so V = a³) and for composite shapes that combine multiple square prisms.
How to Measure the Inputs
Accurate measurement is key to a correct volume. Use the same unit for both a and h; if they differ, convert first. For example, if the base side is 2 feet and the height is 18 inches, convert 18 inches to 1.5 feet before applying the formula.
- Base edge (a): Measure one side of the square base. If the base is not perfectly square, measure all four sides and use the average, or reconsider whether the shape is truly a square prism.
- Height (h): Measure the perpendicular distance between the two square faces. For a box sitting on a table, this is simply the vertical height.
When measuring a real object, use a rigid ruler or tape measure. For large objects like a room or a tank, measure the inside dimensions to get the internal volume (capacity), not the external volume.
Common Mistakes and How to Avoid Them
Several errors frequently occur when calculating volume:
- Mixing units: Using centimeters for the base and meters for the height gives a meaningless result. Always convert to the same unit first.
- Confusing area and volume: The result of a² is area (cm²), but volume must be cubic (cm³). Remember to multiply by the height.
- Using the diagonal instead of the side: If you know the diagonal of the square base, you must convert: a = diagonal / √2. The formula V = a²h requires the side length, not the diagonal.
- Forgetting the “right” condition: If the prism leans (oblique), the height is not the slant length. Use the perpendicular height, not the slant edge.
- Rounding too early: If you round intermediate steps, the final volume can be noticeably off. Keep full precision until the last step.
Limitations of the Formula
The formula V = a²h only applies to right square prisms. It does not work for:
- Oblique prisms (slanted sides) – you need the perpendicular height, not the slant height.
- Prisms with non-square bases (e.g., rectangular, triangular) – use the appropriate base area.
- Cylinders – use the circular base area πr².
- Irregular shapes – the formula assumes a perfect square and straight sides.
For a cube, the formula simplifies to V = a³ because height equals the base side. For a rectangular prism (a box), the volume is length × width × height; if length and width are equal, it becomes the square prism formula.
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 the height equals the base side length. In a general right square prism, the height can be any positive value, so the shape is like a tall or short box with a square top and bottom.
Can I use this formula for a rectangular prism?
No, a rectangular prism has a base that is a rectangle, not necessarily a square. For a rectangular prism, use V = length × width × height. If the length and width are equal, then it becomes a square prism and the formula V = a²h applies.
What if I only know the volume and the height – how do I find the base side?
Rearrange the formula: a = √(V / h). For example, if V = 200 cm³ and h = 8 cm, then a = √(200 / 8) = √25 = 5 cm. This is useful when you need to design a container with a given capacity.
Does the formula work with any unit?
Yes, as long as you use the same unit for both a and h. The volume will be in cubic units of that unit. For instance, if both are in meters, the volume is in cubic meters (m³). If you need liters, remember 1 m³ = 1000 liters and 1 cm³ = 0.001 liters.
Why is the volume formula for a prism always base area × height?
Think of stacking layers: each layer has an area equal to the base, and the height tells you how many layers fit. This holds for any prism (right or oblique) as long as you use the perpendicular height. The formula is a direct consequence of Cavalieri’s principle.
Related
Formula used
in a | Base edge (a) | cm | 4 | 0 in h | Height (h) | cm | 10 | 0 out V | Volume | cm³ | a^2 * h | 2 out Abase | Base area | cm² | a^2 | 2 out Alateral | Lateral area | cm² | 4 * 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.