Decibel-to-Ratio Conversion
The decibel is a logarithmic unit used to express the ratio of two values of a physical quantity.
Decibel gain is proportional to the logarithm of the ratio of quantities.
Formula
![Copy to Clipboard QuantityVariable["G", "LogarithmicQuantity"] == Log[QuantityVariable[Subscript["Q", "1"]/Subscript["Q", "2"], "Unitless"]]*Quantity[20/Log[10], IndependentUnit["decibels"]]](https://www.wolframcloud.com/objects/resourcesystem/marketplacestorage/resources/7ee/7eed4c37-e4f0-47ab-b6b9-15bb2f32cd94/Webpage/FormulaImage.png)
| symbol | description | physical quantity |
|---|---|---|
| G | decibel gain | "LogarithmicQuantity" |
| Q1/Q2 | ratio of quantities | "Unitless" |
Forms
Examples
Get the resource:
| In[1]:= |
| Out[1]= | ![]() |
Get the formula:
| In[2]:= |
| Out[2]= | ![]() |
Use some values:
| In[3]:= |
| Out[3]= |

