How to calculate SNR signal-to-noise ratio?

How to calculate SNR signal-to-noise ratio?