Log Tool
Explore logarithms for any valid positive base, calculate inverse exponential values, solve for an unknown base or argument, and apply the change-of-base identity. Examine corresponding natural and common logarithms, reference tables and interactive curves.
| Argument (x) | log₍b₎(x) | b^log₍b₎(x) |
|---|
Table of Contents
Highlights
- Five calculation modes: logarithm, antilogarithm, unknown base, unknown argument and change of base.
- Quick base presets for e, 2 and 10, plus custom positive bases.
- Interactive logarithm curve with hover values and selectable x-range.
- Equivalent exponential form, related logarithms and a reference-value table.
- Adjustable decimal precision and CSV, JSON and PNG export options.
How Log Tool Works?
A logarithm answers which exponent produces a positive number from a given base. For a base b and argument x, the logarithm y is equivalent to an exponential equation:
The base must be greater than zero and different from one; the argument must be positive. The logarithm can be evaluated through natural logarithms using the change-of-base identity:
Inverse modes use x = by to find the argument, or b = x1/y to find the base where a unique valid base exists. Decimal display precision is adjustable from 0 to 12 places.
| Calculation | Example | Result |
|---|---|---|
| Logarithm | log10(1000) | 3 |
| Antilogarithm / argument | 103 | 1000 |
| Unknown base | logb(1000) = 3 | b = 10 |
| Change of base | log10(1000) = log2(1000) / log2(10) | 3 |
Results include the equivalent exponential expression, natural and common logarithms or change-of-base components, a table of nearby arguments, and a graph of y = logb(x) with pointer inspection and an adjustable horizontal range.
Practical Use Cases
Students: Check logarithmic equations and learn how bases, exponents and arguments relate, using worked numeric results and the plotted curve.
Teachers: Compare base 2, base 10 and base e while illustrating why logarithms increase for bases above one and decrease for bases between zero and one.
Software developers: Examine base-2 logarithms when reasoning about binary trees, search depths and algorithmic growth.
Data analysts: Evaluate natural logarithms and inspect how a logarithmic transform changes values across a chosen positive range.
Scientists: Apply inverse powers and logarithmic relationships when analysing exponential growth, decay or orders of magnitude.
Accuracy and Limitations
Calculations use JavaScript double-precision floating-point maths, so very large or small magnitudes and bases extremely close to 1 can lose accuracy. Inputs must be finite; logarithm arguments must exceed 0, and bases must exceed 0 without equalling 1. Unknown-base calculations reject zero exponents and non-unique cases; exponential overflow or underflow is also rejected. Display rounding is selectable from 0 to 12 decimal places, while the graph uses a finite positive x-range and sampled canvas points rather than an exact symbolic curve.