Play n Tools

Free tools & games for everyone

Free · No sign-up · No accounts

Ocean & coast lab

Ocean waves, tides and tsunamis: wavelength and speed at any depth, a tide curve from five constituents, tsunami speed and travel time.

How to use

  1. Waves: type the wave period (the seconds between crests), the water depth and the wave's height out at sea. You get the wavelength, speeds, the height in that depth and where it breaks; the chart shows the wavelength shrinking in shallower water.
  2. Tides: each tidal constituent is a steady wave of the sea level: M2 and S2 (twice a day, from the Moon and Sun), N2, K1 and O1 (once a day). Type amplitudes and phases to draw the tide and list the highs and lows. The starting values are a made-up harbour.
  3. Tsunami: type the ocean depth and distance for the travel time, and a coastal depth to see the wave slow down and grow.

Keyboard and touch

TabMove between tabs, boxes and buttons
EnterWork out the open tab
TouchEvery control works by tapping

Tips

  • Deep water means deeper than half a wavelength: there the bottom has no effect.
  • Swell with a 10-second period travels at about 15 m/s in deep water, and its energy at half that.
  • Set K1 and O1 larger than M2 and S2 to get one tide a day, as in parts of the Gulf of Mexico.
  • Never use these numbers for navigation or safety: use official tide tables and tsunami warnings.

About this tool

Waves follow linear (Airy) wave theory: ω² = g k tanh(k h), solved for the wave number k by Newton's method, with g = 9.80665 m/s². Group speed = n c with n = ½(1 + 2kh / sinh 2kh); the height change comes from keeping the energy flow constant (shoaling), and waves are taken to break at a height of 0.78 times the depth.

Tides are the sum of five constituents with their standard speeds (M2 28.9841042°, S2 30°, N2 28.4397295°, K1 15.0410686°, O1 13.9430356° an hour); the form number (K1 + O1) / (M2 + S2) names the tide type. A tsunami is a shallow-water wave: speed √(g h); Green's law gives height growth (h1 / h2)^¼. Learning only. Everything runs in your browser.

See you tomorrow!

A fresh daily puzzle every morning, and new tools added every month.

Browse every product