<p>If I interpret your question correctly, you want to calculate the area of the moon disk as seen from Earth which is shaded, correct? You might then be looking for a way to calculate the position of the moon's <a href="https://en.wikipedia.org/wiki/Terminator_%28solar%29" rel="nofollow noreferrer">terminator line</a>. For this, you might have to dive into celestrial mechanics, more specifically about the <a href="https://en.wikipedia.org/wiki/Ephemeris" rel="nofollow noreferrer">ephemerides</a> of moon and Earth. This is necessary as you  have to calculate the position of Earth and moon in an appropriate sun-centered coordinate system.</p>
<p>In a basic course on <a href="https://en.wikipedia.org/wiki/Celestial_mechanics" rel="nofollow noreferrer">celestial mechanics</a> this does not necessarily occur since the priority there is to calculate the stability of the orbit of objects.</p>
<h3>Related questions and answers</h3>
<ul>
<li><a href="https://astronomy.stackexchange.com/questions/33403/get-a-table-of-moon-phase-angle-per-day">Get a table of Moon phase angle per day</a></li>
<li><a href="https://astronomy.stackexchange.com/questions/33585/how-to-calculate-the-moon-phase-angle">How to calculate the moon phase angle?</a></li>
</ul>
<h3>References</h3>
<ul>
<li><p>Klaus Hempe, Jürgen Molt: <strong>Sterne im Computer. Berechnungsprogramme für den Hobby- Astronomen</strong> (1999). IMHO an accessible explanation of the numerics, but in German.</p>
</li>
<li><p><a href="http://www.internetsv.info/MoonCalc.html" rel="nofollow noreferrer">http://www.internetsv.info/MoonCalc.html</a> seems helpful.</p>
</li>
<li><p><a href="https://www.wolframalpha.com/input/?i=moon%20phase%20" rel="nofollow noreferrer">Wolframalpha's moon phase calculation</a> always give you the <em>illuminated percentage</em> of the moon disk.</p>
</li>
</ul>

CC BY-SA 4.0
2020-12-16T00:54:51.420Z
I've found this really useful, thank you for the help. I've also updated my question to better reflect what I'm going for, so you have a better understanding of what I'm asking.
akshat
CC BY-SA 4.0
2020-12-15T23:17:40.117Z
2020-12-15T23:34:33.403Z
2020-12-15T23:34:33.403Z
B--rian
<p>I've looked online and I've found sources such as <a href="http://faculty.ric.edu/psci103/lunar%20cycle/lunar%20cycle%20416.pdf" rel="nofollow noreferrer">this paper</a> on a lunar phase simulator as well as <a href="http://www.hep.shef.ac.uk/cartwright/astro1/MoonPhases.pdf" rel="nofollow noreferrer">this article</a> about lunar phases.</p>
<p>I'd like to be able to model the area of the lunar disk which is shaded with respect to the moon's angle or time of the lunar month and I'm not sure how to go about doing this. In essence, I would like to be able to find a function f(x) where I can feed in a value such as 0 (meaning 0 days since the start of the lunar month) and I'd be able to get an output like 0 since it's a new moon. Likewise, f(14ish) should be new moon or fig 5 on the image below and so I'd get a value close to 1.</p>
<p>I'm focused a bit more on the maths rather than real values, so I'm willing to make assumptions such as the moon and earth being perfect spheres for the sake of the model.</p>
<p><a href="https://i.sstatic.net/iH8r8.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/iH8r8.png" alt="moon phases" /></a></p>
<p>I know there's a lot of maths involved and I'm going to have to do some integration, but I'd appreciate it if someone could point me to sources to get started on this since the papers I'm finding are either children's lunar phase worksheets or not related to this topic.</p>

