# How to convert RXPower value to dBm

**URL:** <https://forum.genieacs.com/t/how-to-convert-rxpower-value-to-dbm/5417>\
**Category:** Uncategorized\
**Created:** [May 12, 2024, 5:08am UTC](https://forum.genieacs.com/t/how-to-convert-rxpower-value-to-dbm/5417 "2024-05-12T05:08:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![syfrrn](https://avatars.discourse-cdn.com/v4/letter/s/ce73a5/32.png) [@syfrrn](https://forum.genieacs.com/u/syfrrn)\
**Post date:** [May 12, 2024, 5:08am UTC](https://forum.genieacs.com/t/how-to-convert-rxpower-value-to-dbm/5417/1 "2024-05-12T05:08:20Z")

</div>

i need help,  
in this case the value of RXPower ONT zte not showing as dBm value,  
how to convert this?  
i use vparam.  
 ![image](https://canada1.discourse-cdn.com/flex035/uploads/genieacs/original/2X/d/ddfb2a3c615d0e042f7bd31d7e6a5f13f553f428.png)

---

<div class="post-metadata">

**Author:** ![arieldutto](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/arieldutto/32/1659_2.png) [@arieldutto](https://forum.genieacs.com/u/arieldutto)\
**Post date:** [May 13, 2024, 12:47am UTC](https://forum.genieacs.com/t/how-to-convert-rxpower-value-to-dbm/5417/2 "2024-05-13T00:47:43Z")

</div>

To calculate power, use the following formula:  
power = ont\_rxpower / 10000.0  
ont\_rxpower\_db = round(10 \* math.log10(power), 2)

Let’s calculate the value by following the steps from the provided Python script. If ont\_rxpower is 54, then:

First, it is divided by 10,000:  
power = 54 /10000 = 0.0054

Then, calculate the base 10 logarithm of that value and multiply by 10:  
ont\_rxpower\_db = 10 × log (0.0054)  
Let’s compute this using Python or any scientific calculator to get the exact value. Performing the calculation:

log (0.0054)≈−2.267 aprox

10×(−2.267)=−22.67

After rounding to two decimals, we get approximately:

ont\_rxpower\_db = −22.67 dB  
ont\_rxpower\_db=−22.67 dB  
Thus, the result would be -22.67 dB, which is the value in decibels for ont\_rxpower equal to 54 using the given formula and calculation process.  
log is en base 10
