Square Prism

#Square Prism
TL;DR
A square prism is a solid with two equal square ends joined by four rectangles. Its volume is a2ha^2h and its total surface area is 2a2+4ah2a^2 + 4ah, both derived below, with six worked examples.
Ruchi Shah·reviewed byShikha SharmaLast updated on December 2, 202615 min read

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: V=a2hV = a^2 h.
  • Lateral surface area (the four sides only) is 4ah4ah; total surface area is 2a2+4ah2a^2 + 4ah.
  • A cube is the special square prism with h=ah = a, so the formulas become a3a^3 and 6a26a^2.
  • The longest straight line inside is the space diagonal, 2a2+h2\sqrt{2a^2 + h^2}.

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.

square prism with side a = 3 and height h = 7, with its faces, edges and vertices counted
A square prism with square ends of side a = 3 and height h = 7, top face orange and sides blue, beside a panel counting 2 squares of area 9, 4 rectangles of area 21, 12 edges, 8 vertices, and V minus E plus F equal to 2.

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:

  • aa = the side of the square end (the base edge)
  • hh = 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 a×aa \times a 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 (a×aa \times a) and 4 rectangles (a×ha \times h)
Edges 12 8 of length aa and 4 of length hh
Vertices 8 4 on each square, every corner a right angle

Euler's formula checks the count: V−E+F=8−12+6=2V - E + F = 8 - 12 + 6 = 2.

Square prism, cuboid and cube

  • A square prism is a rectangular prism (cuboid) whose base length and width are equal. A 4×64 \times 6 base is a cuboid but not a square prism.
  • When h=ah = a, 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.

V=a2×hV = a^2 \times h

For the running prism with a=3a = 3 and h=7h = 7: V=9×7=63V = 9 \times 7 = 63 cubic units.

Why base area times height? Two ways to see it

  • Count cubes in layers. One layer of unit cubes on the 3×33 \times 3 floor holds 9 cubes. Seven layers hold 9×7=639 \times 7 = 63.
  • Use the cuboid rule. A cuboid has V=l×w×hV = l \times w \times h. With l=w=al = w = a, that is a2ha^2h.
a 3 by 3 by 7 square prism holds 9 unit cubes per layer and 63 in total
A blue stack of six layers of unit cubes, each layer 3 by 3, with a seventh orange layer about to drop on top, and a panel counting 9 cubes per layer and 63 in all.
  • The rule does not need whole numbers: a=2.5a = 2.5 cm and h=4h = 4 cm give 6.25×4=256.25 \times 4 = 25 cm³.
  • Lean the prism over like a pushed stack of coins and every slice keeps its area, so the volume stays a2ha^2h, with hh the upright height.
  • Set h=ah = a and the formula becomes the cube's a3a^3.

Here VV is in cubic units (cm³, m³), aa is the base side and hh the height.

Surface Area of a Square Prism

Surface area is the total area of all six faces, and it splits into two parts.

LSA=4ahTSA=2a2+4ah\text{LSA} = 4ah \qquad \text{TSA} = 2a^2 + 4ah
  • Lateral surface area (LSA) is the four rectangles only. Each is a×ha \times h, so four of them make 4ah4ah.
  • Total surface area (TSA) adds the two square ends, each a2a^2.
  • For a=3a = 3 and h=7h = 7: LSA=84\text{LSA} = 84 and TSA=18+84=102\text{TSA} = 18 + 84 = 102 square units.

Why the formula looks like that: the net

Unfold the prism flat and you get its net: a strip of four a×ha \times h rectangles, with one square above the strip and one below.

net of a square prism showing two squares and four rectangles with total area 102
The net of a 3 by 3 by 7 square prism: four blue 3 by 7 rectangles in a strip with an orange 3 by 3 square above and below, and totals of 18 for the two ends, 84 for the strip and 102 in all.
  • The strip is as long as the base perimeter, 4a4a, 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: 2(lw+wh+hl)2(lw + wh + hl) with l=w=al = w = a gives 2a2+4ah2a^2 + 4ah.
  • An oblique prism's slanted faces are larger, so 4ah4ah no longer applies: volume ignores the lean, surface area does not.
