Using hourly rates to calculate costs