Widgets

Find the volume of a box by counting cubes

Use the Cube Prism widget to show a box of unit cubes with its bottom layer highlighted, let students peel the layers apart and type the volume, then ask them to build every box that holds 24 cubes.

Level
Intermediate
Time
About 15 min
Steps
8
Updated
Nov 21, 2026
What you'll build

A two-scene Grade 5 volume activity where students count a 4 × 3 × 3 box of cubes layer by layer, then build three different boxes that each hold 24 cubes.

Ready-made activity

Get the finished activity

Skip straight to the result, or keep it open beside the steps. Add this tutorial's activity to your account and explore how it works in the studio.

Volume clicks for students when they stop counting cubes one at a time and start counting layers: "one layer is 12 cubes, and there are 3 layers, so the box holds 36." The classic mistakes all come from the picture. Students count only the cubes they can see, take one layer for the whole box, or add the side lengths instead of multiplying.

The Cube Prism widget draws a box of unit cubes exactly from its side lengths, so you never draw a cube by hand. Students can lift its layers apart to count them, type the volume on the widget's own number keys, and build boxes of their own. Berdee works out every answer from the figure, so you never type the answer key.

In this tutorial you'll build a two-scene activity called Packing boxes with cubes:

  1. How many cubes fill the box? Students see a 4 × 3 × 3 box with its bottom layer in gold. They can peel the layers apart, then type the volume.
  2. Boxes of 24. Students build three different boxes that each hold 24 cubes. A box they already found, turned another way, doesn't count twice.

Step 1: Set the scene

Start from scratch: click New activity, name it Packing boxes with cubes, then choose A blank activity and Build the first scene.

Give the scene a warm background. Click an empty spot on the scene, open Background, click Choose a style, and pick Mesh sunrise. Give the Closing Scene the same background so the ending matches.

The box will take the left of the scene, so put the words in a column on the right:

  1. A Heading: How many cubes fill the box?. Set it to Fixed width, 280 wide, and Font Size 34.
  2. A Body under it: Count the cubes in one layer. Then count the layers. Type the volume and tap Done. Set it to Fixed width, 280 wide, and Font Size 22.
The Opening Scene on a peach and coral gradient with the heading How many cubes fill the box? and the instruction Count the cubes in one layer. Then count the layers. Type the volume and tap Done. in a column on the right
A warm background and the words in a right-hand column.

The 1 validation issue at the top right is there because the scene has nothing to answer yet. It goes away once the box asks its question in Step 5.

Step 2: Add a Cube Prism

Search the Widgets tab for Cube Prism and click it. A lilac box of 4 × 3 × 2 cubes lands on the scene, with each side labelled with its length.

In Style & Layout, click Show more options and set Width to 600 and Height to 500. Drag the widget to the left of the scene, beside the words.

The Opening Scene with a new Cube Prism on the left: a lilac box of cubes 4 long, 3 deep and 2 tall with its sides labelled 4, 3 and 2, beside the heading and the instruction
A new Cube Prism, 600 by 500, on the left.

The widget needs room. Cubes have to be big enough to count, especially the ones going back, and the number keys the question adds in Step 5 sit underneath the box.

Step 3: Make the box 4 × 3 × 3

Select the widget and click the floating ⚙ Configure button.

  1. Under What students do, keep Show: all cubes. Students see every cube and count them.
  2. Under The figure, keep One prism and set the Side lengths: Length 4, Width 3, Height 3.

The preview on the right redraws the box as you type each number.

Show: all cubes, and side lengths of 4, 3 and 3.
The Configure window under The figure: Figure One prism, and Side lengths Length 4, Width 3, Height 3, with a 4 by 3 by 3 box of lilac cubes in the preview
A box 4 cubes long, 3 deep and 3 tall.

Why 3 tall and not 5? Every cube you add shrinks the others to fit, and the window warns you when the cubes get too small to count by eye. A 4 × 3 × 5 box at this size shows The cubes are small to count by eye. Three layers keep every cube big, and they're still enough for students to see that the layers repeat.

Step 4: Color the bottom layer and let students peel