Quantity Formula Cube (h=ah = a) Units
Volume a2ha^2h a3a^3 cubic
Lateral surface area 4ah4ah 4a24a^2 square
Total surface area 2a2+4ah2a^2 + 4ah 6a26a^2 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 aa and hh, 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 a2ha^2h Total surface area 2a2+4ah2a^2 + 4ah
a=8a = 8, h=1h = 1 (a flat tile) 6464 128+32=160128 + 32 = 160
a=4a = 4, h=4h = 4 (a cube) 6464 32+64=9632 + 64 = 96
a=2a = 2, h=16h = 16 (a tall tower) 6464 8+128=1368 + 128 = 136
three square prisms with the same volume of 64 and different surface areas, smallest for the cube
Three square prisms side by side, an orange tile a = 8, h = 1 with surface 160, a green cube a = 4, h = 4 with surface 96, and a blue tower a = 2, h = 16 with surface 136, all holding 64 unit cubes.

The cube wins. Among square prisms of equal volume, the one with h=ah = a 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.

  1. Across the floor. The diagonal of the square base is a2+a2=a2\sqrt{a^2 + a^2} = a\sqrt{2}.
  2. Straight up. The floor diagonal, the edge hh and the space diagonal form a right triangle, so the space diagonal is 2a2+h2\sqrt{2a^2 + h^2}.

For a=3a = 3, h=7h = 7: the floor diagonal is 18≈4.24\sqrt{18} \approx 4.24 and the space diagonal is 67≈8.19\sqrt{67} \approx 8.19, rounded to two places.

the space diagonal of a square prism found with Pythagoras' theorem twice
A see-through 3 by 3 by 7 square prism with the green floor diagonal PR, the orange vertical edge RQ and the purple space diagonal PQ of about 8.19, and a panel showing PR squared = 18 and PQ squared = 67.

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.

  1. V=a2h=42×9V = a^2h = 4^2 \times 9.
  2. 16×9=14416 \times 9 = 144.

Final answer: 144144 cm³.

Example 2

A square prism has base side 5 cm and height 8 cm. Find its total surface area.

  1. The tempting shortcut is the cube formula: 6a2=6×25=1506a^2 = 6 \times 25 = 150 cm².
  2. Check the shape: only the two ends are 5×55 \times 5 squares. The four sides are 5×85 \times 8 rectangles of area 40, not 25.
  3. Use the square-prism formula: 2×25+4×5×8=50+160=2102 \times 25 + 4 \times 5 \times 8 = 50 + 160 = 210.
the cube formula 6a squared undercounts a 5 by 5 by 8 square prism, 150 instead of 210
Two nets side by side. Left, labelled what 6a squared counts: six 5 by 5 squares of area 25, total 150. Right, labelled what is really there: two squares of 25 and four rectangles of 40, total 210.

Final answer: 210210 cm².

Example 3

Find the lateral surface area of a square prism with base side 6 cm and height 10 cm.

  1. LSA=4ah=4×6×10\text{LSA} = 4ah = 4 \times 6 \times 10.

Final answer: 240240 cm².

Example 4

A square prism has volume 245 cm³ and base side 7 cm. Find its height.

  1. 245=72×h=49h245 = 7^2 \times h = 49h.
  2. h=245÷49=5h = 245 \div 49 = 5.

Final answer: 55 cm.

Example 5

Will an 8 cm pencil fit inside a closed box that is a square prism with a=3a = 3 cm and h=7h = 7 cm?

  1. Standing up: no, since 8>78 > 7.
  2. Lying flat: no, since the floor diagonal is only 18≈4.24\sqrt{18} \approx 4.24 cm.
  3. Corner to corner: the space diagonal is 18+49=67≈8.19\sqrt{18 + 49} = \sqrt{67} \approx 8.19 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.

  1. 2a2+28a=1022a^2 + 28a = 102, so a2+14a−51=0a^2 + 14a - 51 = 0.
  2. This factorises as (a+17)(a−3)=0(a + 17)(a - 3) = 0.
  3. A length cannot be negative, so a=3a = 3.
  4. Check: 18+84=10218 + 84 = 102.

