A tide table looks like a list of times and heights, but every number in it comes from one equation: a sum of cosine waves, each with its own speed, size and starting angle. In 1873 that sum was computed by brass. The Tide-Predicting Machine simulator rebuilds the idea in a browser, using the harmonic constants that NOAA publishes today for Port Jefferson, The Battery, Montauk and Patchogue.
The equation inside every tide table
NOAA’s own page on the tide-predicting machines writes the height of the tide as h = H₀ + Σ fH cos[at + (V₀+u) − κ]. H₀ is the mean water level above the chart datum. Each term in the sum is one constituent: H is its mean amplitude, a its speed in degrees per hour, κ its epoch (the phase lag at that place), f a factor that adjusts the amplitude to the year being predicted, and (V₀+u) the equilibrium argument at the start of the prediction.
Two of those symbols belong to the place and two belong to the sky. Amplitude and epoch are measured from a year or more of water-level records at one station. Speed, the nodal factor f and the argument V₀+u come from astronomy and are the same everywhere on Earth.
The biggest term. The principal lunar constituent, M2, has a speed of 28.984104 degrees per hour in NOAA’s station data. Divide 360 by that and the period is 12.42 hours, which matches the 12 hours and 25 minutes that IEEE Spectrum gives for the lunar semidiurnal tide, half of a 24-hour-50-minute lunar day.

From harmonic analysis to brass
According to NOAA’s history of tidal analysis, William Thomson, later Lord Kelvin, devised the harmonic reduction of tides around 1867. The British Association for the Advancement of Science set up a tidal committee that year, and Thomson’s report appeared in 1868. The same NOAA page credits Laplace with recognizing partial tides that vary as a cosine of an angle growing uniformly with time, Thomas Young with arguing for analysis of the whole tidal curve, and George Airy with groundwork for the method.
The trouble was labor. NOAA states plainly that without a predicting machine the harmonic method would take too much work to be practical. Thomson’s answer was a machine that added the cosines mechanically. The first one, NOAA says, was made in 1873 under the British Association and summed 10 of the principal constituents, tracing the result as a curve. The Science Museum Group record lists its machine as built by A. Légé & Co. of Hatton Garden, London, and dates it 1872.
IEEE Spectrum describes how it worked. Each of the 10 components had its own gearing to set the amplitude, the gears were linked so their periods kept the right ratios, and a single crank drove everything at once. A pen traced the combined curve on a moving roll of paper, with a mark each hour and a deeper notch at noon. A year of tides took about four hours of cranking.
Ferrel, Harris and the 37-constituent machine
The United States built its own. William Ferrel of the Coast and Geodetic Survey designed a machine completed in 1882, according to NOAA. It drew no curve; scales showed the times and heights of high and low water directly. IEEE Spectrum puts its constituent count at 19.
Machine No. 2, completed in 1910 and designed in the Survey’s own office, went further. NOAA says it summed two formulas at once: the height h, and its rate of change, dh/dt = −Σ afH sin[at + (V₀+u) − κ]. When that rate passes zero the water is at a high or a low, and the machine stopped itself and marked the paper. It handled 37 constituents, 32 short-period and 5 long-period. IEEE Spectrum credits Rollin A. Harris and E. G. Fischer with the design.

