Log Calculator

Solved logarithm

2

Equivalent exponential statement

10 ^ (2) = 100

All results
Calculator inputs
?

The three equivalent quantities satisfy log_b(x) = y and b^y = x.

?

Positive and different from 1. Enter e for the natural base, or a decimal or simple fraction.

?

Strictly positive for a real logarithm, including when the unknown is the base.

From multiplication to exponent steps

Multiplicative argument steps become additive exponent steps

Argument labels are multiplicatively spaced, so this is a log-scaled argument axis, not an ordinary linear-x plot. Each equal exponent step multiplies the argument by the same factor.

Multiplicative argument steps become additive exponent steps-3-1.501.530.00111000
log_b(argument)
-3

Base, argument and exponent

Base, argument and exponent
QuantityValue
Base b10
Argument x100
Exponent y2
Real-log domainx > 0; b > 0; b ≠ 1
Behavior near x = 0+log tends to −∞

Compare natural, common and binary logarithms of your argument

These are different exponents for the same positive argument. A logarithm has meaning only with its base specified.

Compare natural, common and binary logarithms of your argument
BaseLogarithm
10 (common)2
e (natural)4.605170185988
2 (binary)6.643856189775

Exponent and argument ladder

Rows use the solved base. Extreme bases use smaller exponent steps to keep the displayed arguments finite.

Exponent and argument ladder
Exponent yb^y = x
-30.001
-20.01
-10.1
01
110
2100
31,000.000000000001

Logarithm rules with explicit domains

There is no corresponding rule log(u + v) = log(u) + log(v). The product rule is about multiplication.

Logarithm rules with explicit domains
IdentityConditions
log_b(uv) = log_b(u) + log_b(v)u, v > 0; b > 0, b ≠ 1
log_b(u/v) = log_b(u) − log_b(v)u, v > 0; same allowed base
log_b(u^r) = r log_b(u)u > 0; real r; allowed base
log_b(u) = ln(u)/ln(b)u > 0; b > 0, b ≠ 1
log_b(1) = 0b > 0 and b ≠ 1

How to use the Log Calculator

Solve a logarithm, its argument or its base. Use natural, common or binary logs, explore an exponent ladder and learn the domain rules with worked tables.

  1. 1. Enter your inputs

    Start with Calculate the missing value, Base b, Argument x. Use the units shown beside each field and open the field help when you need its assumptions.

  2. 2. Read the results

    Results update as you enter valid values. Review Solved logarithm, Equivalent exponential statement, Logarithm behavior. Keep the entered units and settings consistent when comparing scenarios.

  3. 3. Check the calculation

    Floating-point real logarithms and exponentials only. Overflow, underflow to zero and a solved base rounded to exactly 1 are rejected. Near base 1, small input differences can cause large changes in the answer.

    See the worked example and method

Understanding the Log Calculator: uses, inputs and results

The Log Calculator finds the exponent required for a chosen positive base to produce a positive value.

Which part of b^y = x is missing?

The Log Calculator solves the exponent, argument or base without changing the real-log domain. The selected mode determines which two measurements are known.

An inverse can have a domain limit

A derived base of 1 is invalid even if an algebraic manipulation appears to produce it.

One relationship can leave infinitely many bases

When x = 1 and y = 0, every allowed base works. The answer is a family, not a single guessed number.

Further reading: OpenStax: logarithmic functions

What do the Log Calculator inputs mean?

Calculate the missing value
The three equivalent quantities satisfy log_b(x) = y and b^y = x.
Base b
Positive and different from 1. Enter e for the natural base, or a decimal or simple fraction. This field applies when Calculate the missing value is set to Logarithm / exponent y or Argument x from base and exponent.
Argument x
Strictly positive for a real logarithm, including when the unknown is the base. This field applies when Calculate the missing value is set to Logarithm / exponent y or Base b from argument and exponent.
Exponent / logarithm y
May be negative, zero or positive. When solving the base, y = 0 identifies no unique base if x = 1. This field applies when Calculate the missing value is set to Argument x from base and exponent or Base b from argument and exponent.

When is the Log Calculator useful?

Check a logarithm

Enter the value and base to verify an algebra or exponential-growth calculation.

Compare bases

Keep the value fixed while changing the base. A valid logarithm base is positive and different from one.

Log Calculator: a practical reference

The fixed “Log ten” example on this page produces the results below. It illustrates the stated model; your live results above use your current inputs.

Calculate the missing value
Logarithm / exponent y
Base b
10
Argument x
100
Solved logarithm
2
Equivalent exponential statement
10 ^ (2) = 100
Review the example inputs and calculation

Use the result in context

Floating-point real logarithms and exponentials only. Overflow, underflow to zero and a solved base rounded to exactly 1 are rejected. Near base 1, small input differences can cause large changes in the answer.

Try the Log Calculator·Read the subject guide·Explore a related calculator

Worked example: Log Calculator

Log ten. This fixed reference example shows one complete scenario; the interactive results above use your current inputs.

