Automated rate calculation