The calendar of who did the work is precise. NOAA lists tide tables computed from auxiliary tables and curves up to 1884, the Ferrel machine from 1885 to 1911, Machine No. 2 from 1912 to 1965, and electronic computers from 1966.
The wire that does the adding
The addition itself happens in a single wire. The American Mathematical Society feature on Kelvin’s third machine describes a wire fixed at one end, passing alternately over and under 15 movable pulleys and ending at the pen. Each pulley rides an eccentric pin on an output gear, at an adjustable radius (the amplitude H) and an adjustable starting angle (the phase). Lower pulleys are set 180 degrees out of phase with upper ones, so the pen moves exactly twice the sum of the pulley motions. Edward Roberts planned the gear ratios as rational approximations to the astronomical speeds.
Thomson credited the pulley idea to the engineer Beauchamp Tower, who suggested Wheatstone’s chain-and-pulley telegraph during a train ride to the 1872 British Association meeting; a steel wire replaced the chain to cut friction. Larger machines followed. An INCOIS page citing Dietrich describes a 1938 German machine 7.5 meters long with 62 constituents, held in a temperature-controlled room, and a Liverpool machine with 42.
What the simulator computes
The app reads a station’s constituents from the NOAA CO-OPS metadata API and lines them up as brass wheels, largest amplitude first. Each wheel turns at its constituent speed. A crank pin set out from the hub by the amplitude moves a wire, and the wire carries the total to a pen. The paper strip is the sum of the active wheels; the faint colored lines under it are the four largest wheels drawn one by one.
- Station: Port Jefferson (8514560), The Battery (8518750), Montauk (8510560), Patchogue (8514322).
- Constituents in use: from 1 (M2 alone, a pure sine) up to every constituent of 0.03 ft or more for that station, plus switches to drop any single wheel.
- Crank speed and paper window: hours of tide per second, and from 1 to 30 days of paper.
- Full screen and a shareable address that keeps the station and settings.
One limit is built in and stated in the app. The simulator uses H, κ and the speed a, but not the yearly nodal factor f or the astronomical argument V₀+u. The shape of the curve at each station is right; the clock times are not. Official predictions come from NOAA Tides and Currents.
Spring and neap. M2 runs at 28.984104 degrees per hour and the principal solar term S2 at exactly 30. The gap is 1.015896 degrees per hour, so the two waves fall into step and out again every 354.4 hours, about 14.8 days. Turn on only M2 and S2 at Port Jefferson, stretch the paper to 30 days, and the envelope swells and shrinks twice.
The elliptic month. N2, at 28.43973 degrees per hour, beats against M2 every 660 hours, about 27.6 days. With N2 added, one spring tide in the month comes out taller than the other.
Daily inequality. K1 and O1 run near 15 and 14 degrees per hour, one cycle a day. At Port Jefferson their amplitudes are 0.308 and 0.203 feet against 3.123 for M2, so the two highs of a day look almost alike. Switch M2 and S2 off and the leftover diurnal tide is small and slow.

Four Long Island stations, four different tides
The station menu makes the geography plain. NOAA’s M2 amplitude is 3.123 feet at Port Jefferson on Long Island Sound, 2.201 feet at The Battery, 0.928 feet at Montauk and 0.486 feet at Patchogue on the Great South Bay. M2 alone swings twice its amplitude, so the lunar term by itself moves the water about 6.2 feet at Port Jefferson and under a foot at Patchogue.
The Battery has larger shallow-water overtides than the others in the list: M4 is 0.079 feet there and MS4 0.049, waves at twice the semidiurnal speed that bend the curve away from a clean sine. Those terms come from friction and depth, not directly from the Moon and Sun. Comparing the two stations with the M4 switch on and off shows the difference.
x9m8 has covered tides before from a stranger direction: cosmic-ray muons that measure ocean tides from inside a tunnel. For more sums of sine waves, the harmonograph and Lissajous simulator draws two of them at right angles instead of adding them on a line.
From brass to punch cards
NOAA’s page closes the story in hardware. In 1965 the master pages of the tables were typed by hand. By 1973 predictions ran on a CDC 6600 that filled a closet-sized room with punch cards, and personal computers took over in 1987. A Hackaday history adds that Kelvin built three machines of increasing size, the last summing 24 components. The equation on NOAA’s page did not change through any of it; only the hand on the crank did.
Marcellino NY and x9m8 share an owner, and Marcellino NY carries a companion piece on the same machine from the craft side.
Sources
- NOAA Tides and Currents, Tide Predicting Machines
- NOAA Tides and Currents, History of Tidal Analysis and Prediction
- IEEE Spectrum, Lord Kelvin’s Tide-Predicting Machine
- Science Museum Group, William Thomson’s Tide Predicting Machine, 1872
- Hackaday, How analog tide predictors changed human history
- NOAA CO-OPS harmonic constituents, Port Jefferson 8514560
- NOAA CO-OPS harmonic constituents, The Battery 8518750
- NOAA CO-OPS harmonic constituents, Montauk 8510560
- NOAA CO-OPS harmonic constituents, Patchogue 8514322
- American Mathematical Society, Fourier Analysis of Ocean Tides III: A conversation in a railway carriage
- INCOIS, William Thomson’s tide predicter
