Signal-to-noise ratio (abbreviated SNR, S/N, or S:N) is a measure in science and engineering that compares the level of a desired signal relative to the background noise. It is defined as the ratio of signal power to noise power. A ratio greater to one indicates that there is more signal than noise. Signal-to-noise ratio is commonly used to describe electrical signals and time series, but can be used to describe any measurement with a blend of useful information and unwanted noise.
where P is average power. Both signal and noise power must be measured at the same or equivalent points in a time series. The SNR can be obtained by calculating the square of the amplitude ratio:
which may equivalently be written using amplitude ratios as