Skip to content
FiftyCalc Free calculators for all 50 states

Square in a Circle Calculator

Test cases replayed : 3 of 3 match · Methodology · No outside source listed

Enter the radius of a circle to get the biggest square that fits inside it, or the side of a square to get the circle that passes through its corners.

Result

Sample figures

Square side s = r√2—

Circle radius r —

  • Square diagonal = circle diameter 2r—
  • Square area s² = 2r² (square units)—
  • Circle area πr² (square units)—
  • Area of the circle outside the square (square units)—
  • Share of the circle covered by the square (2/π)—
  • Radius of the circle inscribed in the square, s ÷ 2—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Square in a Circle Calculator

You know the

You know the: choose Circle radius r or Square side s. Prefilled example: Circle radius r.

Value (any length unit): enter 0 or more. Prefilled example: 5.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. You know the: choose Circle radius r or Square side s.
  2. Value (any length unit): enter 0 or more.
  3. Read the result: Square side s = r√2; the panel also shows Circle radius r, Square diagonal = circle diameter 2r, Square area s² = 2r² (square units), Circle area πr² (square units), Area of the circle outside the square (square units), Share of the circle covered by the square (2/π) and Radius of the circle inscribed in the square, s ÷ 2.

How this calculator works

The largest square inside a circle has its four corners on the circle, so its diagonal is a diameter: s√2 = 2r, which gives s = r√2 and a square area of 2r².

The square covers 2r² ÷ πr² = 2/π of the circle, about 63.66%, whatever the size. The four leftover pieces add up to (π − 2)r².

The circle that fits inside the same square touches the middle of each side; its radius is s/2.

The formula

  1. R={xif m=1x2otherwise
  2. S=R×2
Symbols used in the formula
SymbolMeaningUnit
mYou know the (1: Circle radius r; 2: Square side s)
xValueany length unit
RCircle radius r
SSquare side s = r√2

Worked example

You know theCircle radius r
Value (any length unit)5
Circle radius r5
Square diagonal = circle diameter 2r10
Square area s² = 2r² (square units)50
Circle area πr² (square units)78.5398
Area of the circle outside the square (square units)28.5398
Share of the circle covered by the square (2/π)63.66%
Radius of the circle inscribed in the square, s ÷ 23.5355
  1. R=5
  2. S=5×2=7.07107

Square side s = r√2 7.0711

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

What size square fits in a circle of radius 5?

Side 5√2 ≈ 7.0711, with an area of 50 square units.

How much of the circle does the square fill?

2/π of it, about 63.66%.

What circle passes through the corners of a 10 by 10 square?

One with radius 10 ÷ √2 ≈ 7.0711, half the diagonal.

Questions answered

Related calculators