Key Points
- A square prism has 6 faces (2 squares, 4 rectangles), 12 edges and 8 vertices.
- Volume is the square base area times the height: .
- Lateral surface area (the four sides only) is ; total surface area is .
- A cube is the special square prism with , so the formulas become and .
- The longest straight line inside is the space diagonal, .
Why a Matchbox and a Cube Are Secretly the Same Shape
Stand a cube next to a tall, slim box with square ends: they look like different objects.
- Geometrically, that box, like a matchbox with square ends, is just a cube stretched in one direction. Both are square prisms.
- Each has a square at the bottom, the same square at the top, and straight sides in between.
- Stretch a cube upwards and you get a tower; squash it and you get a flat tile. The square ends never change.
That is the key idea: a square prism only needs its two ends to be squares, and one pair of formulas covers every height.

What Is a Square Prism?
A square prism is a 3D solid with two equal, parallel square bases joined by four rectangular faces. Two letters are used throughout:
- = the side of the square end (the base edge)
- = the height, the distance between the two square ends
The defining property is a constant cross-section. Slice it anywhere parallel to the base and the cut is the same square. That makes it a prism, not a pyramid, which shrinks to a point.
Faces, edges and vertices
| Part | Count | Detail |
|---|---|---|
| Faces | 6 | 2 squares () and 4 rectangles () |
| Edges | 12 | 8 of length and 4 of length |
| Vertices | 8 | 4 on each square, every corner a right angle |
Euler's formula checks the count: .
Square prism, cuboid and cube
- A square prism is a rectangular prism (cuboid) whose base length and width are equal. A base is a cuboid but not a square prism.
- When , the four rectangles become squares too, and you have a cube. Every cube is a square prism; most square prisms are not cubes.
- Swap the square base for a triangle and you get a triangular prism. The base itself is the flat square.
- If the side faces lean over, the solid is an oblique square prism with parallelogram sides. The formulas here describe the upright right square prism.
Volume of a Square Prism
The volume is the area of the square base times the height.
For the running prism with and : cubic units.
Why base area times height? Two ways to see it
- Count cubes in layers. One layer of unit cubes on the floor holds 9 cubes. Seven layers hold .
- Use the cuboid rule. A cuboid has . With , that is .

- The rule does not need whole numbers: cm and cm give cm³.
- Lean the prism over like a pushed stack of coins and every slice keeps its area, so the volume stays , with the upright height.
- Set and the formula becomes the cube's .
Here is in cubic units (cm³, m³), is the base side and the height.
Surface Area of a Square Prism
Surface area is the total area of all six faces, and it splits into two parts.
- Lateral surface area (LSA) is the four rectangles only. Each is , so four of them make .
- Total surface area (TSA) adds the two square ends, each .
- For and : and square units.
Why the formula looks like that: the net
Unfold the prism flat and you get its net: a strip of four rectangles, with one square above the strip and one below.

- The strip is as long as the base perimeter, , and as tall as the prism, so the lateral area is perimeter times height.
- That "perimeter times height" rule works for the sides of every right prism.
- The cuboid formula agrees: with gives .
- An oblique prism's slanted faces are larger, so no longer applies: volume ignores the lean, surface area does not.
| Quantity | Formula | Cube () | Units |
|---|---|---|---|
| Volume | cubic | ||
| Lateral surface area | square | ||
| Total surface area | square |
If your square-prism answer fails the cube check in the table, something was copied wrong. In the tool, drag the dots to change and , tap faces and edges to count them, and press Show me to watch square slices stack up to the volume.
Try It Yourself
Use the 3d solids lab to see Square Prism at work: drag, change the numbers and watch what happens.
Which Square Prism Wraps a Volume in the Least Card?
Keep the volume fixed and change the shape, and the surface area moves a lot. Three square prisms that each hold 64 cubes:
| Square prism | Volume | Total surface area |
|---|---|---|
| , (a flat tile) | ||
| , (a cube) | ||
| , (a tall tower) |

The cube wins. Among square prisms of equal volume, the one with always has the smallest surface, which you can prove later with calculus. That is why a cube-like carton uses less board than a long thin one holding the same amount.
The Diagonal of a Square Prism
The longest stick that fits inside runs from a bottom corner to the opposite top corner. Pythagoras' theorem finds it in two steps.
- Across the floor. The diagonal of the square base is .
- Straight up. The floor diagonal, the edge and the space diagonal form a right triangle, so the space diagonal is .
For , : the floor diagonal is and the space diagonal is , rounded to two places.

Examples of the Square Prism
Every example uses centimetres, and they climb from one formula to working backwards.
Example 1
Find the volume of a square prism with base side 4 cm and height 9 cm.
- .
- .
Final answer: cm³.
Example 2
A square prism has base side 5 cm and height 8 cm. Find its total surface area.
- The tempting shortcut is the cube formula: cm².
- Check the shape: only the two ends are squares. The four sides are rectangles of area 40, not 25.
- Use the square-prism formula: .

