Confusion about how to calculate signal to noise ratio(SNR)?
The SNR is the ratio of the powers. Note that for zero-mean signals, the variance equals the power, so the SNR is the ratio of the variances of signal and noise, but only if both are zero-mean.