Equation for calculating bit rate