Logarithm Calculator - Small Study Tools
Logarithms · Exponentials · Log Laws

Logarithm Calculator

Evaluate any logarithm instantly, log base b, natural log (ln) and common log (log₁₀). Fully usable on mobile.

All calculations run in your browser, nothing is sent to any server
Pro Version is Free for now
✓ Solve for x · Condenser · Derivative · Step-by-step · History · Law Reference
Day Night
Definition
log_b(x) = y ↔ b^y = x
📐 Calculator

Enter base, e for natural log
Must be greater than 0
⚠ Base must be > 0 and ≠ 1. Number must be > 0.
log₁₀(1000)
Exponential Form

Convert between logarithmic form logb(x) = y and exponential form by = x. Enter any two values to find the third.

⚠ Please enter valid values, base must be > 0 and ≠ 1.
Converted Form

Apply the change-of-base formula to rewrite any logarithm in terms of log₁₀ or ln. Useful when your calculator only has log₁₀ and ln buttons.

⚠ All values must be > 0, base ≠ 1.
Result

Place the unknown x in any position, in the argument, the base, or the result. The solver finds x algebraically and shows every step.

⚠ Check inputs, ensure all values are valid numbers.
x =

Enter a multi-term log expression and condense it into a single logarithm using the Product, Quotient and Power rules. Use + for product, - for quotient, and a leading coefficient for power. Example: 2*log(a)+log(b)-log(c)

Use * for coefficients, + for product, - for quotient. Base 10 assumed.
⚠ Please enter a valid log expression like 2*log(a)+log(b).
Condensed Single Logarithm

Find the derivative d/dx of a logarithmic function. Enter the function and base. Supports ln(x), log(x), log_b(x), and functions of x inside the log.

E.g. ln(x), log(x²+1), log_3(5x)
Leave blank for natural log (e)
⚠ Enter a logarithmic function to differentiate.
d/dx f(x) =
📋 Common Bases
log₁₀ (Common)used in pH, decibels, Richter scale
ln (Natural, base e)used in calculus, growth and decay
log₂ (Binary)used in computer science, information theory
📚 Logarithm Laws PRO
Product Rule
log_b(MN) = log_b(M) + log_b(N)
Log of a product equals the sum of the logs.
Quotient Rule
log_b(M/N) = log_b(M) − log_b(N)
Log of a quotient equals the difference of the logs.
Power Rule
log_b(Mⁿ) = n · log_b(M)
Exponents inside a log become coefficients outside.
Change of Base
log_b(x) = log(x) / log(b) = ln(x) / ln(b)
Rewrites any log in terms of log₁₀ or ln.
Log of 1
log_b(1) = 0
Any base to the power 0 equals 1, for any base b greater than 0 and not equal to 1.
Log of Base
log_b(b) = 1
The log of the base itself always equals 1, since b¹ = b.
Inverse Property
b^(log_b(x)) = x and log_b(bˣ) = x
Logarithms and exponentials are inverse operations.
Natural Log Derivative
d/dx ln(x) = 1/x
For other bases, divide by the natural log of the base.
📋 Calculation History PRO
Complete a calculation to see history here.
📖 Quick Reference
1Argument must be positive log of zero or a negative number is undefined.
2Base cannot be 1 or 0, and must always be greater than 0.
3No base means base 10 in most textbooks, unless written as ln for natural log.
💡 Logarithm Tips PRO

How to Use the Logarithm Calculator

From choosing a base to a full answer in seconds. Fully usable on mobile.

1
Pick a Type
Choose Evaluate, Log to Exponential, or Change of Base.
2
Set the Base
Tap a preset (log₁₀, ln, log₂) or type any custom base.
3
Enter Your Number
Type the value and tap Calculate to see the result instantly.
4
Read or Go Pro
See the exponential form and chips, or unlock solve for x, condensing and derivatives in Pro.

Every calculation runs inside your own browser. No account, no tracking, nothing ever uploaded.

Specifications
Price Free
Data Handling Never leaves your browser
Bases Supported log₁₀ · ln · log₂ · Custom
Pro Features Solve for x · Condenser · Derivative
Platform Optimized for Web & Mobile
Found a bug or something not working right? Let us know and we'll fix it. Every report helps make this tool better.
Report an Issue

Logarithm Calculator, Free and Online

A logarithm calculator finds the power a base must be raised to in order to produce a given number, and shows the answer in both logarithmic and exponential form. This one supports any base, converts between logarithmic and exponential notation, applies the change of base formula, and runs entirely inside your browser.

