> dB=10*log(G), G = gain, make sure you use log base 10 > > -Angelos Just remember that you need to specify power or voltage gain. Most low frequency systems up into HF specify gain in voltage. Above that all gains are specified in power gain terms. The difference is a multiplier of 2 in dB (power is proportional to voltage squared - i.e. raised to the 2nd power). The formula is then: db=20*log(G) Peter -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads