Logarithmic Base Converter
Convert values between log10, log2, and loge effortlessly
Understanding Logarithmic Base Conversion
In mathematics and signal processing, we often need to switch between different logarithmic scales. The most common conversion is between Base 10 (Decades) and Base 2 (Octaves).
The Change of Base Formula
To convert a known logarithm in base a to a new base b, we use the following relationship:
or more commonly
logb(x) = loga(x) / loga(b)
Common Conversion Constants
If you are working with filters or frequency response, these shortcuts are highly useful:
- From Base 10 to Base 2: Multiply by approx 3.3219
- From Base 2 to Base 10: Multiply by approx 0.3010
- From Natural Log (ln) to Base 10: Multiply by approx 0.4343
Real-World Application: Audio & RF
In electronics, a decade represents a ten-fold increase in frequency, while an octave represents a two-fold increase. When a filter slope is described as "20dB per decade," you can convert this to octaves using the simulator above to see it is equivalent to approximately "6.02dB per octave."