mental arithmetic

This is the term for calculating numbers in your head, without writing numbers down or using a calculator.