dBm to
m
W Conversion Calculator
if ($input != "") { $input = ereg_replace("[A-Za-z]","",str_replace(" ","",$input)); if ($conv == "d2p") { $output = round(1000 * pow(10,$input/10),2) . " uW"; $input .= " dBm"; } if ($conv == "p2d") { if ($input > 0) { $output = round(10 * log10($input/1000),2) . " dBm"; } else { $output = "Out of Range"; } $input .= " uW"; } } ?>
Input:
>dBm
>
m
W
Output:
dBm
m
W
3.0
1995.3
2.0
1584.9
1.0
1258.9
0.0
1000.0
-1.0
794.33
-2.0
630.96
-3.0
501.19
dBm
m
W
-4.0
398.11
-5.0
316.23
-6.0
251.19
-7.0
199.53
-8.0
158.49
-9.0
125.89
-10
100.00
By:
Michael Gee
, 27 Sept. 2001