Final answer: 33 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 4ah4ah 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 0.40.4 m wide and 33 m tall: the concrete is 0.42×3=0.480.4^2 \times 3 = 0.48 m³, which is 480480 litres, since 1 m³ is 1,000 litres. The boards need 4×0.4×3=4.84 \times 0.4 \times 3 = 4.8 m², with the top left open to pour into.

a square concrete column uses the volume for the concrete and the lateral area for the formwork boards
An orange wooden formwork mould for a square column 0.4 m wide and 3 m tall, open at the top, beside a panel showing 0.48 cubic metres or 480 litres of concrete and 4.8 square metres of side boards.

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 6a26a^2 for a tall box, which counts every face as a square.

The correct way: Use 2a2+4ah2a^2 + 4ah; 6a26a^2 only works when h=ah = a. A student who memorised "6a26a^2" 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 V=h2×a=81×4=324V = h^2 \times a = 81 \times 4 = 324.

The correct way: Find the two equal edges first: they belong to the square, so they are aa. Here V=16×9=144V = 16 \times 9 = 144. "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: 4ah4ah. Sides plus one end: a2+4aha^2 + 4ah. Sides plus both ends: 2a2+4ah2a^2 + 4ah.

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, a2ha^2h; lateral surface is perimeter times height, 4ah4ah; total surface adds the ends.
  • The cube is the case h=ah = a, and among square prisms of equal volume it has the least surface.
  • Find aa and hh before writing any formula, and test answers with h=ah = a.

Practice and Next Steps

Take a real box with square ends, such as a tea box, measure aa and hh, and work out its volume and both surface areas. Then try these:

  1. Find the volume of a square prism with base side 5 cm and height 12 cm.
  2. Find the total surface area of a square prism with base side 6 cm and height 9 cm.
  3. A square prism has volume 192 cm³ and base side 4 cm. Find its height.

Answer to Question 1: 25×12=30025 \times 12 = 300 cm³.

Answer to Question 2: 72+216=28872 + 216 = 288 cm².

Answer to Question 3: 192÷16=12192 \div 16 = 12 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

Research Behind This Article

  1. Euclid, Elements, Book XI, Definitions (the prism), with commentary by D. E. Joyce, Clark University. mathcs.clarku.edu
  2. Euclid, Elements, Book I, Proposition 47 (Pythagoras' theorem, used for the diagonal), D. E. Joyce, Clark University. mathcs.clarku.edu
  3. OpenStax, Prealgebra 2e, Section 9.6: Solve Geometry Applications: Volume and Surface Area. openstax.org
  4. 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?
Not always. A cube is the square prism whose height equals its base side, so all six faces are squares. Most square prisms are taller or shorter, so their sides are rectangles.
What is the formula for the volume of a square prism?
V=a2hV = a^2h: the square base area times the height.
What is the difference between a square prism and a rectangular prism?
A square prism has square bases. A rectangular prism has rectangular ones, so a square prism is the rectangular prism whose base length and width are equal.
How many faces, edges and vertices does a square prism have?
Six faces (2 squares and 4 rectangles), twelve edges and eight vertices.
What is the lateral surface area of a square prism?
The area of the four side faces only, 4ah4ah. Add 2a22a^2 for the two ends to get the total.
Does the volume change if the prism leans over?
No, as long as you use the upright height. The surface area does change, because the side faces become longer parallelograms.
✍️ Written By
Ruchi Shah
Ruchi Shah
Subject Matter Expert
Ruchi Shah is a mathematics educator and curriculum designer with over 12 years of experience. She joined Bhanzu in 2022 as a full-time Mathematics Trainer, teaching live classes and working with students and parents. She has since moved into curriculum design where she builds curricula, academic planners and learning pathways for different grade levels.
LinkedIn
🔬 Reviewed By
Shikha Sharma
Subject Matter Expert
Book a FREE Demo ClassBook Now →