What is the formula that Anesthesiologists use to figure out how much Anesthesia to give a patient?

Anesthesiologists have to take into account age, weight, type of surgery, and many other factors to determine how much to use.