Mathematically, you have to remove the voltage offset to calculate RMS. Also, RMS is kind of like the Average, but it stinks mathematically. The equation get's squared, which creates a totally different equation. Then you find the area, then you take the square root. The only thing I know is...