A medical calculator to help generate equivalent doses of various oral and intravenous opioids to treat chronic pain.