I've read dozens of examples of how to calculated weighted averages on cost and percentages but none had discussed time or duration as in the example of finding the average duration (in seconds) it takes some process to execute.

For example if I execute a process 10 times and in that 10 times it completes in 300 seconds the first time, then completes in 1 second on the 2nd and 3rd execution and the final 7 executions each complete in 10 seconds then the numerical average duration for these values is 37.2 seconds. Since all but 1 of the 10 executions completed in 10 seconds or less I know that the weighted average would give me more accurate value of how long on average the process will take to complete. But how do I calculate the weighted average of this process?

#Executions Duration (secs) Total Secs Numerical Avg 1 300 300 37.2 2 1 2 7 10 70 10 372

## Bookmarks