This math is used to report progress to the console, it wont end up in the log file