Because the Earth's tides are ultimately due to gravitational interaction with the Moon and Sun and the Earth's rotation, tidal power is practically inexhaustible and classified as a renewable energy resource. Movement of tides causes a loss of mechanical energy in the Earth-Moon system: this is a result of pumping of water through natural restrictions around coastlines and consequent viscous dissipation at the seabed and in turbulence. This loss of energy has caused the rotation of the Earth to slow in the 4.5 billion years since its formation. During the last 620 million years the period of rotation of the earth (length of a day) has increased from 21.9 hours to 24 hours; in this period the Earth has lost 17% of its rotational energy. While tidal power will take additional energy from the system, the effect is negligible and would only be noticed over millions of years.