RMS is calculated on a set of data points (pixels) by taking the square of each pixel, calculating the sum of those squares, and taking the square root. The result is scaled by the number of pixels. RMS gives an accurate measurement of the amount of noise present.