Lesson plan

Cubic Units

Students code 3D rectangular shapes in Minecraft, combine them using offsets, and calculate total volume in cubic units.

Cubic Units
Subject
Math
Ages
Ages 8-10
Essential question

How can we use unit cubes and code to measure, combine, and calculate the volume of three-dimensional shapes?

Overview

In this mathematics lesson, students explore volume as an attribute of solid three-dimensional figures. By visualizing how individual unit blocks fill three-dimensional space, learners connect multiplication and addition to the formula for rectangular volume.

Learning objectives

By the end of this lesson students will be able to:

  • Construct three-dimensional shapes using code commands in Minecraft
  • Calculate the volume of individual rectangular shapes in cubic units using length, width, and height
  • Combine four coded shapes using coordinate offsets to form a larger composite figure
  • Determine whether changing the structural arrangement of combined shapes alters the total volume

Blocks and items used in this lesson

Key vocabulary

Volume
The total amount of three-dimensional space an object occupies, measured in cubic units.
Cubic Unit
A standard unit of volume represented by a cube with equal length, width, and height of one unit.
Offset
A coded coordinate adjustment used to position a new shape next to or on top of an existing one.

Before class

Lesson sequence

  1. Introduction to Cubic Units

    Introduce volume as the measure of solid space inside a three-dimensional figure. Review how single Minecraft blocks represent individual unit cubes and explain how multiplying length, width, and height determines the total number of blocks.

  2. Part 1: Coding 3D Quadrilaterals

    Direct students to launch Code Connection alongside Minecraft. Have them write code to generate rectangular shapes of varying sizes, including a cube with a volume of 1,000 cubic units. Students document the dimensions and calculated volumes on their Cubic Units Worksheet.

  3. Part 2: Combining Shapes with Offsets

    Instruct students to take four of their coded rectangular shapes and join them together into one large figure by programming positional offsets. Students calculate the expected total volume by summing the smaller shapes, then verify the result against the total blocks placed in Minecraft.

  4. Class Discussion and Reflection

    Lead a group discussion on volume conservation. Ask students whether the overall volume would change if their four coded shapes were arranged into an irregular structure, such as a stepped pyramid, rather than a single rectangular solid.

Assessment: success criteria

  • Student successfully generates 3D rectangular figures using Code Connection commands.
  • Student accurately calculates and records the volume of individual shapes in cubic units on the worksheet.
  • Student correctly applies offsets in code to merge four shapes into a composite figure.
  • Student explains how combining smaller volumes relates to the total volume of the composite structure.

Differentiation

Support

Provide pre-written code snippets with specific length, width, and height values so learners can focus on counting and recording cubic units.

Stretch

Challenge students to arrange their four shapes into non-rectangular structures like pyramids and write an explanation of how total volume is affected.

Knowledge check

5 questions to check understanding after the lesson. Tap an answer to see if it is right; the score appears at the end.

  1. 1What tool do students use alongside Minecraft Education to build their 3D shapes?

  2. 2If a coded cube has a volume of 1,000 cubic units, how is this volume represented in Minecraft?

  3. 3What programming technique is used to place multiple shapes together into one large composite shape?

  4. 4How can students check the calculated total volume of their combined shape inside the game?

  5. 5What happens to the total volume if four shapes are rearranged into a pyramid instead of a single solid quadrilateral?

Resources

Frequently Asked Questions

Do I need a special custom world download to teach this lesson?

No special world download is required. Students can build and test their code in any standard flat or open Minecraft Education world.

What should students use to track their dimensions and calculations?

Students record the length, width, height, and calculated volumes of their shapes on the provided Cubic Units Worksheet during the activity.

Adapted from Cubic Units by Minecraft Education on Minecraft Education, last updated Aug 17, 2021. This classroom version, the timings and the quiz were written by 9Minecraft Education.

You May Also Like

9Minecraft Education is an independent teaching resource and is not affiliated with Mojang or Microsoft. Lesson plans here are our own classroom-ready adaptations; each one links to the original resource and credits its author. © 2026 9minecraft.net