A partial hepatectomy may need to be done to remove a cancer or to control bleeding after trauma. Removal of too much liver may be followed by complications and death. The ratio of volumes for the remaining liver to the original volume can help to decide if a planned resection is safe or hazardous.