The short answer
Before the magnetic compass was common at sea, sailors combined several methods. They stayed within sight of land, measured the height of the sun and stars to estimate their latitude, timed their speed with a simple log, and kept track of their course to estimate their position. They also read the sea and sky for clues such as swells, birds and clouds over islands.
Staying close to land
Coastal sailors steered by landmarks such as headlands, hills, church towers and harbor entrances. They kept track of the coast as they went. Ships also used a lead line, a weighted line marked in fathoms, to measure depth. The lead often had tallow in its base, so sand or mud stuck to it and gave a sample of the seabed. A crew could compare the depth and the bottom sample with what they knew of the coast to judge where they were.
Reading the sky for latitude
The sun and stars were the best help for latitude, which is a north-south position. The height of the sun at noon, or the height of Polaris in the Northern Hemisphere, showed how far north or south a ship was. Sailors measured these heights with simple instruments. The kamal, used by navigators in the Arab world and the Indian Ocean, was a small wooden plate with a knotted string, a simple tool for estimating how high a star stood above the horizon.
Longitude, the east-west position, was much harder. It needed an accurate way to know the time at a known reference point, which became practical only with accurate marine clocks in the 1700s.
Measuring speed and distance
Sailors estimated speed with a log line, a rope with knots tied at set intervals. The line was thrown over the stern while a sand glass timed a short period, and the number of knots that ran out gave the speed. Course came from the compass when one was available, or from the helmsman’s steering, and it was recorded on a slate or a traverse board. Combining course, speed and time gave an estimate of position, which is the basis of dead reckoning.
Reading the sea and the sky
Experienced sailors looked for signs of land. Birds flew out to feed and returned in the evening. Clouds often formed over islands. The color of the water changed near reefs and shallow banks. Long ocean swells could be read by their direction. The Marshall Islanders made stick charts to show the patterns of these swells. Most stick charts were memory aids taught on land, rather than maps carried on voyages.
The magnetic compass arrives
A magnetized needle that points toward a fixed direction was described in China by about the 11th century and was used for navigation in the centuries that followed. European sailors adopted the magnetic compass in the 12th and 13th centuries.
The compass gave a steady direction when the sky was overcast or the stars were hidden. It did not give a position. Sailors still needed the sun and stars for latitude, and dead reckoning to estimate how far they had come.
What this means for land navigators
The lesson is that no single method is enough. Keep a running estimate of your position, check it against landmarks, and combine a compass bearing with what the map shows. Learning how to combine map and compass uses the same logic: direction from one tool and position from another. Some of the sky methods are also useful if you need to know how to find your direction without a compass.