View the example inputs
Calculate the missing value
Logarithm / exponent y
Base b
10
Argument x
100
Calculated results for the fixed example
Calculated quantityExample result
Solved logarithm2
Equivalent exponential statement10 ^ (2) = 100
Logarithm behaviorIncreasing: larger arguments give larger logs

Log Calculator: understand the exponent, argument and base before solving

What does a logarithm calculate?

A logarithm answers an exponent question. The statement log_b(x) = y means b raised to y equals x. For example, log₂(32) = 5 because 2⁵ = 32. The Log Calculator can solve the exponent, reconstruct the argument or recover the base from the other two values.

The base is the repeated multiplication factor; the argument is the positive quantity being described; the logarithm is the required exponent. Keeping those roles separate is especially useful when the unknown moves to a different position in a homework equation.

OpenStax: logarithmic functions

What is the difference between log, ln and log₂?

Common logarithms use base 10, natural logarithms use base e and binary logarithms use base 2. The same argument generally has different logarithms in each base. For argument 100, the common log is 2, the natural log is about 4.60517019 and the binary log is about 6.64385619.

Enter e in the base field for the natural base. The comparison table holds the argument fixed while changing bases. A bare number labeled “log” can be ambiguous outside a stated convention, so the calculator always keeps the selected base visible.

How do I find the base or the number inside a logarithm?

If the base and exponent are known, calculate x = bʸ. Base 2 and exponent 10 give argument 1024. If the argument and a nonzero exponent are known, calculate b = exp(ln(x)/y); argument 81 and exponent 4 give base 3.

The base must still satisfy the real-log domain after solving. With x = 1 and y = 0, no unique base is identified: every positive base except 1 works. With y = 0 and x ≠ 1 there is no solution. The tool reports those distinctions rather than forcing a single numerical answer.

Why can’t I take the real log of zero or a negative number?

With an allowed real base, exponentiation produces positive arguments. The real-log domain therefore requires x > 0, b > 0 and b ≠ 1. Zero is not a valid argument even though its logarithm can be discussed through a one-sided limit.

A base between 0 and 1 is valid and changes the direction. For base 1/2, log(8) is −3 because (1/2)⁻³ = 8. As x approaches zero from above, this decreasing logarithm tends to positive infinity; for a base above 1, the corresponding limit is negative infinity. Negative answers and negative arguments are different ideas.

How do logarithm rules help simplify an expression?

For positive u and v and one allowed base, a product becomes a sum: log_b(uv) = log_b(u) + log_b(v). A quotient becomes a difference, and a real power of a positive argument becomes a multiplier. The rule table states the domain conditions alongside each identity.

These are not rules for arbitrary addition inside the argument. For example, log₁₀(10 + 10) is log₁₀(20), about 1.30103, while log₁₀(10) + log₁₀(10) equals 2. The change-of-base formula ln(x)/ln(b) explains how one natural-log operation evaluates any allowed base.

When is the Log Calculator useful?

Use the Log Calculator when a stated exponential model has an unknown exponent, when converting multiplicative ratios into additive steps or when checking the equivalence of exponential and logarithmic forms. The exponent ladder shows why equal exponent increments multiply the argument by a constant factor.

The visual uses multiplicatively spaced argument labels, not equal steps on an ordinary linear x-axis. Specific applications such as pH, decibels or growth dates need their own definitions, reference quantities and units; a logarithm alone does not supply those assumptions. Very extreme exponentials and values indistinguishable from base 1 are rejected at the numeric limits.

Formula and calculation method

log_b(x) = ln(x)/ln(b), with x > 0, b > 0 and b ≠ 1. The answer can be negative even though the argument cannot.

To solve an argument, x = exp(y ln b). To solve a base with y ≠ 0, b = exp(ln x/y), then recheck the real-log domain.

For x = 1 and y = 0, every positive base other than 1 works. For y = 0 and x ≠ 1 there is no solution; for x = 1 and y ≠ 0 the derived base 1 is forbidden.

For b > 1, log_b(x) increases and tends to −∞ as x approaches zero from above. For 0 < b < 1 it decreases and tends to +∞ instead.

e denotes the natural base. Decimal, scientific notation and one fraction are accepted; general expressions and complex logarithms are not evaluated.

Scope and Limitations

  • Floating-point real logarithms and exponentials only. Overflow, underflow to zero and a solved base rounded to exactly 1 are rejected. Near base 1, small input differences can cause large changes in the answer.

Reference Sources

Frequently asked questions

Can I enter e as the base?

Yes. e selects the natural base, so the result is a natural logarithm.

Can a logarithm be negative?

Yes. A valid positive argument can have a negative logarithm. The argument itself must remain positive for this real-log calculator.

Is a base between zero and one allowed?

Yes. It produces a decreasing logarithm. Base 1 is excluded.

Why is the base not unique when x = 1 and y = 0?

Every allowed base raised to zero gives 1. Those two values do not identify one base.

Does the calculator evaluate complex logarithms?

No. It implements real logarithms with an explicit positive argument and positive base different from 1.