The formula is:
Agent utilization = (Total time spent on calls / Total time spent on shift) x 100
You can add more variables for more accurate results.