Source: https://www.yc.edu/v6/learning-center/docs/NSG%20Tutorials/IV_Rate.pdf