Scroll down to What students see. A highlighted layer shows students what "one layer" means before they count anything:

  1. Set Cube color to Teal.
  2. Set Highlight to A layer (flat) and keep the number beside it at 1, the bottom layer.
  3. Keep Highlight color at Gold.
  4. Under Students can, turn on Peel the layers.
The Configure window under What students see: Labels showing Its length on the front edges, Unit No unit, Highlight A layer (flat) with layer 1, and the preview showing a teal box with its bottom layer in gold and a Peel button above it
The bottom layer in gold, and a Peel button.

Peel gives students a button that lifts the layers off one at a time and counts them out loud on screen: "1 layer of 12, 2 layers of 12, 3 layers of 12". It's the step from counting cubes to multiplying layers. Pressing it never counts as a try.

Each side keeps its length label on its front edge. To catch the student who multiplies one side twice, set a label to Both edges and see who does.

Step 5: Ask for the volume

Scroll down to The question and set Ask to The volume.

The Configure window with Cube color Teal, Highlight color Gold, Peel the layers turned on, and Ask set to The volume, with the note The right answer is 36, worked out from the figure; the preview now has number keys under the box
Ask: The volume. The right answer is 36.

You don't type the answer. The note under Ask says The right answer is 36, worked out from the figure, so the answer can never disagree with the picture. The widget gets its own number keys and prints What is the volume? above them, so you don't need a separate question text, and a tablet's keyboard never pops up. The Scoring section at the top now reads Graded.

Click Save. Then click an empty spot on the scene, and in Progression click Show more options and set Advance delay to 2500 ms. Students then have two and a half seconds to see Yes, 36. before the activity moves on.

The Opening Scene with the teal box, its gold bottom layer, a Peel button, and number keys under What is the volume?, and the scene's Progression set to Next with Advance delay 2500 ms
The finished first scene, with a short pause before it moves on.

Step 6: Add a scene where students build boxes of 24

Counting a box someone else made is half the idea. The other half is seeing that one volume fits many boxes.

In the Scenes tab, click Add scene. Double-click the new scene's name and rename it Build 24. Give it the Mesh sunrise background too.

This scene needs a wider Cube Prism, so the words get a narrower column on the right. Add a Heading Boxes of 24 and a Body Use + and − to change each side. Find 3 boxes that hold 24 cubes!, both Fixed width 170. Then add a Cube Prism, set it to 740 wide and 500 tall, and drag it to the left.

Open ⚙ Configure:

  1. Under What students do, choose Build.
  2. Under What students build, keep A volume and set Volume to build to 24.
  3. Turn on Find different prisms and set How many to find to 3.
  4. Under Students build with, choose + and − buttons.
  5. Set Largest side to 6.
  6. Set Cube color to Teal.
Build a volume of 24, three different ways.
The Configure window under What students build: A volume selected, Volume to build 24 with the note 3 different prisms have this many cubes with sides up to 6, Find different prisms on with How many to find 3, and + and − buttons selected under Students build with
24 cubes, and exactly 3 boxes with sides up to 6.

Largest side decides how many answers there are, and the note under Volume to build counts them for you: with sides up to 6, exactly 3 boxes hold 24 cubes (2 × 3 × 4, 2 × 2 × 6 and 1 × 4 × 6), so asking for 3 means finding every one.

Why + and − buttons instead of the base grid? The grid's squares shrink as Largest side grows, and at 6 across they're too small for a child's finger: the window warns The base grid's squares are small for a tap. The buttons stay big at any size. Keep this widget at least 740 wide, though. Narrower, the Length, Width and Height names beside the buttons don't fit and break onto two lines in the student view.

Click Save, and give this scene the same Advance delay of 2500 ms.

The Build 24 scene: a wide Cube Prism with Length, Width and Height rows of minus and plus buttons, the note Students build the prism here, an empty Found 0 of 3 list and a Done button, beside the heading Boxes of 24
The second scene. The studio leaves the box empty, as students first see it.

The studio never draws a sample box in Build mode. Students start with nothing, and a sample would give the answer away in the activity's thumbnail.

Step 7: Preview the first scene