Most logarithm problems only need one of a handful of operations, but finding the right one quickly matters. This free logarithm calculator tool covers them all in one place. Evaluate any logarithm with a common preset, log base 10, ln, or log base 2, or type in your own custom base. Convert freely between logarithmic form and exponential form, or apply the change of base formula when your own calculator only has log and ln buttons. Pro Mode adds a solve for x tool that places the unknown in the argument, the base or the result, an expression condenser that combines multi term log expressions using the product, quotient and power rules, and a derivative calculator that differentiates any logarithmic function step by step.

The Definition of a Logarithm
log_b(x) = y ↔ b^y = x

A logarithm and an exponential are two ways of writing the same relationship. Reading log base b of x equals y is the same as saying b raised to the power y equals x, and this calculator moves freely between both forms.

1Simple vs Pro, What Each Mode Includes

FeatureSimple ModePro Mode (Free)
Evaluate log base b of x, any baseIncludedIncluded
Log to exponential conversion, both directionsIncludedIncluded
Change of base formulaIncludedIncluded
Solve for x (in the argument, base or result)Not includedIncluded
Expression condenser (product, quotient, power rules)Not includedIncluded
Derivative calculator, full step by stepNot includedIncluded
Step by step working, calculation history, law referenceNot includedIncluded

2Common Bases, Quick Reference

log₁₀ (Common Log)
pH scale, decibels, Richter scale
ln (Natural Log, base e)
Calculus, growth and decay models
log₂ (Binary Log)
Computer science, information theory
Custom Base
Any positive base except 1

The mistake that trips up the most students is forgetting that a logarithm's argument must always be positive. A logarithm answers the question of what power the base needs in order to produce a given number, and since a positive base raised to any real power can never produce a zero or negative result, the argument can never be zero or negative either. The base has its own restriction too, it must be greater than zero and cannot equal 1, since 1 raised to any power always stays 1 and could never uniquely produce any other number. This calculator checks both conditions automatically and tells you immediately if either one is violated.

3Where the Logarithm Actually Came From

Every log button on this page traces back to a single 1614 publication. According to the Smithsonian's National Museum of American History, the Scottish landowner John Napier spent nearly twenty years developing a way to turn multiplication into simple addition, publishing his results in Mirifici Logarithmorum Canonis Descriptio in 1614. Before logarithms, an astronomer computing a planetary orbit could spend hours multiplying large numbers by hand. Napier's tables let a calculator look up two logarithms, add them, and read the product straight off the same table. The French mathematician Pierre-Simon Laplace later said that by shortening the labor involved, logarithms doubled the life of the astronomer, and Johannes Kepler used Napier's method directly in the calculations that fed into Newton's theory of gravitation.

QuestionQuick Answer
Who invented logarithms?John Napier
When were they published?1614
What problem did they solve?Turning multiplication into addition
Who praised their impact centuries later?Pierre-Simon Laplace
Privacy Note

Every calculation runs inside your own browser using JavaScript, nothing is uploaded or sent to a server, and no account or signup is required.

4Frequently Asked Questions

How do I use this logarithm calculator?
Choose a base, either a common preset like log10, ln or log2, or your own custom base, then enter the number you want the log of and press calculate. You will see the result, its exponential form, and quick chip comparisons across common bases.
What is a natural logarithm calculator different from a common logarithm calculator?
A natural logarithm calculator finds log base e of a number, written ln, where e is Euler's number, approximately 2.71828. A common logarithm calculator finds log base 10 instead, usually written simply as log. Both are supported directly through the preset base buttons on this page.
How do I find a single logarithm from a multi term expression?
Use the Condense Expression tool in Pro mode. Enter a sum or difference of log terms, such as 2 times log of a plus log of b minus log of c, and the tool applies the product, quotient and power rules automatically to combine everything into one logarithm.
How do I find the derivative of a logarithm?
Use the Derivative tool in Pro mode. Enter the function, such as ln(x) or log base 3 of 5x, and the tool applies the chain rule automatically, showing every step from the general log derivative formula down to the simplified result.
Why is the argument of a logarithm always positive?
A logarithm answers the question of what power a base must be raised to in order to produce a given number. Since a positive base raised to any real power always produces a positive result, the argument of a logarithm can never be zero or negative in the real number system.
Is my calculation history private when I use this tool?
Yes. Every calculation runs inside your own browser using JavaScript, nothing is uploaded or sent to a server, and no account or signup is required.

Grounded in the Smithsonian's own account of John Napier's invention of logarithms, not the assumption that logarithms have always existed as a calculator function. The full account is available on the National Museum of American History's website. For related tools on this site, see the Scientific Calculator and the full SmallStudyTools.com tool library.

Lilly
Here to help you find a tool
Search tools Search blogs
Try me to find a tool! 👋