What formula is used to calculate the distance of the moon and sun?
Most commonly is Eratosthenes' experiment assuming a flat Earth and nearby Sun, rather than a round Earth and distance Sun.
And how many dozen more times does it have to be pointed out that
"Eratosthenes' experiment assuming a flat Earth and nearby Sun" does not give consistent answers.
The height of the sun, moon or Polaris over a flat earth using "Eratosthenes' method"
can give any answer from zero to about 6370 km depending on the spacing of the points.
Yet you, like all flat earthers continue to push the silly idea that these bodies can be around 5000 km above the earth.
On the other hand using "Eratosphenes' method" on the Globe fits perfectly with a distant sun and a circumference of about 40,000 km.
But, flat earthers, and you, seem totally incapable of comprehending such a simple concept.
The most trivial bit of astronomy and a bit of simple math shows that the flat earth model with celestial bodies circling above is totally impossible.
Why do you think the ancient Babylonians, Chinese and Greeks discarded such an idea thousands of years ago?
In some cases this was long before they discarded the idea of a flat earth.
Some ancient Chinese did postulate that there was an earthly plane and a celestial plane where the celestial bodies "circled".
But that idea was discarded in favour of celestial spheres because it could not explain sunrises and sunsets.
And, guess what, modern flat earthers still cannot explain sunrises and sunsets.
And you, Jane, continue to do you best to prop up a long dead horse.