Using a pulse oximeter, we have developed an algorithm that estimates intracranial pressure (ICP) based on patients who have had traumatic brain injuries. Patients with hydrocephalus are typically treated with a shunt in order to reduce ICP. At times the shunt can malfunction. We believe that our algorithm will help identify when a hydrocephalus patient's shunt has malfunctioned.