Enter the base side and height of a square prism to get its total, lateral and base surface area, plus its volume. The page shows the formulas, the working and examples in feet, inches and metres.
Square Prism Surface Area Calculator
Total, lateral and base area of a right square prism from base side and height.
Starting values: the calculator opens with a base side of 5 and a height of 10. That gives a total surface area of 250, a lateral area of 200, a base area of 25 and a volume of 250.
The square prism formulas
A square prism has two identical square ends and four identical rectangular sides. Write a for the side of the square base and h for the height. Each output of the calculator comes from one formula:
Base area
B = a²
This is the area of one square end.
Lateral area
L = 4 × a × h
The four sides are each a rectangle of size a by h, so together they make 4ah. Lateral area leaves out both ends.
Total surface area
A = 2a² + 4ah
This is the lateral area plus two bases, so A = L + 2B.
Volume
V = a² × h
Volume is base area times height, and it is returned in cubic units of the length you entered.
Worked example with the starting values
For a = 5 and h = 10:
B = 5² = 25, L = 4 × 5 × 10 = 200, A = 200 + 2 × 25 = 250, V = 25 × 10 = 250
The sides carry 200 of the 250 square units of surface. The total and the volume happen to be equal here, but only for these two inputs. They are different quantities with different units, so never compare them in general.
Example: a square column
Suppose a square concrete column is 0.4 m on each side and 3 m tall, standing between the floor and the ceiling.
L = 4 × 0.4 × 3 = 4.8 m², 2B = 2 × 0.16 = 0.32 m², A = 5.12 m², V = 0.16 × 3 = 0.48 m³
To paint or wrap only the visible faces, the lateral area of 4.8 m² is the number you need, because the two ends are hidden. The total of 5.12 m² would be right only for a free-standing block with every face exposed.
Finding the height from a known surface area
If you know the total area and the base side, rearrange A = 2a² + 4ah:
h = (A − 2a²) ÷ (4a)
Take a base side of 2 and a total area of 60: h = (60 − 8) ÷ 8 = 6.5. Enter a = 2 and h = 6.5 to confirm that the calculator returns 60 for the total and 52 for the lateral area, with a base area of 4 and a volume of 26. This is a quick way to check a figure from a drawing.
Working in inches and converting
Keep both inputs in one unit. A square post 12 in on each side and 30 in tall gives A = 2 × 144 + 4 × 12 × 30 = 288 + 1,440 = 1,728 in² and V = 144 × 30 = 4,320 in³. Since 144 in² equals 1 ft², the post has exactly 12 ft² of surface. Entering the same post as 1 ft by 2.5 ft returns 12 ft² directly.
Related shapes and special cases
- When the height equals the base side, the prism is a cube and A = 6a². See the surface area of a square calculator for the flat square, cube and prism side by side.
- If the base is a rectangle rather than a square, you need a rectangular prism formula instead.
- For an open-top box, subtract one base area a² from the total.
Surface area is not the amount of material to buy
The result is the geometric surface of a closed solid. The material for a real box, column or cover depends on the sheet size, the cutting layout, the overlaps and the thickness, so treat the area as the minimum covered and take product quantities from the supplier.
Common mistakes
- Using 4a² for the sides. The sides are 4ah, not 4a².
- Entering the height in one unit and the base side in another.
- Reading the volume as an area. Volume is in cubic units.
- Using the total when only the sides will be covered.
What this calculator does not do
It handles a right prism with a square base. It does not subtract an open top, ignores wall thickness and does not solve for the height or base side for you, so use the rearranged formula above when you start from a known area.
Same volume, different surface area
Two square prisms can hold the same volume yet need very different amounts of surface. Take a = 4 and h = 4: the volume is 64 and the surface area is 2 × 16 + 4 × 4 × 4 = 96. Now take a = 2 and h = 16: the volume is again 64, but the surface area is 2 × 4 + 4 × 2 × 16 = 136.
The tall, thin prism has about 42 percent more surface for the same volume. Among all square prisms of a given volume, the cube (h = a) has the least surface area, which is useful when you are trying to minimise the covering for a box or tank-like shape.
Frequently asked questions
What is the surface area formula for a square prism?
Total surface area is 2a² + 4ah, where a is the base side and h is the height. The 2a² part is the two square ends and the 4ah part is the four rectangular sides.
What is the difference between lateral and total surface area?
Lateral area covers only the four sides, L = 4ah. Total surface area adds the two square ends, A = L + 2a². Use lateral area when the ends are not painted, covered or exposed.
How do I find the height of a square prism from its surface area?
Subtract the area of the two ends, then divide by the perimeter of the base: h = (A − 2a²) ÷ 4a. For a = 2 and A = 60 the height is 6.5.
Is a cube a square prism?
Yes. A cube is a square prism whose height equals its base side, so the formula 2a² + 4ah becomes 6a². Enter the same value for the base side and the height to get a cube result.




