Square In A Circle Calculator - Inscribed Square and Circle

Use this square in a circle calculator to find the side, area, perimeter, and diagonal of the largest square inside a circle, or the radius and area of the largest circle inside a square, by radius, diameter, side, or area.

Updated: June 19, 2026 • Free Tool

Square In A Circle Calculator

Pick the shape you already have a measurement for.

Radius of the circle, used in the square-in-circle method.

Diameter of the circle. Radius is recovered as diameter divided by 2.

Area of the circle. Radius is recovered as sqrt(area divided by pi).

Side of the square, used in the circle-in-square method.

Area of the square. Side is recovered as sqrt(area).

Results

Inscribed Square Side
0units
Inscribed Square Area 0square units
Inscribed Square Perimeter 0units
Inscribed Square Diagonal 0units
Inscribed Circle Radius 0units
Inscribed Circle Diameter 0units
Inscribed Circle Area 0square units
Inscribed Circle Circumference 0units

What Is Square In A Circle Calculator?

A square in a circle calculator finds the dimensions of the largest square inside a given circle, or the largest circle inside a given square, depending on the measurement you already have. Use it for classroom geometry, layout work where a round plate or room holds a square feature, or design sketches where a square panel sits inside a round frame. Both methods run from the same inputs and return the side, area, perimeter, diagonal, radius, and circumference in one place.

  • Classroom geometry: Check inscribed square and inscribed circle homework on r times the square root of 2 and s over 2.
  • Panels in round frames: Size the largest square panel, hatch, or decal that fits inside a circular plate, lid, drum, or round window.
  • Round inserts in square rooms: Estimate the largest circular pool, rug, table, or feature that fits inside a square room or bay.
  • Cross-check both directions: Run both methods on the same numbers to verify the area relation 2 r squared matches pi s squared over 4.

An inscribed square has all four corners on the circle, so its diagonal equals the diameter. An inscribed circle touches all four sides of the square, so its diameter equals the square side.

For the full circle that the inscribed square fits inside, the Circle Calculator returns the area, circumference, radius, and diameter in one place.

How Square In A Circle Calculator Works

The calculator picks the square-in-circle or circle-in-square method, recovers a radius or side from whichever input you filled in, and applies the inscribed shape formula. The square-in-circle method returns the side, area, perimeter, and diagonal of the inscribed square. The circle-in-square method returns the radius, diameter, area, and circumference of the inscribed circle.

Square inscribed in a circle: side = r * sqrt(2), area = 2 * r^2, perimeter = 4 * r * sqrt(2), diagonal = 2 * r. Circle inscribed in a square: radius = s / 2, diameter = s, area = pi * s^2 / 4, circumference = pi * s.
  • r: radius of the circle, the distance from the center to the circle boundary
  • d: diameter of the circle, equal to 2 times the radius and also the diagonal of the inscribed square
  • A_circle: area of the circle, equal to pi times the radius squared; the radius is recovered as sqrt(A_circle / pi)
  • s: side length of the square, equal to the diameter of the inscribed circle
  • A_square: area of the square, equal to side squared; the side is recovered as sqrt(A_square)

According to Wolfram MathWorld, the area of a square is side squared, the perimeter is 4 times the side, and the diagonal is side times the square root of 2. A square inscribed in a circle of radius r therefore has side r times the square root of 2 and diagonal 2 r.

Example with circle radius 10 (square-in-circle method)

Pick Find Largest Square Inside Circle, enter circle radius = 10.

The inscribed square side is s = 10 * sqrt(2) = about 14.14 units. The area is 200 square units, perimeter about 56.57 units, and diagonal equals 20, the circle diameter.

Square side = 14.14 units. Square area = 200 square units. Square perimeter = 56.57 units. Square diagonal = 20 units.

This avoids the manual step of doubling the radius to get the diameter before computing the inscribed square.

Example with square side 10 (circle-in-square method)

