As a tsunami leaves the deep water of the open ocean and travels into the shallower water near the coast, it transforms. A tsunami travels at a speed that is related to the water depth - hence, as the water depth decreases, the tsunami slows. The tsunami's energy flux, which is dependent on both its wave speed and wave height, remains nearly constant. Consequently, as the tsunami's speed diminishes as it travels into shallower water, its height grows. Because of this shoaling effect, a tsunami, imperceptible at sea, may grow to be several meters or more in height near the coast. When it finally reaches the coast, a tsunami may appear as a rapidly rising or falling tide, a series of breaking waves, or even a bore.
As a tsunami approaches shore, it begins to slow and grow in height. Just like other water waves, tsunamis begin to lose energy as they rush onshore - part of the wave energy is reflected offshore, while the shoreward-propagating wave energy is dissipated through bottom friction and turbulence. Despite these losses, tsunamis still reach the coast with tremendous amounts of energy. Tsunamis have great erosional potential, stripping beaches of sand that may have taken years to accumulate and undermining trees and other coastal vegetation. Capable of inundating, or flooding, hundreds of meters inland past the typical high-water level, the fast-moving water associated with the inundating tsunami can crush homes and other coastal structures. Tsunamis may reach a maximum vertical height onshore above sea level, often called a runup height, of 10, 20, and even 30 meters.