What is the Square in a Circle Calculator?
This tool finds the largest square that can be drawn inside a circle (an inscribed square). For the biggest possible square, all four corners touch the circle, which means the square's diagonal is exactly the circle's diameter. From a single input — the circle's radius — the calculator returns the square's side length, diagonal, area, perimeter and how much of the circle the square fills.
How to use it
Enter the radius \(r\) of your circle in any unit (cm, inches, metres — the answers come out in the same unit). Click calculate to see the inscribed square's dimensions. Use it for design layouts, woodworking, CNC cutting, tiling, or geometry homework.
The formula explained
Because the square's diagonal equals the circle's diameter, the diagonal is \(d = 2r\). A square with side \(s\) has a diagonal of \(s\sqrt{2}\), so setting \(s\sqrt{2} = 2r\) gives the side:
$$s = r\sqrt{2}$$. The area is then \(A = s^2 = 2r^2\), and the perimeter is \(P = 4s\). The fill ratio compares the square area to the circle area (\(\pi r^2\)): \(2r^2 / (\pi r^2) = 2/\pi \approx 63.66\%\).
Worked example
Suppose \(r = 5\). The side is $$s = 5 \times \sqrt{2} \approx 7.07.$$ The diagonal is \(2 \times 5 = 10\) (the diameter). The area is \(2 \times 5^2 = 50\). The perimeter is \(4 \times 7.07 \approx 28.28\). The square covers about \(63.66\%\) of the circle's area.
Inscribed Square Results for Common Radii
The largest square that fits inside a circle has its four corners on the circle, so the square's diagonal equals the circle's diameter. Every quantity below follows from the radius alone: side \(s = r\sqrt{2}\), diagonal \(d = 2r\), area \(A = 2r^2\), and perimeter \(P = 4r\sqrt{2}\).
The table uses one consistent length unit throughout (call it cm, in, m — the geometry is unit-independent). Areas are in that unit squared. Values are rounded to 2 decimals.
| Radius \(r\) | Diameter \(2r\) | Square side \(r\sqrt{2}\) | Diagonal \(2r\) | Square area \(2r^2\) | Perimeter \(4r\sqrt{2}\) | Fill ratio |
|---|---|---|---|---|---|---|
| 1 | 2.00 | 1.41 | 2.00 | 2.00 | 5.66 | 63.66% |
| 2.5 | 5.00 | 3.54 | 5.00 | 12.50 | 14.14 | 63.66% |
| 5 | 10.00 | 7.07 | 10.00 | 50.00 | 28.28 | 63.66% |
| 10 | 20.00 | 14.14 | 20.00 | 200.00 | 56.57 | 63.66% |
| 15 | 30.00 | 21.21 | 30.00 | 450.00 | 84.85 | 63.66% |
| 25 | 50.00 | 35.36 | 50.00 | 1250.00 | 141.42 | 63.66% |
| 50 | 100.00 | 70.71 | 100.00 | 5000.00 | 282.84 | 63.66% |
Notice that the fill ratio is the same in every row — it never depends on the size of the circle:
$$\frac{A_{\text{square}}}{A_{\text{circle}}} = \frac{2r^2}{\pi r^2} = \frac{2}{\pi} \approx 0.6366 = 63.66\%$$
So the inscribed square always covers about 63.66% of the disc, leaving roughly 36.34% as the four circular segments outside the square. Doubling the radius doubles every length (side, diagonal, perimeter) and quadruples the area, but the proportions stay fixed.
FAQ
Why is the diagonal the diameter? The largest inscribed square has its four vertices on the circle, so the line between opposite corners passes through the centre — that line is a diameter.
What fraction of the circle does the square cover? Always \(2/\pi \approx 63.66\%\), regardless of radius.
Can I work backwards from the side? Yes: if you know the side \(s\), the radius is \(r = s / \sqrt{2}\) and the circle's diameter is the square's diagonal \(s\sqrt{2}\).