log Logarithm Calculator

Calculate a logarithm with a custom base.

5.0 out of 5 (1 rating)

Enter details

Logarithm
log= ?

Log in or create a free account to save your inputs and results, so you don't have to enter them again next time.🔒 No spam, ever. We never sell or share your details, and you can delete your history or account at any time. Privacy policy

Fill in the details and click Calculate to see your results.

Rate this calculator

Was it useful? A quick star rating helps others — and you can leave a comment too.
Rate it: ★ ★ ★ ★ ★

📘 About the Logarithm Calculator

A logarithm answers 'to what power must the base be raised to get x?' — log₂ 8 = 3 because 2³ = 8.

Any base can be computed with the change-of-base formula logₐ x = ln x ÷ ln a.

🧮 Formula

Where

  • log_b(x) = ln(x) / ln(b)
Number and base must be positive; base cannot be 1.

✏️ Worked examples

log₁₀ 100

You enter
Number100
Base10
You get
Logarithm2

2.

log₂ 64

You enter
Number64
Base2
You get
Logarithm6

6.

log₅ 125

You enter
Number125
Base5
You get
Logarithm3

3.

🧭 How to use this calculator

What you enter

  • Number
  • Base

What you get

  • Logarithm

💡 Common uses

  • School mathematics and algebra
  • Scientific calculations
  • Engineering and measurement

❓ Frequently asked questions

What is the change of base formula?

logₐ x = log x ÷ log a = ln x ÷ ln a.

What are the log rules?

log(xy) = log x + log y; log(x/y) = log x − log y; log(xⁿ) = n log x.

What people are saying
★★★★★
Anonymous · 03 Oct 2026