Logarithm Calculator
Logarithm is evaluated from Number and Base. The calculation reports log₁₀, ln - natural log and log₂ - binary.
Results
About the Logarithm Calculator
The calculator uses a multi formula configuration. Each reported value is read as a direct evaluation of the stored rules with the declared field formats and units.
Formula basis:
log₁₀(x) = ln(x)/ln(10)
ln(x) = log(x) [natural]
log_b(x) = ln(x)/ln(b) [change of base]
Interpret the outputs in the order shown by the result fields. Optional inputs affect only the outputs that depend on those variables.
Formula & How It Works
The calculation applies the following relations exactly as recorded in the metadata: log₁₀(x) = ln(x)/ln(10) ln(x) = log(x) [natural] log_b(x) = ln(x)/ln(b) [change of base] Each output field is produced by substituting the supplied inputs into the relevant relation and then applying the declared rounding or text format.
Worked Examples
Example 1: pH of a Solution — log₁₀
Inputs
With Number = 0.0001 as the stated inputs, the result is log₁₀ = -4, ln - natural log = -9.21034037 and log₂ - binary = -13.28771238. Each value corresponds to the declared output fields.
Example 2: Decibel Level — Sound Intensity
Inputs
With Number = 1,000,000 as the stated inputs, the result is log₁₀ = 6, ln - natural log = 13.81551056 and log₂ - binary = 19.93156857. Each value corresponds to the declared output fields.
Example 3: Binary Bits — log₂ for Data Storage
Inputs
With Number = 256 and Base = 2 as the stated inputs, the result is log₁₀ = 2.40823997, ln - natural log = 5.54517744 and log₂ - binary = 8. Each value corresponds to the declared output fields.
Example 4: Half-Life — Natural Log
Inputs
With Number = 0.5 as the stated inputs, the result is log₁₀ = -0.30103, ln - natural log = -0.69314718 and log₂ - binary = -1. Each value corresponds to the declared output fields.
Common Use Cases
- Calculate log base 10 for scientific notation
- Find natural log for exponential growth/decay
- Change base using change-of-base formula
- Solve logarithmic equations