Blog / Log vs ln Explained: Common Logarithm and Natural Logarithm
Log vs ln Explained: Common Logarithm and Natural Logarithm
Learn the difference between log and ln, how bases work, and when each appears in math, science, and finance.
Try this calculator
Use the live Scientific Calculator below—same formulas as the full page—or open it in a dedicated tab.
Scientific Calculator
Memory
Try this calculator — Scientific Calculator to compare log and ln side by side. Add the dedicated Log Calculator, Graph Calculator, and all calculators for deeper practice.
Students often ask about log versus ln because both are called “logarithms” but they emphasize different bases. In many calculators and software packages, ln means the natural logarithm (base e), while log may mean base 10—though conventions vary by country, textbook, and device. This article clarifies the ideas without tying you to a single ambiguous notation, and it links to tools that make bases explicit: the Scientific Calculator, Log Calculator, and Graph Calculator.
What a logarithm always means
A logarithm asks: given a positive base b (not equal to 1), to what exponent must we raise b to obtain a positive number x? That exponent is log_b(x). The logarithm turns multiplication into addition, which is why it appears in scales spanning many orders of magnitude.
Natural logarithm: base e
The number e shows up in continuous growth models, calculus derivatives, and many probability settings. The natural logarithm ln(x) is log base e of x. If you see exponential growth written e^(kt), the natural log often linearizes time series for analysis.
Common logarithm: base 10
Base 10 is intuitive for humans because of our decimal system. Log base 10 tracks decades: each increase of 1 in the log corresponds to multiplying x by 10. That is why log scales appear in chemistry pH, earthquake magnitudes, and signal strength.
Why “log” is ambiguous
Some courses write log to mean natural log (especially in higher math). Others write log to mean base 10 (especially in high school science). Your instructor’s convention wins. When ambiguity matters on an exam, ask or infer from context: if the chapter is about e^x, ln is likely central; if the chapter is about orders of magnitude, base 10 may be intended.
Domain restrictions you cannot ignore
Logarithms are only defined for positive inputs in real-number calculus. If you attempt log of zero or a negative number on a calculator, you should expect an error or a switch to complex analysis—outside typical intro coursework.
Change-of-base formula
If you can compute logarithms in one base, you can compute them in any base using change-of-base. Practically, that is how many tools implement arbitrary bases internally. Our Log Calculator is designed when you want number and base spelled out as inputs.
Visual intuition
Plot log-style growth against linear growth on the Graph Calculator. Compare steepness and domain. Even a qualitative plot explains why small changes in x can mean large changes in log(x) near zero, and why logs compress large ranges.
Typical mistakes
Using the wrong base is the top issue. Another is forgetting absolute value restrictions when logs appear inside integrals or transformations. A third is mishandling sign when you exponentiate both sides of an equation—extraneous solutions can appear if you are not careful.
Pair calculators for verification
Use the Scientific Calculator for expression-style work where ln and log10 appear inside larger formulas. Use the dedicated Log Calculator when the problem is specifically “find log base b of x.” Cross-check one numerical example both ways until the mapping feels automatic.
Real contexts where each base shows up
In continuous compounding and many differential equations, e and ln appear because the derivative of e^x is e^x—a structural fact, not a stylistic choice. In chemistry, pH is a base-10 log scale of hydrogen ion activity; each integer step is a tenfold change. In information theory and some machine-learning loss functions, logarithms appear with base 2 or e depending on whether the story is about bits or about smooth optimization. You do not need every field on day one; you only need to recognize that “log” is shorthand that must be decoded from context.
Linearizing data on scratch paper
If a relationship looks exponential in a plot, taking the log of one or both axes can straighten the trend for estimation. When you do that mentally, you are choosing a base that matches the model: natural log pairs with e^(kt), base 10 pairs with powers of ten in lab measurements. The Graph Calculator helps you see curvature versus approximate linearity before you commit to an algebraic model.
Sound intensity and orders of magnitude
Decibels are logarithmic for a reason: human hearing spans enormous pressure ratios. Even if your class only mentions decibels casually, remember that log scales turn multiplicative changes into additive steps—exactly why ln and log10 coexist in science curricula. When a textbook says “ten times louder,” a log-based unit often lurks nearby.
Finance and half-life intuition
Compound interest and exponential decay models often show up beside logarithms in the same course week. If an investment doubles every fixed period, the number of periods required to grow by a factor k involves logarithms. If a drug’s concentration falls by half on a schedule, the time to reach a target level does too. Seeing those parallels makes ln feel less abstract—it is the natural language of constant relative growth rates.
Logarithm laws and calculator practice
Products become sums: log_b(xy) = log_b(x) + log_b(y). Quotients become differences, and powers become multiples. These rules are how you simplify before pressing equals. Practice one law per day with numbers you can verify mentally—powers of two, ten, and e work well. Use the Log Calculator when you want to isolate arbitrary bases, and the Scientific Calculator when logs sit inside a larger expression with trig or roots.
Spreadsheets mirror calculator conventions
Excel and Google Sheets functions split LOG, LN, and LOG base parameters differently depending on syntax. If you bounce between our Scientific Calculator and a spreadsheet, verify each platform’s convention once per semester. Transcription errors between homework tools cause more grief than hard logarithm rules once you know where each app hides its base argument.
Takeaway
Log vs ln is primarily a story about bases: e for natural modeling and calculus, 10 for decimal orders of magnitude, and other bases when the problem defines them. Read conventions locally, respect domains, and use the right tool for the question you are actually being asked.
Related Calculators
Tools referenced in this article (including programmatic landing URLs mapped to the same calculator engine).
Scientific Calculator
Free scientific calculator online with sin, cos, tan, log, ln, powers, memory, history, and keyboard shortcuts.
Log Calculator
Calculate logarithm using value and base.
Graph Calculator
Free graph calculator online: plot y = f(x), zoom and pan, multiple equations, plus a 3D z = f(x, y) surface.
Popular Calculators
Continue with practical tools after reading this guide.
Compound Interest
Estimate investment growth with compounding using principal, rate, time, and compounding frequency.
EMI Calculator
Calculate monthly EMI from principal amount, interest rate, and loan tenure.
Percentage Calculator
Find percentage from value and total for marks, growth, discounts, and comparisons.
BMI Calculator
Compute Body Mass Index from weight in kilograms and height in meters or centimeters. Educational screening metric only—not a diagnosis.
Calorie Calculator
Estimate total daily energy expenditure (maintenance calories) from age, sex, height, weight, and typical activity—using Mifflin–St Jeor BMR × standard activity multipliers.
BMR Calculator
Estimate basal metabolic rate (calories at rest) from weight, height, age, and sex using the Mifflin–St Jeor equation—common in apps and coaching tools.