Arithmetic calculation