in coding theory and related engineering problems, coding gain is the measure in the difference between the signal-to-noise ratio (snr) levels between the uncoded system and coded system required to reach the same bit error rate (ber) levels when used with the error correcting code (ecc).