Go back to the Opening Scene and click Preview.

The first scene in Preview: the teal box with its gold bottom layer, sides labelled 4, 3 and 3, a Peel button, and empty number keys under What is the volume?
What students see first.

Tap Peel. The layers lift apart one at a time and the count builds up beside the button:

Peel lifts the layers apart and counts them.
The box peeled into three separate layers of 12 cubes, the gold one at the bottom, with Put back and 3 layers of 12 above them
3 layers of 12.

Tap Put back to join them again. Now answer the way a student who stops at one layer would: type 12 and tap Done. Then fix it: tap the erase key twice, type 36, and tap Done again.

12 is one layer. 36 is the whole box.
The box in Preview with 12 typed in the answer box and × Not yet. beside the figure
A wrong answer stays in the box so the student can fix it.
The box in Preview with 36 typed in the answer box and ✓ Yes, 36. beside the figure
Yes, 36.

A wrong answer stays in the box, so the student changes it instead of starting over. You also learn more than "wrong": Berdee recognises the usual mistakes from the figure, so on the attempt page a 12 here reads 12 (cubes in one layer). Typing and erasing never count as tries. Each Done does, so this student shows 2 tries.

Step 8: Preview the boxes of 24

After two and a half seconds the activity moves on to Boxes of 24. Every side starts at 0, and the task is printed under the box: Build a prism of 24 cubes, 3 different ways.

The Boxes of 24 scene in Preview: Length, Width and Height at 0 with minus and plus buttons, Tap + to start your prism., an empty Found 0 of 3 list and Build a prism of 24 cubes, 3 different ways
Every side starts at 0.

Tap + to make a box 2 long, 3 wide and 4 tall, and tap Done. It joins the list. Then build the same box turned on its side, 4 long, 3 wide and 2 tall, and tap Done:

The first box, then the same box turned on its side.
A 2 by 3 by 4 box in Preview with Found 1 of 3 listing 2 × 3 × 4 and ✓ 2 by 3 by 4. Find another one.
The first box joins the list.
A 4 by 3 by 2 box lying flat in Preview with × You already have that one. and the list still at Found 1 of 3
The same box turned on its side doesn't count again.

You already have that one. A 4 × 3 × 2 box is the 2 × 3 × 4 box resting on a different face, and noticing that is part of the lesson. Now build 2 × 2 × 6 and 1 × 4 × 6, tapping Done after each:

The last two boxes, and the activity ends.
A tall 1 by 4 by 6 box in Preview with Found 3 of 3 listing 2 × 3 × 4, 2 × 2 × 6 and 1 × 4 × 6, and ✓ You found all 3.
All three boxes of 24.

The activity ends with a score of 2 out of 2: one point for the volume, one for finding every box.

The Closing Scene in Preview with confetti, You finished the activity! and Your score: 2/2 on the peach gradient
Two points: the volume, and every box of 24.

On each student's attempt page you'll see a line like "Volume: first 12 (cubes in one layer), then 36 ✓" for the first scene, and "Found 3 of 3: 2 × 3 × 4, 2 × 2 × 6, 1 × 4 × 6 ✓" for the second.

What you built

You built a two-scene Grade 5 volume activity with:

  • a Cube Prism in Show: all cubes mode, a 4 × 3 × 3 box with its bottom layer highlighted in gold,
  • Peel the layers, so students can lift the layers apart and see "3 layers of 12",
  • Ask: The volume, answered on the widget's own number keys, with the answer worked out from the figure and the usual mistakes named on the attempt page,
  • a second scene in Build mode where students find every box that holds 24 cubes, and a box turned on its side doesn't count twice,
  • an Advance delay on both scenes so students see they got it right before the activity moves on.

To make the next activity harder, switch the first box to Show: partly filled, so students see only the floor and one column and have to imagine the rest, or Show: no cubes, a plain box with labelled sides. For flat towers in the younger grades, follow Build and compare towers of connecting cubes.

Take it with you

Make this activity yours

Add the activity you just watched being built to your account, then change it for your class: your questions, your pictures, your colors.

Was this tutorial helpful?

Next tutorial