Logarithm Calculator
Enterprise-grade logarithmic calculator with graphing, history, and real-world presets (Acoustics, CS, Finance). Features step-by-step change of base visualization.
- No calculations yet
About
This utility provides high-precision calculation of logarithmic and exponential functions, designed for engineers, students, and scientists. Unlike standard calculators, it contextualizes results with an interactive graph and step-by-step derivation using the Change of Base formula. It addresses the critical need for accuracy in fields like acoustics (decibels), information theory (entropy), and chemistry (pH), where logarithmic scales turn exponential magnitudes into manageable linear data.
The tool supports arbitrary bases, including standard constants like Euler's number (e) and binary (base 2). It features an integrated database of scientific presets, allowing users to quickly switch between contexts - calculating the decay of a radioactive isotope one moment and the bit-depth required for a data structure the next. Robust error handling ensures that domain violations (such as taking the log of a negative number) are explained mathematically, not just flagged as errors.
Formulas
The core relationship connects the base b, the exponent y, and the argument x. The logarithm asks: "To what power must the base be raised to yield the argument?"
When calculating non-standard bases, the Change of Base Formula is essential. It allows conversion to a base supported by standard algorithms (usually Natural Log):
Other critical properties for simplifying expressions include:
Reference Data
| Domain | Formula / Context | Base (b) | Common Value |
|---|---|---|---|
| Mathematics | ln(x) (Natural Log) | e (2.718...) | Growth/Decay |
| Mathematics | log(x) (Common Log) | 10 | Orders of Magnitude |
| Computer Science | lb(x) (Binary Log) | 2 | Bits, Tree Height |
| Acoustics | Decibels (dB) | 100.1 (1.258...) | Sound Pressure |
| Music Theory | Octaves | 2 | Frequency Doubling |
| Music Theory | Semitones | 21/12 (1.059...) | Equal Temperament |
| Chemistry | pH Level | 10 | −log[H+] |
| Info Theory | Shannon Entropy | 2 | Bits of Info |
| Seismology | Richter Scale | 10 | Earthquake Amp. |
| Astronomy | Apparent Magnitude | 1001/5 (2.512...) | Star Brightness |
| Finance | Doubling Time | e | Compound Interest |
| Photography | Exposure Stops | 2 | Light Intensity |