MethodMath
Alex Kim
May 11, 2026

What is the area of a square inscribed in a semicircle problem going viral on social media

This problem is all over Twitter and Instagram right now:

A square is inscribed in a semicircle of radius RR. Find the area of the square in terms of RR.

The semicircle sits on top of the square. Two corners of the square touch the diameter (base) and the other two corners touch the circular arc.

I tried setting up coordinates: Put the semicircle centered at (0,0)(0,0) with radius RR. The equation is y=R2x2y = \sqrt{R^2 - x^2}.

If the square has side length ss, the top-right corner is at (s2,s)(\frac{s}{2}, s).

Plugging into the circle equation:

(s2)2+s2=R2(\frac{s}{2})^2 + s^2 = R^2
s24+s2=R2\frac{s^2}{4} + s^2 = R^2
5s24=R2\frac{5s^2}{4} = R^2
s2=45R2s^2 = \frac{4}{5}R^2

So the area is 45R2\frac{4}{5}R^2.

But a friend says the answer is 45R2\frac{4}{5}R^2 ONLY if the square is oriented with its base on the diameter. What if the square is rotated? Is there a general formula?

1 answers2.8k views

Login to comment

1 Answer

Alex Kim
Alex KimMay 11, 2026 Accepted
$s^2 = \frac{4}{5}R^2$ is correct for the standard orientation. For a **rotated square** inscribed in a semicircle, the problem changes significantly. A square of side length $s$ rotated by angle $\theta$ inscribed in a semicircle of radius $R$ would require solving: Two corners on the diameter: $(x_1, 0)$ and $(x_2, 0)$ with $|x_1 - x_2| = s\cos\theta$ Top corner on the arc: $(\frac{x_1+x_2}{2}, s\sin\theta)$ satisfying $x^2 + y^2 = R^2$ This is much more complex and the area would depend on $\theta$, with maximum at $\theta = 0$. **A more interesting variant:** A square inscribed in a QUARTER-circle (both sides touching the axes). Put the square in the corner with sides on the axes and the opposite corner on the quarter-circle arc. Then the diagonal of the square equals the radius, so $s\sqrt{2} = R$, giving area $s^2 = R^2/2$. This is a common Olympiad problem.

Login to comment

Login or Register to post an answer