Truncated Square Calculator

Truncated Square Calculator

Emerging AI Skill PRO

Enter Calculation

Formula

A=a2−2c2A = a^2 - 2c^2
Usage stats

Advertisement

Results

Area A
92
Perimeter P35.313708
Square side a10
Corner cut c2
Cut edge e2.828427
Straight side s6
Width across two opposite cut edges11.313708
Area cut away8

Report an error on this page

What is a truncated square?

A truncated square is a square of side a with its four corners cut off by equal 45° cuts. Each cut removes a right isosceles triangle with legs c, leaving an octagon with four straight sides s = a − 2c and four cut edges e = c√2; all its angles are 135°. When s = e it is the regular octagon.

How to use it

Choose what you know: the square side together with the corner cut, the cut edge, the straight side or the area. 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 (boxes that allow 0 also accept 0), and each area from 0.000000000001 to 1,000,000,000,000,000,000; anything else, including text, is refused instead of being read as something else.

Derivation of the formulas

Four triangles of area c²/2 are removed:

$$A = a^2 - 2c^2,\qquad e = c\sqrt2,\qquad s = a - 2c,\qquad P = 4s + 4e$$

Two opposite cut edges lie on the lines x + y = c and x + y = 2a − c, so their distance is

$$w = \frac{(2a - c) - c}{\sqrt2} = \sqrt2\,(a - c)$$

From the area the cut follows as \(c = \sqrt{(a^2 - A)/2}\), which needs \(a^2/2 \le A \le a^2\). The octagon is regular when \(a - 2c = c\sqrt2\), that is \(c = a/(2 + \sqrt2)\).

Worked example

The page opens with square side a = 10, corner cut c = 2. Then area A = 92; perimeter P = 35.313708; cut edge e = 2.828427; straight side s = 6 (shown to at most six decimals; see the precision note in the FAQ).

Advertisement
A square with four equal corner cuts, showing the original side, one cut distance, and a remaining straight side.
In the worked example, a square side of 10 and corner cut of 2 leave a straight side of 6.

FAQ

What happens at c = a/2?

The straight sides shrink to 0 and the shape is a square turned 45°, with side a/√2 and half the area; the page names it. A larger cut is refused.

How do I get a regular octagon?

Choose c = a/(2 + √2) ≈ 0.292893 a; then every side is a(√2 − 1).

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 precise 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. The page shows up to six decimals; a value too small or too large for that is written out as a plain number instead.

Advertisement
A cut-square diagram flows to an octagon with its area inside and perimeter outside.
For square side 10 and corner cut 2, the resulting octagon has area 92 and perimeter 35.313708.

References

Zwillinger, D. (ed.), CRC Standard Mathematical Tables and Formulae, 33rd ed., 2018

Last updated: