Calculate log, ln, antilog, and exponentials with any base. Step-by-step solutions, change of base formula, and live curve graph.
A complete logarithm calculator that handles log base 10, natural log (ln), log base 2, and any custom base. Compute logarithms, antilogarithms (b^x), exponentials (e^x, 10^x, b^x), and apply the change-of-base formula — all with full step-by-step breakdowns. Toggle high precision (15 significant figures), see your point plotted on a live log curve, and get real-world context chips for pH, decibel, and Richter values when using base 10. Built for students, engineers, scientists, and anyone who needs precise logarithm math without firing up a graphing calculator.
A logarithm is the inverse operation of exponentiation. If b^y = x, then log_b(x) = y. The base b determines how the input is "stretched" or "compressed" — base 10 turns 1, 10, 100, 1000 into 0, 1, 2, 3, while base 2 turns powers of two into consecutive integers. This compression is what makes logarithms invaluable for working with quantities that span many orders of magnitude.
Logarithmic scales are everywhere because human perception and natural processes are often multiplicative rather than additive. The pH scale compresses hydrogen-ion concentrations spanning 14 orders of magnitude into a 0-14 range. The decibel scale handles sound intensities from a whisper to a jet engine using small two-digit numbers. In computer science, log base 2 measures the depth of binary trees and the running time of divide-and-conquer algorithms like binary search and merge sort.
When inputs span huge ranges, switch on high precision (15 significant figures) so very small or very large outputs are not silently rounded. Use the step-by-step view to verify intermediate values — especially for change-of-base problems where it is easy to swap numerator and denominator. The live curve plot is a quick sanity check: if your computed point sits well off the visible curve, you have probably entered the wrong base or sign.
A logarithm answers the question: "to what power must I raise the base to get this number?" For example, log_10(1000) = 3 because 10^3 = 1000. Logarithms are the inverse of exponentiation.
"log" without a subscript usually means log base 10 (the common logarithm), while "ln" is the natural logarithm with base e (≈ 2.71828). Both are logarithms — they just use different bases. Engineers often use log10; calculus and growth models use ln.
log_b(x) = log_k(x) / log_k(b), where k is any convenient base (typically 10 or e). This lets you compute a logarithm in any base using a calculator that only has log10 and ln keys.
Logarithms appear in pH (chemistry), decibels (sound and signal), the Richter scale (earthquakes), stellar magnitudes (astronomy), information entropy (computer science), and compound interest / exponential growth modeling.
Logarithms are only defined for positive values. A base of 1 is excluded because 1^x = 1 for every x, so the inverse is not unique. Negative bases produce complex numbers outside the real-valued definition this calculator uses.
Related: logarithm calculator, log calculator, ln calculator, natural log calculator, antilog calculator, log base calculator, log base 2 calculator, log base 10 calculator, change of base calculator, exponential calculator, e to the x calculator, 10 to the x calculator, logarithm step by step, logarithm graph, log function calculator