Switch to Find Largest Circle Inside Square, enter square side = 10.

The inscribed circle radius is s / 2 = 5 units. Diameter equals 10 units, circle area about 78.54 square units, and circumference about 31.42 units.

Circle radius = 5 units. Circle diameter = 10 units. Circle area = 78.54 square units. Circle circumference = 31.42 units.

This gives the diameter, area, and circumference of the inscribed circle in one step without dividing the side by 2 by hand.

According to Wolfram MathWorld, the area of a square is side squared, the perimeter is 4 times the side, and the diagonal is side times the square root of 2, so a square inscribed in a circle of radius r has side r times the square root of 2.

When the design needs the diagonal of the inscribed square on its own, the Square Diagonal Calculator solves for the diagonal from the side or area without going through the circle radius.

Key Concepts Explained

These four ideas decide whether the formula matches the inscribed or circumscribed relationship you are measuring.

Inscribed Square

An inscribed square has its four corners on the circle. Its diagonal is the diameter, so the side is r times the square root of 2, the area is 2 r squared, and the perimeter is 4 r times the square root of 2.

Inscribed Circle

An inscribed circle touches all four sides of the square. Its diameter equals the square side, so the radius is s over 2, the area is pi s squared over 4, and the circumference is pi times s.

Diagonal Equals Diameter

The diagonal of the inscribed square runs through the center of the circle, so the diagonal equals the diameter, the geometric reason the inscribed square formula starts from 2 r.

Area Ratio pi to 4

For the same circle and inscribed square, the circle area is pi r squared and the square area is 2 r squared. The inscribed circle area is pi over 4 times the square area.

A square that contains a circle has the circle touching all four sides, so the circle diameter is the square side. A circle that contains a square has the square corners on the circle, so the square diagonal is the circle diameter. The two cases share formulas because they describe the same pair of shapes from opposite sides.

When the circle is on the outside and the square sits inside it, the Circumscribed Circle Calculator covers the matching circumscribed case from the square side or area.

How to Use This Calculator

Pick the method that matches the measurement you already have, fill in one matching input, and read the four result rows for that method.

  1. 1 Pick the method: Choose Find Largest Square Inside Circle for a circle input. Choose Find Largest Circle Inside Square for a square input.
  2. 2 Enter one circle measurement: In the square-in-circle method, fill in the circle radius, diameter, or area.
  3. 3 Read the inscribed square results: Use the side for the panel cut, the area for material counts, the perimeter for trim, and the diagonal to confirm it matches the circle diameter.
  4. 4 Enter one square measurement: In the circle-in-square method, fill in the square side or area.
  5. 5 Read the inscribed circle results: Use the radius for the cutout, the diameter to confirm it equals the square side, the area for material counts, and the circumference for trim along the curve.

A designer fitting a square panel into a 100 cm circular skylight: with radius 50 cm the method returns side = 70.71 cm, area = 5000 square cm, perimeter = 282.84 cm, and diagonal = 100 cm, confirming the panel reaches the rim on every corner.

When only the inscribed square diagonal is on the drawing, the Circle Diameter Calculator recovers the circle diameter from the radius or the circumference before the diagonal is used.

Benefits of Using This Calculator

A square in a circle calculator that supports both directions is easier to use than a single-formula tool that assumes you already have the side.

  • Two methods, one tool: Switch between square-in-circle and circle-in-square on one page, so the same input handles both inscribed shapes.
  • Three circle inputs: Use the radius, diameter, or area of the circle depending on which measurement you already have.
  • Two square inputs: Use the side or the area of the square for the reverse direction, covering measured sketches and area-based designs.
  • Four outputs per method: Side, area, perimeter, and diagonal for the square; radius, diameter, area, and circumference for the circle.
  • Decimal friendly: Decimals work for measured drawings, scaled designs, and metric or imperial dimensions without rescaling.

