Volts to dBµV online calculator & Python code

Use this online calculator to convert a voltage in Volts to a voltage in dBµV.

Also see dBµV to Volts online calculator & Python code

TechOverflow calculators:
You can enter values with SI suffixes like 12.2m (equivalent to 0.012) or 14k (14000) or 32u (0.000032).
The results are calculated while you type and shown directly below the calculator, so there is no need to press return or click on a Calculate button.
V

Formula:

$$U_{\text{dBµV}} = \frac{20\cdot\log(1\,000\,000 \cdot U_V)}{ \log(2) + \log(5)}$$

Python code:

volts_to_dbv_converter.py
import math
def volts_to_dbuv(v):
    """Convert a voltage in volts to a voltage in dBµV"""
    return (20*math.log(1e6 * v))/(math.log(2) + math.log(5))

Check out similar posts by category: Calculators, Electronics