Mathematical Calculation of Current with ACS712 20A

Are you trying to calculate the RMS value of an AC current?