Square Heptagon Calculator

Square Heptagon Calculator

Emerging AI Skill PRO

Enter Calculation

Formula

A=a2−32t2A = a^{2} - \frac{3}{2} t^{2}
Usage stats

Advertisement

Results

Area A
86.5
Perimeter P34.727922
Long side b (next to the right angle)7
Short side c4
Slanted side d (along a cut)4.242641
Cut-off length t (taken from each square side at a cut corner)3
Diagonal e (right-angle corner to a corner at the far end of a short side)12.206556
Diagonal f (joins the two corners next to the right-angle corner)9.899495

Report an error on this page

What is a square heptagon?

A square heptagon is a convex heptagon made from a square of side a by cutting off three of its four corners with equal right isosceles triangles. Each cut takes the same length t from both square sides at that corner, so 0 < t < a/2. One right angle (the corner that is kept) and six angles of 135° remain. The heptagon has two long sides b = a − t next to the right angle, two short sides c = a − 2t and three slanted sides d = t√2 along the cuts. It is mirror symmetric about the square diagonal through the right-angle corner. When a fourth corner is cut too, the shape is a square with all four corners cut, an octagon.

A square heptagon formed by cutting three equal corners from a square, with square side 10 and long side 7.
The worked example starts with a square side of 10 and a long heptagon side of 7.

How to use it

Type the square side a and one of the other three sides (long side b, short side c or slanted side d); choose which one in the first box. The other sides follow, because one length t fixes all three cuts. The long side b must lie between a/2 and a, the short side c must be shorter than a and the slanted side d shorter than a/√2; at the limits the heptagon would turn into a square or a pentagon, so those values are refused. The length unit is only a label: lengths come out in that unit and areas in its square. Each length you type must be from 0.000001 to 1,000,000,000 (a box that allows 0 also accepts 0), each area from 0.000000000001 to 1,000,000,000,000,000,000 and each angle greater than 0° and less than 180°; anything else, including text, is refused with a sentence that says why, and so is a set of values that cannot form the shape.

Derivation of the formulas

Put the kept corner at the origin and the square on the axes. The cut corners leave the seven corners (0, 0), (a − t, 0), (a, t), (a, a − t), (a − t, a), (t, a) and (0, a − t). The three triangles cut off each have legs t, so each removes t²/2 from the square:

$$ A = a^{2} - \frac{3}{2} t^{2}, \qquad P = 2b + 2c + 3d = 2(a - t) + 2(a - 2t) + 3\sqrt{2}\, t $$

Each side gives t back: t = a − b, t = (a − c)/2 or t = d/√2. Diagonal e runs from the right-angle corner to (a, a − t), the far end of a short side, and diagonal f joins (a − t, 0) and (0, a − t), the two corners next to the right angle:

$$ e = \sqrt{a^{2} + (a - t)^{2}}, \qquad f = \sqrt{2}\,(a - t) $$

The diagonal joining (a, t) and (t, a) has the same length as f.

Advertisement

Worked example

The page opens with square side a = 10, long side b = 7. Then area A ≈ 86.5; perimeter P ≈ 34.727922; short side c ≈ 4; slanted side d (along a cut) ≈ 4.242641; diagonal e (right-angle corner to a corner at the far end of a short side) ≈ 12.206556. Values are shown with up to six decimals; a value below 0.0000005 or of 10¹⁵ and more is shown as its plain 12-digit number instead.

Frequently asked questions

Why must t be less than half of a?

Two cuts meet on each side between two cut corners and together take 2t from it, leaving the short side c = a − 2t. At t = a/2 the short sides vanish and the shape is a pentagon, so the page asks for t below a/2.

Is the slanted side always shorter than the short side?

No. The slanted side d = 1.41421…·t is shorter than c = a − 2t only while t is less than a/(2 + √2), about 0.2929 times a. For a = 10 and t = 2 the slanted side is about 2.83 and the short side is 6. For a = 10 and t = 4 it is about 5.66 and the short side is 2.

Why does the unit not change the numbers?

The calculator does not convert between units. Every length is read in the unit you chose, so the unit only labels the results; areas come out in that unit squared.

How accurate are the results?

Results are accurate to at least 9 significant digits for ordinary inputs. When a result depends on the small difference of two nearly equal entries (closer than one part in a million), fewer digits are reliable.

References

H. S. M. Coxeter, Introduction to Geometry, 2nd edition, Wiley, 1969

D. Zwillinger (ed.), CRC Standard Mathematical Tables and Formulas, 33rd edition, CRC Press, 2018

Last updated:

Most popular in Geometry

View all Geometry calculators