CC BY-SA 4.0
2020-12-15T08:26:10.080Z
Welcome to Stack Exchange! I think you need to clarify your question because the obvious answer to “the surface area of the moon which is shaded” is “50% at all times”. Because you talk about moon phases I think you *probably* mean “the proportion of *the moon’s disc* which is shaded”. That could yield some interesting answers. But people are reluctant to spend time answering a question when they have to guess what is being asked, so could you edit your question, please?
Martin Kochanski
CC BY-SA 4.0
2020-12-16T00:53:46.307Z
I've made changes to the question to better represent what I'm asking, thanks for the advice!
akshat
<the-moon><moon-phases><lunar-eclipse>
Determining the percentage area of the moon's disk shaded with respect to time
akshat
# Determining the percentage area of the moon's disk shaded with respect to time

(Asked by: username_0 on 2020-12-15)

I've looked online and I've found sources such as [this paper](http://faculty.ric.edu/psci103/lunar%20cycle/lunar%20cycle%20416.pdf) on a lunar phase simulator as well as [this article](http://www.hep.shef.ac.uk/cartwright/astro1/MoonPhases.pdf) about lunar phases.

I'd like to be able to model the area of the lunar disk which is shaded with respect to the moon's angle or time of the lunar month and I'm not sure how to go about doing this. In essence, I would like to be able to find a function f(x) where I can feed in a value such as 0 (meaning 0 days since the start of the lunar month) and I'd be able to get an output like 0 since it's a new moon. Likewise, f(14ish) should be new moon or fig 5 on the image below and so I'd get a value close to 1.

I'm focused a bit more on the maths rather than real values, so I'm willing to make assumptions such as the moon and earth being perfect spheres for the sake of the model.

[![moon phases](https://i.sstatic.net/iH8r8.png)](https://i.sstatic.net/iH8r8.png)

I know there's a lot of maths involved and I'm going to have to do some integration, but I'd appreciate it if someone could point me to sources to get started on this since the papers I'm finding are either children's lunar phase worksheets or not related to this topic.

**Tags:** the-moon, moon-phases, lunar-eclipse
> **Comments:**
> **username_1**: Welcome to Stack Exchange! I think you need to clarify your question because the obvious answer to “the surface area of the moon which is shaded” is “50% at all times”. Because you talk about moon phases I think you *probably* mean “the proportion of *the moon’s disc* which is shaded”. That could yield some interesting answers. But people are reluctant to spend time answering a question when they have to guess what is being asked, so could you edit your question, please?  
> **username_0**: I've made changes to the question to better represent what I'm asking, thanks for the advice!  

---

## 1 answers

### Answer by username_2 on 2020-12-15. Score: 1

If I interpret your question correctly, you want to calculate the area of the moon disk as seen from Earth which is shaded, correct? You might then be looking for a way to calculate the position of the moon's [terminator line](https://en.wikipedia.org/wiki/Terminator_%28solar%29). For this, you might have to dive into celestrial mechanics, more specifically about the [ephemerides](https://en.wikipedia.org/wiki/Ephemeris) of moon and Earth. This is necessary as you have to calculate the position of Earth and moon in an appropriate sun-centered coordinate system.

In a basic course on [celestial mechanics](https://en.wikipedia.org/wiki/Celestial_mechanics) this does not necessarily occur since the priority there is to calculate the stability of the orbit of objects.

### Related questions and answers

* [Get a table of Moon phase angle per day](https://astronomy.stackexchange.com/questions/33403/get-a-table-of-moon-phase-angle-per-day)
* [How to calculate the moon phase angle?](https://astronomy.stackexchange.com/questions/33585/how-to-calculate-the-moon-phase-angle)

### References

* Klaus Hempe, Jürgen Molt: **Sterne im Computer. Berechnungsprogramme für den Hobby- Astronomen** (1999). IMHO an accessible explanation of the numerics, but in German.
* <http://www.internetsv.info/MoonCalc.html> seems helpful.
* [Wolframalpha's moon phase calculation](https://www.wolframalpha.com/input/?i=moon%20phase%20) always give you the *illuminated percentage* of the moon disk.

> **Comments:**
> **username_0**: I've found this really useful, thank you for the help. I've also updated my question to better reflect what I'm going for, so you have a better understanding of what I'm asking.  

---

