Water Wave Speed Calculator – Shallow √(gh) & Deep √(gλ/2π) Water Waves
Use this free Water Wave Speed Calculator to find how fast waves travel on water. In shallow water the speed depends only on the depth; in deep water it depends on the wavelength. Choose the mode that matches your situation — a harbour or swimming pool (shallow) or the open ocean (deep).
Every water wave lives between two regimes, and the depth of the water beneath it decides which one it obeys. In deep water the wave never feels the bottom: its speed is set by its own wavelength alone, v = √(gλ/2π) ≈ 1.25√λ, so long waves outrun short ones — the ocean sorts a storm's chaos into orderly swells by speed, longest first. In shallow water the wave drags on the bottom everywhere: its speed is set by the depth alone, v = √(gh), the same for every wavelength, so waves keep whatever spacing they were born with and simply slow down as the shore rises beneath them. This calculator evaluates both limits and tells you which regime your wave is in.
The regime test is the ratio h/λ. When the depth exceeds half the wavelength (h > λ/2), the bottom might as well not exist — deep-water rules. When the depth is less than a twentieth of the wavelength (h < λ/20), the shallow rule holds within a percent. Between those bounds lies the transitional zone, where the exact dispersion relation ω² = gk·tanh(kh) blends the two and neither simple formula is quite right; the depth section quantifies how big that error can be, and the calculator's honest classification ("Deep water", "Shallow water", "Transitional") is its most useful output.
These two square-root laws explain an outsized share of coastal experience: why swells arrive in period order after a distant storm, why every wave slows and steepens as it comes ashore, why a tsunami — wavelength hundreds of kilometres — treats the whole Pacific as "shallow" and crosses it at jet speed, and why the ripples in a fish tank crawl. One variable each, and the whole coastline follows.
Formula
Shallow water (depth h ≪ wavelength): v = √(g h). Deep water (h ≳ λ/2): v = √(g λ / 2π) ≈ 1.25 × √λ.
Both are limits of the exact dispersion relation ω² = gk tanh(kh), with k = 2π/λ. When kh is large, tanh → 1 and the deep formula falls out; when kh is small, tanh(kh) ≈ kh and the shallow one does. The constants are worth memorising: shallow speed is √9.81 ≈ 3.13 × √h; deep speed is √(9.81/2π) = 1.249 × √λ, and the corresponding deep-water period relation is T = λ/v = 0.8√λ seconds (λ in metres) — the surfer's rule that a 14-second swell has a wavelength near 300 m. Units: h and λ in metres, v in m/s (× 3.6 for km/h), g = 9.81 m/s² throughout.
| Symbol | Meaning | Units |
|---|---|---|
| v | phase speed of the wave | m/s |
| h | water depth beneath the wave | metres (m) |
| λ | wavelength, crest to crest | metres (m) |
| g | acceleration due to gravity | 9.81 m/s² |
| T | wave period, T = λ/v | seconds (s) |
Why the two limits behave so differently
In deep water the wave's motion dies away exponentially with depth — at a depth of half a wavelength the water barely moves — so the bottom is irrelevant and the wave's own size is the only length in the problem. Dimensional analysis then forces v ∝ √(gλ): gravity supplies the restoring force, wavelength the scale, and no other combination has the units of speed. Because longer waves are faster, deep water disperses: any lump of mixed wavelengths unravels, the longest racing ahead. It also splits phase from group: the crests travel at v, but the envelope — the energy, the thing a surfer waits for — travels at exactly half that speed, v/2. Watch a packet of swell and you can see crests being born at its rear, racing through it, and dying at its front.
In shallow water the whole water column participates, squeezed between surface and bottom. Now depth is the only length scale, v = √(gh), and wavelength drops out: the wave is non-dispersive, phase and group speeds equal, shape preserved — until the depth changes. As a wave runs into shallower water it must slow; the crests behind, still in deeper water, catch up; the wavelength compresses and the wave height grows (energy flux conservation squeezes the same energy into slower, shorter waves) until the crest outruns its base and breaks. Every breaker on every beach is the shallow-water formula announcing itself.
How to use
- Choose the mode: shallow water (speed from depth), deep water (speed from wavelength), or classify — enter both depth and wavelength and be told which regime applies and both candidate speeds.
- Enter the depth h in metres and/or the wavelength λ in metres, as the mode requires.
- Click "Calculate Speed" to see the wave speed in m/s and km/h — and, in classify mode, the regime verdict with the reason.
- If your wave falls in the transitional band (λ/20 < h < λ/2), treat the two candidate speeds as brackets: the exact tanh value lies between them, closer to whichever boundary you are near.
Worked examples
Example 1 — shallow: a wave in 4 metres of water. Depth h = 4 m:
v = √(9.81 × 4) = √39.24 = 6.26 m/s (22.55 km/h) — a jogging-speed wave, whatever its wavelength, as long as the wavelength is much greater than 4 m.
Example 2 — deep: an ocean swell. Wavelength λ = 100 m:
v = √(9.81 × 100 / 2π) = √156.13 = 12.50 m/s (44.98 km/h), period T = λ/v = 100/12.50 = 8.00 s — a typical ocean swell, and note the tidy numbers the 100 m wavelength produces.
Example 3 — the tsunami. The Pacific averages about h = 4000 m deep, and a tsunami's wavelength (100–500 km) makes h/λ tiny — the shallow formula rules the whole ocean for it: v = √(9.81 × 4000) = 198.09 m/s = 713.13 km/h. At that speed the 5,000 km from a Chilean trench to Hawaii takes 5000/713.13 ≈ 7.01 hours — the warning time tsunami centres work with, from this one square root.
Example 4 — the ripple tank. A school ripple tank runs h = 0.02 m (2 cm) deep, with wavelengths of a few centimetres: h and λ are comparable, transitional in principle, but the shallow estimate v = √(9.81 × 0.02) = 0.44 m/s is the right order and the standard classroom check — dip a ruler, time a crest across the tank, and the formula is confirmed to a few percent.
Example 5 — long swell versus short chop. Two deep-water waves: λ = 200 m gives v = 1.25 × √200 = 17.67 m/s (T = 11.32 s), while λ = 50 m gives 8.84 m/s (T = 5.66 s). After a distant storm, the 200 m swell arrives first and the chop hours later — dispersion is a sorting machine, and this calculator predicts the timetable.
Example 6 — the canal wave. A boat's wash in a canal of depth h = 2 m: v = √(9.81 × 2) = 4.43 m/s = 15.95 km/h. Canal speed limits hover near this value for a reason: a boat travelling at the shallow-water wave speed piles its bow wave up resonantly, wash and fuel burn soar, and banks erode — the formula is written into navigation law.
Water wave speed in real life
Tsunami warning. Example 3 is the operating principle of every tsunami warning centre: detect the earthquake, compute √(gh) along the bathymetry, and the arrival times at every coast follow. The deep-ocean DART buoys confirm the wave's passing; the formula does the forecasting.
Surf forecasting. Forecasters quote swell height and period; surfers convert with the deep formulas: T = 0.8√λ turns a 14 s period into λ ≈ 300 m and v ≈ 21.9 m/s offshore, and √(gh) over the local reef depth predicts how the wave slows, steepens and breaks. "Period" is the surfer's word for this page's physics.
Coastal engineering. Breakwater design, harbour resonance and beach nourishment all begin with wave speeds: how fast energy arrives at a structure, at what depth a design wave breaks, and how refraction (fast parts of a crest in deeper water swinging the wave round) focuses energy on headlands. The two formulas are the entry point of the whole discipline.
Ship and boat wash. Example 6's canal limit generalises: in shallow water a vessel near v = √(gh) generates a disproportionate wash. Harbour speed limits, no-wake zones and hull design for fast ferries in estuaries all negotiate with the shallow-water speed.
Flood and bore waves. A tidal bore — the Severn's, the Qiantang's — is a shallow-water wave: its speed up the estuary is √(gh) relative to the water, which is why bores run at a stately, predictable pace that surfers can ride and timetables can print. Dam-break flood fronts obey the same law in their first approximation.
Seiches and harbour sloshing. A closed basin of length L and depth h sloshes with period 2L/√(gh) — the lake or harbour's fundamental standing wave, built from this page's shallow speed. Knowing it predicts which wind gusts and tsunami arrivals will resonate a harbour into dangerous oscillation.
The exact relation and the transitional zone
Between the limits, the full dispersion relation ω² = gk·tanh(kh) interpolates smoothly. Take λ = 100 m in h = 10 m of water: k = 2π/100 = 0.0628, kh = 0.63, tanh(0.63) = 0.56, and the exact speed works out to 9.32 m/s — against the shallow estimate √(9.81 × 10) = 9.90 m/s (6% high) and the deep estimate 12.50 m/s (34% high). The lesson generalises: in the transitional band the shallow formula errs gently, the deep formula badly, because tanh approaches its small-argument behaviour more gracefully. When in doubt in the band, use the shallow value as an upper bound and expect the truth a few percent below it for h/λ near 0.1 — or solve the tanh relation numerically, which is what professional wave models do at every grid point.
At the opposite extreme of scale, both formulas quietly stop applying. For wavelengths shorter than about 1.7 cm, surface tension becomes a second restoring force alongside gravity, and the waves turn into capillary ripples whose speed rises as the wavelength shrinks. Between the two behaviours sits a minimum possible wave speed on water of about 0.23 m/s, at λ ≈ 1.7 cm — no water wave travels slower. It is why the finest ripples from a raindrop or a fishing line seem to dart, and why ripple-tank experiments, which work at centimetre wavelengths, sit closer to this boundary than their users usually realise: the gravity formulas of this page are excellent down to wavelengths of a few tens of centimetres, and increasingly approximate below that.
Quick reference: speeds in each regime
| Shallow: depth h | v = √(gh) | Deep: wavelength λ | v = 1.25√λ | Period T = λ/v |
|---|---|---|---|---|
| 0.5 m | 2.21 m/s | 10 m | 3.95 m/s | 2.53 s |
| 1 m | 3.13 m/s | 25 m | 6.25 m/s | 4.00 s |
| 2 m | 4.43 m/s | 50 m | 8.84 m/s | 5.66 s |
| 5 m | 7.00 m/s | 100 m | 12.50 m/s | 8.00 s |
| 10 m | 9.90 m/s | 200 m | 17.67 m/s | 11.32 s |
| 100 m | 31.32 m/s | 400 m | 24.99 m/s | 16.01 s |
| 4000 m | 198.09 m/s | — | tsunami regime | — |
Both columns are square-root laws, so quadrupling the controlling variable only doubles the speed — a wave in 16 m of water is merely twice as fast as one in 1 m. Nature's fastest water wave, the open-ocean tsunami at ~200 m/s, is still seven times slower than sound in air; water waves are majestic, not quick.
Common mistakes
- Using the deep formula near shore. A 100 m swell in 10 m of water is transitional, not deep — the deep formula overstates its speed by a third (see the depth section). Check h against λ/2 before choosing.
- Using wave height instead of depth or wavelength. Neither formula contains the wave's height (amplitude) at all, in the small-amplitude theory used here. Entering the 2 m wave height where the 10 m depth belongs is a category error that produces confident nonsense.
- Forgetting that "shallow" is relative. Shallow means h ≪ λ, not "waist-deep". The open Pacific is shallow water to a tsunami; a ripple tank can be deep water to a 5 mm ripple. Classify by the ratio, never by the feel of the place.
- Confusing phase speed with group speed in deep water. Energy and surfable sets travel at the group speed — half the phase speed in deep water (the swell of Example 2 delivers its energy at 6.25 m/s, not 12.50). In shallow water the two coincide.
- Applying √(gh) where the wavelength is short. For wind chop of λ = 1 m in a 3 m deep harbour, h > λ/2: the wave is deep-water, speed set by λ (1.25 m/s), not by h (5.42 m/s). Short waves never feel a bottom that is more than half a wavelength away.
FAQ
Why do waves slow down and bunch up as they reach a beach?
Near the shore the water becomes shallow, so the speed v = √(gh) drops as h drops. The crests behind keep arriving at the old speed, so the wavelength shortens and the wave height grows — until the wave breaks.
Why do tsunamis travel so fast in the open ocean?
A tsunami's wavelength is hundreds of kilometres, so even a 4 km deep ocean counts as "shallow" for it. Its speed is √(9.81 × 4000) ≈ 198 m/s — about 700 km/h, as fast as a jet airliner.
In deep water, do longer waves really travel faster?
Yes. Deep-water waves are dispersive: v grows with √λ. This is why a storm far away sends long, fast swell arriving first, followed by shorter, slower waves — surfers call the pattern "forerunners".
Why does a tsunami speed up over deep ocean but slow down at the coast?
It is a shallow-water wave everywhere (its wavelength dwarfs any ocean depth), so its speed is √(gh) at all times: 198 m/s over the 4000 m abyss, but only √(9.81 × 10) = 9.90 m/s in 10 m of coastal water. The tragedy of the tsunami is the sequel — the slowing rear piles into the slowing front, and the wave height grows from centimetres at sea to metres ashore.
What is Green's law for the height growth?
As a wave shoals without breaking, its height grows as h^(−1/4): from 100 m depth to 4 m depth the height multiplies by (100/4)^(1/4) = 2.24. A barely noticeable 0.5 m open-ocean tsunami becomes a 1.12 m wave before breaking and run-up amplify it further — the speed formula's quieter, deadlier sibling.
Do these formulas work for waves on other liquids or planets?
The shallow law v = √(gh) works for any liquid under any gravity — on the Moon, with g = 1.62 m/s², a wave in 4 m of water would travel at √(1.62 × 4) = 2.55 m/s. The deep law needs the same g swap. Density cancels out of both, which is why oil and water waves of the same geometry travel alike.
Why do waves always seem to arrive parallel to the beach?
Refraction: the part of a crest over shallower water slows (√(gh) again) while the part still in deep water keeps its speed, so the crest swings round like a tracked vehicle with one track braked. Given enough shallow approach, almost any offshore direction is bent into near-parallel arrival.
What is the fastest wave in this page's tables?
The tsunami's 198.09 m/s (713 km/h) — because it combines the largest depth with the shallow law. Nothing in deep water comes close: even a 400 m storm swell manages only 24.99 m/s. Depth, for a long wave, beats wavelength as a source of speed.
How do I get the wavelength from a measured period?
In deep water, invert the period relation: λ = gT²/(2π) ≈ 1.56 T². A stopwatch timing 8 s between crests implies λ ≈ 100 m — which is Example 2 run backwards, and the standard way oceanographers turn a buoy's period record into a wavelength.
When must I use the full tanh formula instead?
When h/λ lies between about 1/20 and 1/2 and you need better than ~5% accuracy — harbour design, wave-tank experiments, refraction modelling. The depth section's worked case (λ = 100 m, h = 10 m, exact 9.32 m/s against estimates of 9.90 and 12.50) shows the size of the prize for doing it properly.