Ever tried to fit a rectangle perfectly inside a regular hexagon?
It sounds like a puzzle you’d find in a math‑class workbook, but the truth is the shape shows up in design, tiling, and even some engineering problems. The moment you draw that rectangle, a whole set of questions pop up: What are the dimensions? How does the rectangle touch the hexagon’s sides? And why does anyone care about this odd pairing in the first place?
Below is the short version: the rectangle’s longest side runs from one flat side of the hexagon to the opposite one, while its shorter side kisses two adjacent edges. The geometry is clean, the ratios are tidy, and once you see the pattern, you start spotting it everywhere—from honeycomb‑style floor tiles to logo concepts. Let’s dig in.
What Is a Rectangle Inside a Regular Hexagon
Picture a regular hexagon—six equal sides, each interior angle 120°, all vertices lying on a perfect circle. Now draw a rectangle so that two of its longer edges sit flush against two opposite, parallel sides of the hexagon, and the shorter edges each touch a pair of sloping sides. That said, in other words, the rectangle is inscribed in the hexagon, but not the way a circle would be. It’s a “tight‑fit” rectangle: every corner of the rectangle either lies on a hexagon side or exactly at a vertex where two sides meet Worth knowing..
Not obvious, but once you see it — you'll see it everywhere.
The Geometry in Plain English
- The hexagon’s flat sides are horizontal (if you rotate it that way).
- The rectangle’s long side runs horizontally, spanning the full width of the hexagon.
- The rectangle’s short side is vertical, but because the hexagon’s sloping sides lean inwards, the rectangle’s top and bottom edges meet those sloping sides at a single point each.
That’s the picture most textbooks sketch when they say “a rectangle inside a regular hexagon.” It’s a neat little exercise in relating the hexagon’s side length s to the rectangle’s width w and height h Most people skip this — try not to..
Why It Matters / Why People Care
You might wonder why anyone would waste time on this. The answer is three‑fold.
-
Design & Architecture – Hexagonal grids are popular for floor plans, murals, and even UI layouts. Knowing the exact rectangle that fits inside helps designers create balanced compositions without endless trial‑and‑error.
-
Mathematical Insight – The problem is a gateway to understanding similar‑triangles, trigonometric ratios, and the way regular polygons relate to one another. It’s a classic “bridge” problem that shows how a simple shape can hide a surprisingly rich algebraic relationship No workaround needed..
-
Practical Engineering – When you need to cut a rectangular panel from a hexagonal sheet of material (think honey‑comb aluminum or carbon‑fiber panels), you want the maximum usable area. The inscribed rectangle gives you the biggest rectangle you can get without waste Turns out it matters..
So, next time you see a hexagonal pattern, you’ll instantly know the hidden rectangle lurking inside it.
How It Works (or How to Do It)
Let’s break the math down step by step. And assume the regular hexagon has side length s. We’ll find the rectangle’s width w and height h But it adds up..
1. Set Up the Coordinate System
Place the hexagon’s center at the origin (0,0). Rotate it so two sides are perfectly horizontal. The six vertices then sit at:
- (±s, 0) – the left and right flat sides
- (±½s, ±(√3/2)s) – the top‑right, top‑left, bottom‑right, bottom‑left points
The horizontal width of the hexagon is simply 2s. That’s the rectangle’s width w.
2. Find the Height Using Similar Triangles
Look at the right‑hand side of the figure. Draw a line from the top‑right vertex down to the horizontal axis; you get a 30‑60‑90 triangle.
- The short leg (horizontal) = ½s
- The long leg (vertical) = (√3/2)s
Now, the rectangle’s top edge meets the sloping side somewhere along that line. Because the rectangle’s top edge is horizontal, the point of contact creates a smaller, similar 30‑60‑90 triangle inside the larger one.
Let h be the rectangle’s height (distance from top edge to bottom edge). The vertical distance from the hexagon’s center to the top edge is h/2. By similarity:
[ \frac{h/2}{(√3/2)s} = \frac{½s - w/2}{½s} ]
But we already know w = 2s, so ½s - w/2 = 0. That tells us the top edge actually touches the sloping side exactly at the vertex, which isn’t what we want. The proper setup is to let the rectangle’s top edge intersect the sloping side at a point x units from the vertical axis.
Worth pausing on this one.
A cleaner way: the rectangle’s height is the vertical distance between the two sloping sides where they intersect the horizontal line at y = h/2. The equation of a sloping side (right side) is:
[ y = -\sqrt{3},(x - s) ]
Set y = h/2, solve for x:
[ h/2 = -\sqrt{3},(x - s) \Rightarrow x = s - \frac{h}{2\sqrt{3}} ]
Because the rectangle is centered, the left side hits the opposite sloping line at -x. In practice, the width between those two points must equal w = 2s, which is already satisfied. Now, the only unknown left is h. The rectangle’s top edge must stay inside the hexagon, so the highest possible h occurs when the top corners just touch the sloping sides.
[ w = 2x = 2\left(s - \frac{h}{2\sqrt{3}}\right) = 2s - \frac{h}{\sqrt{3}} ]
But we also know w = 2s, so:
[ 2s = 2s - \frac{h}{\sqrt{3}} \Rightarrow h = 0 ]
That dead‑ends because we forced the rectangle to span the full width. Practically speaking, the realistic rectangle that fits without touching the flat sides uses a slightly smaller width. Let’s call the rectangle’s width w = 2s·cos 30° = √3 s (the distance between the two sloping sides measured horizontally). This is the maximum width that still allows a non‑zero height.
Now the height follows from the vertical distance between the two sloping sides at that width:
[ h = 2\left(\frac{√3}{2}s\right) \sin 30° = s ]
Result: For a regular hexagon of side s, the largest inscribed rectangle has dimensions:
- Width w = √3 s (≈ 1.732 s)
- Height h = s
3. Verify With an Example
Take s = 10 cm Turns out it matters..
- Width = √3 × 10 ≈ 17.32 cm
- Height = 10 cm
The rectangle’s area = 173.2 cm², while the hexagon’s area = (3√3/2) s² ≈ 259.81 cm². Consider this: the rectangle occupies about 66. 7 % of the hexagon’s area—a handy rule of thumb for material cut‑offs Nothing fancy..
Common Mistakes / What Most People Get Wrong
-
Assuming the rectangle touches the flat sides – Most beginners draw the rectangle flush against the top and bottom flat sides, which forces the height to zero. The correct “tight‑fit” rectangle leans into the sloping sides, not the flats.
-
Using the hexagon’s diameter as the rectangle’s width – The distance between opposite vertices is 2s, but the rectangle’s maximum width is the distance between the two sloping sides, which is √3 s. Mixing these up inflates the width by about 15 % That's the whole idea..
-
Neglecting the 30‑60‑90 triangle ratios – The whole derivation hinges on recognizing those ratios. Skipping that step usually leads to a messy algebra that still ends up wrong Worth keeping that in mind..
-
Forgetting symmetry – Because the hexagon is regular, the rectangle is centered. If you offset it, you’ll lose the maximal area property and the simple formulas no longer apply.
Practical Tips / What Actually Works
-
Start with the side length. Measure one side of the hexagon, then multiply by √3 for the rectangle’s width and keep the same number for the height. No need for a calculator if you remember √3 ≈ 1.732 It's one of those things that adds up..
-
Sketch first. A quick pencil drawing with the hexagon’s center at (0,0) helps you see the 30‑60‑90 triangles. Visuals beat algebra when you’re in a hurry Still holds up..
-
Use a ruler and protractor. Align the ruler with a flat side, then mark the width at √3 × side length. Draw vertical lines up and down until they intersect the sloping sides—that’s your height.
-
Check the area ratio. If the rectangle’s area is roughly two‑thirds of the hexagon’s, you’re probably on the right track.
-
When cutting material, leave a tiny margin (≈ 1 mm) between the rectangle and the sloping sides. It accounts for blade width and prevents the piece from cracking Not complicated — just consistent..
FAQ
Q1: Can the rectangle be rotated inside the hexagon?
A: Yes, you can rotate it, but the dimensions will change. The maximal area rectangle is always aligned with the hexagon’s symmetry axes (horizontal/vertical). Any rotation reduces either width or height And that's really what it comes down to..
Q2: What if the hexagon isn’t regular?
A: Then the simple √3 s relationship breaks down. You’d need to calculate the distances between parallel sides individually and use those as the rectangle’s constraints.
Q3: Is there a formula for the rectangle’s area in terms of the hexagon’s perimeter?
A: The hexagon’s perimeter is 6s. Substituting s = perimeter/6 into the rectangle’s area (√3 s × s) gives Area = (√3/6) × (perimeter)² Surprisingly effective..
Q4: How does this relate to tiling patterns?
A: Many tilings use a hexagon‑based grid. Knowing the inscribed rectangle lets you place rectangular tiles or images that line up perfectly with the hexagonal layout, avoiding gaps Easy to understand, harder to ignore..
Q5: Can I fit a square inside the same hexagon?
A: The largest square has side length s, fitting snugly between two opposite sloping sides and two flat sides. Its area is s², about 38 % of the hexagon’s area—much smaller than the rectangle’s 66 %.
Finding a rectangle inside a regular hexagon isn’t just a textbook exercise; it’s a handy tool for designers, makers, and anyone who loves a good geometric puzzle. Width = √3 × side, Height = side—simple, clean, and surprisingly powerful. The key takeaway? Next time you see a honeycomb pattern, you’ll know exactly where the hidden rectangle lives. Happy drawing!