Worked example
Example: Illustrative x = 250, base 5, exponent 3.2. The inputs, in the units selected above:
| Input | Value |
|---|---|
| Number for the logarithms | 250.00 - |
| Base | 5.0000 - |
| Exponent for the powers | 3.2000 - |
Applying the formula below gives:
| Result | Value |
|---|---|
| Logarithm to base b | 3.4307 |
| Natural logarithm | 5.5215 |
| Common logarithm | 2.3979 |
| Binary logarithm | 7.9658 |
| Base to the power y | 172.47 |
| e to the power y | 24.533 |
Open this example in the calculator and change any input.
Formula
\(\log_b x = \frac{\ln x}{\ln b}, \quad b^y = e^{y\ln b}\)
Variables
| Symbol | Meaning | SI unit |
|---|---|---|
| \(x\) | Number for the logarithms | - |
| \(b\) | Base | - |
| \(y\) | Exponent for the powers | - |
| \(\log_b x\) | Logarithm to base b | - |
| \(\ln x\) | Natural logarithm | - |
| \(\log_{10} x\) | Common logarithm | - |
| \(\log_2 x\) | Binary logarithm | - |
| \(b^y\) | Base to the power y | - |
| \(e^y\) | e to the power y | - |
Method and standards
Logarithms.
Where it is used
- Decibels, pH, decay and growth problems.
- Checking hand calculations.
Common mistakes
- Confusing ln and log₁₀.
- Taking logs of zero or negative numbers.
Assumptions and limits
- Real numbers; double precision.
References
- Change of base for logarithms
Questions and answers
How do I find an antilogarithm?
Set the base and enter the logarithm as the exponent y: the power b^y is the antilog.
Why must the base differ from 1?
Every power of 1 is 1, so it cannot represent other numbers.
What do the defaults represent?
An illustrative x = 250 in base 5 and an exponent of 3.2.
Method and article reviewed by FireCAD engineering on 17 November 2026. Every result is checked against an independent calculation on each release: how we verify our calculators.
Sources
Zwillinger, CRC Standard Mathematical Tables and Formulae, 33rd ed. (CRC Press, 2018)