Calculators/Mathematics/Logarithms and powers

Logarithms and powers

Logarithm to any base · powers · roots

Logarithms and powers — illustration
log10(1,000) =
3
log₁₀
3
ln
6.9078
log₂
9.9658

Definition: loga(b) = c ⇔ aᶜ = b. Change of base: loga(b) = ln b / ln a. Check: 103 ≈ 1,000.

A logarithm log⁡ab\log_a b is the exponent to which the base aa must be raised to obtain bb:

log⁡ab=c  ⟺  ac=b(a>0, a≠1, b>0)\log_a b=c \iff a^c=b \qquad (a>0,\ a\neq1,\ b>0)

The calculator computes a logarithm to any base — common (log⁡\log), natural (ln⁡\ln, base ee), binary (log⁡2\log_2) or your own. It uses the change-of-base formula log⁡ab=ln⁡bln⁡a\log_a b=\dfrac{\ln b}{\ln a}.

In the second mode you can compute a power axa^x (including negative and fractional exponents) and a root of any degree xn=x1/n\sqrt[n]{x}=x^{1/n}.

Examples

log₁₀(1000)
→ = 3 (since 10³ = 1000)
log₂(32)
→ = 5 (since 2⁵ = 32)
∛27
→ = 3 (since 3³ = 27)

Frequently asked questions

How do I compute a logarithm to a base other than 10 or e?+

With the change-of-base formula: log_a(b) = ln(b)/ln(a) = log(b)/log(a). The calculator does this automatically for any base.

Why can the base not be 1?+

Because 1 raised to any power is always 1 — you can never obtain a different number, so a logarithm with base 1 does not exist.

Found this calculator useful? Share it.

It's free — send it to a friend who's revising.

Teaching? Embed this calculator on your site.

Free widget — paste it on your school site, blog or notes. It links to the full version.

Teaching a class or tutoring? Guide students in NexTutor →