ThisCalculator

Math

Square in a Circle Calculator: Side & Radius

Updated · Standard formula, shown below

Square side 1.414 m
Square area
2.000 m²
Result
Circle area
3.142 m²
Result
Circle radius
1 m
You entered

Square in a Circle Calculator: Side & Radius

This calculator finds the largest square that fits inside a circle, or the smallest circle that surrounds a square. Enter either the circle’s radius or the square’s side length, and you get the other dimension, plus the square’s area and the circle’s area. The relationship is fixed by geometry: the square’s diagonal equals the circle’s diameter.

Formula

The key fact is that a square inscribed in a circle has its four corners on the circle, so the square’s diagonal is exactly the circle’s diameter. If the circle has radius r, its diameter is 2r. For a square with side s, the diagonal is s√2. Setting them equal gives:

s√2 = 2r → s = r√2 → r = s / √2

  • r = circle radius (same unit as side)
  • s = square side length (same unit as radius)
  • Area of square = s² = 2r²
  • Area of circle = Ï€r²

All lengths share the same unit, so the formula works with meters, feet, inches, or any consistent unit.

Worked Example

Using the default values from the calculator: circle radius r = 1 m.

  1. Square side: s = 1 × √2 = 1.414 m
  2. Square area: s² = (1.414)² = 2.000 m²
  3. Circle area: π × 1² = 3.142 m²

The calculator shows side = 1.414 m, square area = 2.000 m², and circle area = 3.142 m². The square occupies about 63.7% of the circle’s area, because 2 / π ≈ 0.637.

When to Use This Calculator

This geometry appears in woodworking, metalworking, packaging, and design. Common situations:

  • Cutting the largest square piece from a round log, pipe, or cake.
  • Finding the minimum circle (e.g., a hole or a turning diameter) needed to fit a square part.
  • Laying out a square base inside a circular template or vice versa.
  • Estimating material waste when cutting squares from round stock.

If you have the circle’s diameter instead of radius, just divide it by 2 before using the calculator. If you have the square’s perimeter, divide by 4 to get the side length.

How to Read the Results

The first output, the square side, is the answer to the main question: “What square fits in this circle?� For a circle of radius 1 m, the largest square has sides of 1.414 m. The square area and circle area help you compare material usage. The ratio of square area to circle area is always 2/π ≈ 0.637, regardless of size—so the square uses about 64% of the circle’s area.

If you entered a square side, the calculator works backward: it gives the radius of the smallest circle that can contain that square. For example, a square with side 2 m needs a circle of radius 2/√2 = 1.414 m.

Common Mistakes and Misconceptions

A frequent error is using the circle’s diameter instead of its radius in the formula. Remember: the square’s diagonal equals the diameter, not the radius. If you mistakenly set s√2 = r, you get a square half the correct size.

Another mistake is mixing units—e.g., entering radius in meters and expecting side in feet. Always convert to the same unit first.

Some people think the square’s side equals the circle’s radius times 1.5 or that the square’s area is half the circle’s area. Neither is true; the exact factor is √2 for side and 2/π for area ratio.

Rounding too early can also cause errors. For a radius of 1, √2 is 1.4142…, but if you round to 1.41, the area becomes 1.988 instead of 2.000. Use full precision until the final answer.

Limitations of the Formula

The formula assumes a perfect circle and a perfect square, with the square’s corners exactly on the circle. In real life, cutting tolerances, material thickness, and tool kerf (the width of the cut) will reduce the usable size. If you need a square to fit inside a physical circle with clearance, subtract the clearance from the radius before calculating. Conversely, if you need a circle to fit inside a square hole, the circle’s diameter must be less than the square’s side.

The calculator gives the theoretical maximum square; it does not account for orientation. Rotating a square does not change its diagonal, so the largest square is always the one with its corners on the circle—any other orientation would be smaller.

Frequently Asked Questions

What is the largest square that can fit in a circle of radius 5 cm?

Side = 5 × √2 ≈ 7.071 cm. The square’s diagonal is 10 cm, which equals the circle’s diameter.

How do I find the circle radius needed for a square of side 3 inches?

Radius = 3 / √2 ≈ 2.121 inches. The circle’s diameter would be 4.243 inches, which is the square’s diagonal.

What percentage of the circle’s area does the square cover?

Always 2/π ≈ 63.66%. This is independent of size, because both areas scale with the square of the radius.

Can I use this calculator for a rectangle instead of a square?

No, the formula changes. For a rectangle with sides a and b, the diagonal is √(a² + b²), and the circle’s diameter must equal that diagonal. So the radius would be √(a² + b²)/2.

Does the square have to be centered in the circle?

Yes, for the largest square, the centers must coincide. If the square is off-center, it cannot have all four corners on the circle, so it will be smaller.

What if I only know the circle’s circumference?

Divide the circumference by 2Ï€ to get the radius, then use the calculator. For example, a circumference of 6.283 m gives radius 1 m.

Related

Formula used
in r | Circle radius | m | 1 | 0
out side | Square side | m | r * sqrt(2) | 3
out sq_area | Square area | m² | (r * sqrt(2))^2 | 3
out circ_area | Circle area | m² | pi * r^2 | 3

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.