Lesson plan

Mathematics Basics

Students construct a 6x6 square and plant border trees to calculate area and perimeter manually, then automate the process using code.

Mathematics Basics
Subject
Math
Ages
Ages 8-13
Essential question

How can we use block grids and borders to discover the formulas for area and perimeter?

Overview

Determining area and perimeter can often feel abstract when taught solely through written formulas. By anchoring geometry in spatial representation, students connect concrete units to foundational mathematical principles. This lesson guides learners to explore two-dimensional space through hands-on construction, helping them see the direct relationship between interior surface and boundary length.

Learning objectives

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

  • Build a 6x6 block platform and plant a single tree per block along its outer border.
  • Calculate area by counting interior blocks and perimeter by counting border trees.
  • Derive the basic mathematical relationship or formula for the area and perimeter of a square.
  • Write code to automate the creation of a 6x6 structure and its surrounding border of trees.

Blocks and items used in this lesson

Key vocabulary

Area
The total amount of flat surface inside a shape, measured in unit blocks.
Perimeter
The total continuous distance around the outer boundary of a shape.
Grid
A pattern of intersecting horizontal and vertical lines forming equal square units.
Code
A series of programmed instructions telling a computer or in-game builder to carry out specific tasks.

Before class

Lesson sequence

Suggested timing: about 60 minutes in total.

  1. Introductory Discussion10 min

    Open the session by asking students what they already know about blocks in Minecraft and how objects can be measured. Emphasize that visual and pictorial representations help make mathematical ideas easier to understand.

  2. Manual Construction and Counting20 min

    Have students manually construct a flat 6x6 block structure and label it MyArea. Next, instruct them to plant trees along the outer edge of the structure, placing exactly one tree per block along the boundary.

    Students then count the total number of foundation blocks to determine the area, followed by counting the planted trees to determine the perimeter.

  3. Formula Discovery10 min

    Guide students to examine their counts. Ask them to analyze how the length and width of the 6x6 structure connect directly to the total block count and boundary tree count to help them determine the formula for area and perimeter.

  4. Automated Coding Challenge20 min

    Direct students to open Code Builder. Instruct them to write code that automatically constructs the 6x6 block platform and labels it with their own name.

    Students then expand their code to automatically plant trees along the boundary, one tree per block, reinforcing the pattern through programming.

Assessment: success criteria

  • The student constructs a 6x6 block platform labeled MyArea with boundary trees.
  • The student correctly equates the number of platform blocks to area and boundary trees to perimeter.
  • The student demonstrates an understanding of the formulas for the area and perimeter of a square.
  • The student creates a functioning script in Code Builder to build the structure and plant the border.

Differentiation

Support

Allow students to work with a smaller square grid, such as 3x3, to make manual block and tree counting more manageable before tackling the code.

Stretch

Challenge students to adjust their code to generate platforms with different rectangular dimensions and calculate the new area and perimeter values.

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 are the dimensions of the initial block platform students are asked to construct?

  2. 2In the hands-on building activity, what represents the perimeter of the structure?

  3. 3What label should students apply to the manual structure in Activity 1?

  4. 4How is the area of the platform determined in Activity 1?

  5. 5What label are students instructed to use when coding their structure in Activity 2?

Frequently Asked Questions

Do I need to download a specific world file to run this lesson?

No custom world download is required. The activities can be completed in any basic flat or open world template in Minecraft Education.

How does planting trees reinforce the concept of perimeter?

Placing one tree on each outer block gives students a distinct, physical marker for each boundary unit, making it straightforward to count the perimeter separately from the surface area.

Adapted from Mathematics Basics by Pranjali V Bramhe on Minecraft Education, last updated Mar 26, 2018. 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