In celestial navigation, lunar distance, also called a lunar, is the angular distance between the Moon and another celestial body. The lunar distances method uses this angle and a nautical almanac to calculate Greenwich time if so desired, or by extension any other time. That calculated time can be used in solving a spherical triangle. The theory was first published by Johannes Werner in 1524, before the necessary almanacs had been published. A fuller method was published in 1763 and used until about 1850 when it was superseded by the marine chronometer. A similar method uses the positions of the Galilean moons of Jupiter.
In celestial navigation, knowledge of the time at Greenwich (or another known place) and the measured positions of one or more celestial objects allows the navigator to calculate latitude and longitude.^{ [1]} Reliable marine chronometers were unavailable until the late 18th century and not affordable until the 19th century.^{ [2]}^{ [3]}^{ [4]} After the method was first published in 1763 by British Astronomer Royal Nevil Maskelyne, based on pioneering work by Tobias Mayer, for about a hundred years (until about 1850)^{ [5]} mariners lacking a chronometer used the method of lunar distances to determine Greenwich time as a key step in determining longitude. Conversely, a mariner with a chronometer could check its accuracy using a lunar determination of Greenwich time.^{ [2]} The method saw usage all the way up to the beginning of the 20th century on smaller vessels that could not afford a chronometer or had to rely on this technique for correction of the chronometer.^{ [6]}
The method relies on the relatively quick movement of the moon across the background sky, completing a circuit of 360 degrees in 27.3 days (the sidereal month), or 13.2 degrees per day. In one hour it will move approximately half a degree,^{ [1]} roughly its own angular diameter, with respect to the background stars and the Sun.
Using a sextant, the navigator precisely measures the angle between the moon and another body.^{ [1]} That could be the Sun or one of a selected group of bright stars lying close to the Moon's path, near the ecliptic. At that moment, anyone on the surface of the earth who can see the same two bodies will, after correcting for parallax, observe the same angle. The navigator then consults a prepared table of lunar distances and the times at which they will occur.^{ [1]}^{ [7]} By comparing the corrected lunar distance with the tabulated values, the navigator finds the Greenwich time for that observation. Knowing Greenwich time and local time, the navigator can work out longitude.^{ [1]}
Local time can be determined from a sextant observation of the altitude of the Sun or a star.^{ [8]}^{ [9]} Then the longitude (relative to Greenwich) is readily calculated from the difference between local time and Greenwich Time, at 15 degrees per hour of difference.
Having measured the lunar distance and the heights of the two bodies, the navigator can find Greenwich time in three steps:
Having found the (absolute) Greenwich time, the navigator either compares it with the observed local apparent time (a separate observation) to find his longitude, or compares it with the Greenwich time on a chronometer (if available) if one wants to check the chronometer.^{ [1]}
By 1810, the errors in the almanac predictions had been reduced to about one-quarter of a minute of arc. By about 1860 (after lunar distance observations had mostly faded into history), the almanac errors were finally reduced to less than the error margin of a sextant in ideal conditions (one-tenth of a minute of arc).
Later sextants (after c. 1800) could indicate angle to 0.1 arc-minutes, after the use of the vernier was popularized by its description in English in the book Navigatio Britannica published in 1750 by John Barrow, the mathematician and historian. In practice at sea, actual errors were somewhat larger. If the sky is cloudy or the Moon is new (hidden close to the glare of the Sun), lunar distance observations could not be performed.
A lunar distance changes with time at a rate of roughly half a degree, or 30 arc-minutes, in an hour.^{ [1]} The two sources of error, combined, typically amount to about one-half arc-minute in Lunar distance, equivalent to one minute in Greenwich time, which corresponds to an error of as much as one-quarter of a degree of longitude, or about 15 nautical miles (28 km) at the equator.
Captain Joshua Slocum, in making the first solo circumnavigation of the Earth in 1895–1898, somewhat anachronistically used the lunar method along with dead reckoning in his navigation. He comments in Sailing Alone Around the World on a sight taken in the South Pacific. After correcting an error he found in his log tables, the result was surprisingly accurate:^{ [17]}
I found from the result of three observations, after long wrestling with lunar tables, that her longitude agreed within five miles of that by dead-reckoning. This was wonderful; both, however, might be in error, but somehow I felt confident that both were nearly true, and that in a few hours more I should see land; and so it happened, for then I made out the island of Nukahiva, the southernmost of the Marquesas group, clear-cut and lofty. The verified longitude when abreast was somewhere between the two reckonings; this was extraordinary. All navigators will tell you that from one day to another a ship may lose or gain more than five miles in her sailing-account, and again, in the matter of lunars, even expert lunarians are considered as doing clever work when they average within eight miles of the truth...
The result of these observations naturally tickled my vanity, for I knew it was something to stand on a great ship’s deck and with two assistants take lunar observations approximately near the truth. As one of the poorest of American sailors, I was proud of the little achievement alone on the sloop, even by chance though it may have been...
The work of the lunarian, though seldom practised in these days of chronometers, is beautifully edifying, and there is nothing in the realm of navigation that lifts one’s heart up more in adoration.
In his 1777 book, "A Voyage around the World", naturalist Georg Forster described his impressions of navigation with captain James Cook on board the ship HMS Resolution in the South Pacific. Cook had two of the new chronometers on board, one made by Larcum Kendall the other by John Arnold, following the lead of the famous John Harrison clocks. On March 12, 1774, approaching Easter Island, Forster found praiseworthy the method of lunar distances as the best and most precise method to determine longitude, as compared to clocks which may fail due to mechanical problems.
Nautical Almanac 1849-1851.
Chronometers were not regularly supplied to the Royal Navy until about 1825