COM calculator