Final answer: cm².
Example 3
Find the lateral surface area of a square prism with base side 6 cm and height 10 cm.
- .
Final answer: cm².
Example 4
A square prism has volume 245 cm³ and base side 7 cm. Find its height.
- .
- .
Final answer: cm.
Example 5
Will an 8 cm pencil fit inside a closed box that is a square prism with cm and cm?
- Standing up: no, since .
- Lying flat: no, since the floor diagonal is only cm.
- Corner to corner: the space diagonal is cm.
Final answer: yes, but only on the slant from a bottom corner to the opposite top corner.
Example 6
A square prism has height 7 cm and total surface area 102 cm². Find the base side.
- , so .
- This factorises as .
- A length cannot be negative, so .
- Check: .
Final answer: cm.
Why the Square Box Runs the Warehouse
The square prism is the workhorse of packing, storage and stacking.
- Cartons and boxes. A square base tiles a floor with no gaps and flat faces sit flush, so square-ended boxes stack into a solid wall. The surface-area formula prices the cardboard.
- Labels. A wrap-around label leaves the ends open, so it is sized with the lateral area alone.
- Concrete columns. The concrete is the volume; the wooden boards that hold it while it sets cover only the four sides.
- Everyday square prisms. A square fence post, a paving slab, a stick of square chalk and a Rubik's cube (a cube, so still a square prism).
For a column m wide and m tall: the concrete is m³, which is litres, since 1 m³ is 1,000 litres. The boards need m², with the top left open to pour into.

Where Students Trip Up on Square Prisms
Mistake 1: Using the cube formula on a non-cube
Where it slips in: Total surface area questions where the height differs from the base side.
Don't do this: Write for a tall box, which counts every face as a square.
The correct way: Use ; only works when . A student who memorised "" gets every cube right and every other square prism wrong, which is why rebuilding the formula from the net pays off.
Mistake 2: Squaring the height instead of the base side
Where it slips in: "A prism 4 cm by 4 cm by 9 cm", with the numbers used in the order they appear, or a prism lying on its side.
Don't do this: Write .
The correct way: Find the two equal edges first: they belong to the square, so they are . Here . "Base" means the square face, not the face touching the table.
Mistake 3: Mixing up lateral and total surface area
Where it slips in: Open objects, such as a box with no lid, a label round the sides, or formwork for a column.
Don't do this: Add both squares when an end is missing, or leave them out when the box is closed.
The correct way: Ask which faces the object really has. Sides only: . Sides plus one end: . Sides plus both ends: .
Conclusion
- A square prism has two equal square ends and four rectangle sides, with the same square cross-section all the way up.
- Volume is base area times height, ; lateral surface is perimeter times height, ; total surface adds the ends.
- The cube is the case , and among square prisms of equal volume it has the least surface.
- Find and before writing any formula, and test answers with .
Practice and Next Steps
Take a real box with square ends, such as a tea box, measure and , and work out its volume and both surface areas. Then try these:
- Find the volume of a square prism with base side 5 cm and height 12 cm.
- Find the total surface area of a square prism with base side 6 cm and height 9 cm.
- A square prism has volume 192 cm³ and base side 4 cm. Find its height.
Answer to Question 1: cm³.
Answer to Question 2: cm².
Answer to Question 3: cm.
If Question 2 came out too small, go back to Example 2. To practise solid shapes with a teacher, explore Bhanzu's geometry tutor or math classes online.
Want a live Bhanzu trainer to unfold the prism's net with your child? Book a free demo class, online globally, or in person at our McKinney, TX center.
Read More
- What Is a Polyhedron
- Geometric Shapes
- Shapes in Geometry
- Surface Area
- Difference Between Cube and Cuboid
- Square Pyramid
Research Behind This Article
- Euclid, Elements, Book XI, Definitions (the prism), with commentary by D. E. Joyce, Clark University. mathcs.clarku.edu
- Euclid, Elements, Book I, Proposition 47 (Pythagoras' theorem, used for the diagonal), D. E. Joyce, Clark University. mathcs.clarku.edu
- OpenStax, Prealgebra 2e, Section 9.6: Solve Geometry Applications: Volume and Surface Area. openstax.org
- National Institute of Standards and Technology, Guide for the Use of the International System of Units (SI), NIST Special Publication 811, Chapter 5: Units Outside the SI (1 L = 1 dm³ = 10⁻³ m³). nist.gov
Quick Quiz: Check Yourself
Three levels, questions with figures, instant feedback with the reason.
Was this article helpful?
Your feedback helps us write better content
Frequently Asked Questions
Is a square prism the same as a cube?
What is the formula for the volume of a square prism?
What is the difference between a square prism and a rectangular prism?
How many faces, edges and vertices does a square prism have?
What is the lateral surface area of a square prism?
Does the volume change if the prism leans over?
