Calculate The Rate