Thanks Dan for the explanation. However, the value is still in mW. How do I embed my calculation to show in dBm as shown below. $P is the value in mW. $M is the value in dBm that I need. $RxP = $P/10000000; $log_10 = 10*log10($RxP*1000); $M = sprintf "%.2f", $log_10; ($M is rounded up to 2 decimal places). ‘Tunde Oyeyemi