The square-in-circle method fits textbook problems on inscribed squares and layouts where a square panel sits inside a round frame. The circle-in-square method fits layouts where a round feature like a pool or rug sits inside a square room.

For area math on a square panel without the circle step, the Square Area Calculator returns the square area, side, perimeter, and diagonal from any one of those inputs.

Factors That Affect Your Results

A square in a circle calculator runs on stable geometry, but a few measurement decisions affect whether the result matches the real shape.

Inscribed versus circumscribed

The formulas assume the inscribed relationship. A circle that contains a square uses the inscribed square formula, and a square that contains a circle uses the inscribed circle formula. Mixing the two directions inverts the relationship.

Diagonal versus side

The diagonal of the inscribed square equals the circle diameter, not the radius. Using the radius as the diagonal gives a square side of r, smaller than the actual inscribed square by a factor of the square root of 2.

Square side versus circle diameter

For the inscribed circle, the square side equals the circle diameter, not the radius. Using the side as the radius gives a circle area four times too large.

Area input recovery

When the input is the area of the circle or the square, the calculator recovers the radius or side as the square root of the area over pi or as the square root of the area.

Rounding to two decimals

Displayed length and area values are rounded to two decimals. For exact checks, recompute the area from the side before comparing.

  • This calculator does not solve for the largest regular polygon with more than four sides inside a circle. A hexagon or octagon fits differently, with side = 2 r times the sine of pi over n.
  • Results are geometric estimates. Real material takeoffs may need allowances for kerf, seams, overlap, framing thickness, or clearance.
  • Rounded output can differ by a few hundredths from a hand calculation that rounds after each intermediate step. The internal computation keeps full precision before the display rounds.

According to Wolfram MathWorld, a circle inscribed in a square of side s has radius s over 2 and area pi s squared over 4. The inscribed square case is the matching r times the square root of 2 and 2 r squared.

According to Wolfram MathWorld, the inscribed circle radius is s over 2 and area is pi times s squared over 4.

According to Wolfram MathWorld, the area of a circle is pi times the radius squared and the circumference is 2 pi r.

For trim or framing along the boundary of the inscribed square, the Square Perimeter Calculator gives the perimeter directly from the side, area, or diagonal.

square in a circle calculator showing the side, area, perimeter, and diagonal of the largest inscribed square and the radius and area of the largest inscribed circle
square in a circle calculator showing the side, area, perimeter, and diagonal of the largest inscribed square and the radius and area of the largest inscribed circle

Frequently Asked Questions

Q: What is the formula for the largest square in a circle?

A: The side of the largest square inside a circle is r times the square root of 2, where r is the radius of the circle. The area is 2 r squared, the perimeter is 4 r times the square root of 2, and the diagonal equals the circle diameter, 2 r.

Q: What is the formula for the largest circle in a square?

A: The radius of the largest circle inside a square is s over 2, where s is the side length of the square. The diameter equals s, the area is pi s squared over 4, and the circumference is pi times s. The circle touches all four sides of the square.

Q: How do you find the side of a square inside a circle?

A: Multiply the circle radius by the square root of 2, or divide the circle diameter by the square root of 2. For a radius of 10 the side is 14.14 units, and for a diameter of 20 the side is the same 14.14 units.

Q: How do you find the radius of a circle inside a square?

A: Divide the square side by 2. For a square side of 10 the inscribed circle has radius 5, diameter 10, area about 78.54, and circumference about 31.42 units.

Q: Why is the diagonal of the inscribed square equal to the diameter of the circle?

A: The four corners of the inscribed square all sit on the circle, and the diagonal of the square runs through the center from one corner to the opposite corner. The distance across the circle through the center is the diameter, so the diagonal and the diameter are the same length.

Q: What is the area of the largest square that fits in a circle of radius 10?

A: The side is 10 times the square root of 2, which is about 14.14 units, and the area is side squared, which is 200 square units. The diagonal is 20, the same as the circle diameter.