The largest square that fits inside a circle has a side length equal to the circle’s radius multiplied by √2 (approximately 1.414). So for a circle with a 10-inch diameter (5-inch radius), the biggest square you can fit inside it measures about 7.07 inches on each side.
The Core Formula
When a square sits perfectly inside a circle with all four corners touching the edge, the square’s diagonal equals the circle’s diameter. That’s the key relationship. Since a square’s diagonal is always its side length multiplied by √2 (from the Pythagorean theorem), you can work backward to find the side length from any circle’s measurements.
Here are the formulas you need:
- If you know the radius: side = radius × √2
- If you know the diameter: side = diameter ÷ √2 (or diameter × 0.7071)
- If you know the circumference: side = circumference ÷ (π × √2)
The quick multiplier to remember: take the diameter and multiply by 0.707. A 12-inch circle fits a square that’s about 8.49 inches per side. A 24-inch circle fits a square of roughly 16.97 inches.
Why a Square Is the Best Rectangle
You might wonder whether a longer, thinner rectangle could squeeze more area out of the same circle. It can’t. Using calculus to test every possible rectangle that fits inside a given circle, the maximum area always occurs when the width and height are equal, making it a square. As you stretch one dimension longer, the other shrinks faster than the first grows, and total area drops.
The inscribed square covers about 63.7% of the circle’s area. That means roughly a third of the circle’s area falls outside the square’s corners. For comparison, when you flip the relationship and put a circle inside a square, the circle covers about 78.5% of the square’s area.
Quick Reference Table
Here are pre-calculated values for common circle sizes:
- 6-inch diameter circle: 4.24-inch square
- 8-inch diameter circle: 5.66-inch square
- 10-inch diameter circle: 7.07-inch square
- 12-inch diameter circle: 8.49-inch square
- 16-inch diameter circle: 11.31-inch square
- 24-inch diameter circle: 16.97-inch square
- 36-inch diameter circle: 25.46-inch square
Practical Uses
This calculation comes up constantly in woodworking, metalworking, and fabrication. If you’re cutting a square beam from a round log, the log’s diameter determines the largest beam you can get. A 12-inch diameter log yields a beam roughly 8.5 inches square. Knowing this ahead of time helps you select the right stock without waste.
The same math applies to fitting square pegs into round holes (literally), sizing square cake boards for round cakes, cutting square tiles from circular blanks, or determining how large a square table fits on a round patio. In CNC machining and laser cutting, operators use this relationship to maximize material usage from round stock.
Working It in Three Dimensions
The same principle extends to fitting a cube inside a sphere. The cube’s space diagonal (corner to opposite corner, passing through the center) equals the sphere’s diameter. The math gets slightly more complex because the space diagonal of a cube with side length s is s × √3, so the formula becomes: side = diameter ÷ √3, or about 0.577 times the diameter. A cube inscribed in a sphere occupies a smaller fraction of the total volume than its 2D counterpart. The ratio of the cube’s volume to the sphere’s volume works out to 6:π, meaning the cube fills only about 36.8% of the sphere.

