# By analytical geometry, how to calculate the fraction of the visible area of the Sun at a point during an eclipse?

Assume a perfectly spherical Sun and Moon, and ignore atmospheric effects for simplicity. I'm an observer in the origin of my coordinate system, and I know the positions of the centers of the Sun and the Moon. I also know their radii.

At some point during an eclipse, my view of the Moon partially overlaps that of the Sun. Without the eclipse occuring, I could see 100% of the Sun in terms of solid angles. But since the view of Moon now partially blocks the Sun, I can see less. How do I calculate how much of the Sun is still visible to me at that time, as a ratio of solid angles, using the position and radii information?

This is not an observation-based question, since if I was actually observing the event, I could simply shoot a few photos and count the number of pixels and save myself the headache. This is more of a pure geometry question in that sense, to which I haven't found a simple and satisfying answer until now - meaning an (or a set of) equation(s) into which I can plug in the positions and the radii and get the result. To me it looks like that much information is just enough to get the answer, I just can't wrap my head around deriving the maths of it.

• Might be useful: mathworld.wolfram.com/Circle-CircleIntersection.html Commented Jun 4, 2023 at 22:43
• Some of the geometry you need can be found in this answer of mine: astronomy.stackexchange.com/a/47731/16685 That tells you how to project the spheres to circles. BowlOfRed's link tells you how to get the overlap area. Commented Jun 5, 2023 at 0:01
• Do you mean the projected area (2D) or the surface area (3D)? Commented Jun 5, 2023 at 10:59
• @planetmaker My question is about the ratio of solid angles, so I'm asking the projected area (2D). Commented Jun 5, 2023 at 17:28
• Ptolemy addressed the issue. You might want to read the Almagest, Book 6. Commented Jun 5, 2023 at 22:42

From BowlOfRed's Wolfrom link, the area of the asymmetric lense labeled $$A_1$$ in the O.P's post is $$A_1 = r^2\cos^{-1}\bigg(\frac{d^2+r^2-R^2}{2dr}\bigg) +R^2\cos^{-1}\bigg(\frac{d^2+R^2-r^2}{2dR}\bigg)- \frac{1}{2}\sqrt{(-d+r+R)(d+r-R)(d-r+R)(d+r+R)}$$
Here, $$d$$ is the distance between the Sun center and Moon center, $$R$$ is the apparent radius of the Sun, and $$r$$ is the apparent radius of the Moon.
$$A_2 = \pi R^2-A_1$$
• It might be worht including that $r\approx R$ , and this approximation simplifies the formulae somewhat. Commented Jun 5, 2023 at 21:04