A dive computer, personal decompression computer or decompression meter is a device used by an underwater diver to measure the time and depth of a dive so that a safe ascent profile can be calculated and displayed so that the diver can avoid decompression sickness.
Dive computers address the same problem as decompression tables, but are able to perform a continuous calculation of the partial pressure of inert gases in the body based on the actual depth and time profile of the diver. As the dive computer automatically measures depth and time, it is able to warn of excessive ascent rates and missed decompression stops and the diver has less reason to carry a separate dive watch and depth gauge. Many dive computers also provide additional information to the diver including air and water temperature, data used to help prevent oxygen toxicity, a computer-readable dive log, and the pressure of the remaining breathing gas in the diving cylinder. This recorded information can be used for the diver's personal log of their activities or as important information in medical review or legal cases following diving accidents.