Introduction

Welcome back to Measuring Space at Home! With two lessons already under our belt, we have reached the midpoint of this five-lesson course. So far, we have built up a strong toolkit: reading and converting household lengths, computing rectangular area, and estimating materials with waste allowances. All of that works perfectly when a room is a simple rectangle. But real homes are rarely that tidy. Dining areas jut off living rooms, hallways bend around corners, and alcoves carve notches into otherwise straight walls.

In this lesson, we will learn how to handle L-shaped, T-shaped, and U-shaped rooms by splitting their floors into smaller rectangles, computing each area separately, and adding the results together. No new formulas are needed — just a reliable strategy for breaking a complex shape into pieces we already know how to solve.

When One Rectangle Is Not Enough
The Split, Compute, and Sum Method
Finding Missing Dimensions
Worked Example: An L-Shaped Room
Verifying with an Alternate Split
Handling T-Shaped and U-Shaped Rooms
Common Mistakes to Avoid

Before we move on, here are a few pitfalls worth keeping in mind:

  • Overlapping rectangles. Make sure the rectangles you draw do not share any floor space. Overlapping areas get counted twice, which inflates the total.
  • Gaps between rectangles. The opposite problem — if the rectangles do not cover every part of the floor, some area goes uncounted.
  • Using the wrong dimension for a piece. After splitting, each rectangle's length and width come from the edges of that specific piece, not from the overall room outline. Double-check which numbers belong to which rectangle.
  • Skipping the dimension check. Always verify that your partial measurements add up to the labeled totals before computing areas. Catching a subtraction error at this stage is much easier than hunting for it later.
Conclusion and Next Steps
Sign up
Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal