Logarithm Calculator

Enter a number and a base to find its logarithm. Base 10 is the default.
Logarithm
✉ Email me this result
</> Embed this calculator

Paste this into any website or blog post. It is free — the small "powered by" link must stay visible.

How it works

log_b(x) = ln(x) / ln(b)

Frequently Asked Questions

Which bases can I use?
Any positive base except 1. Common choices are 10 (common log) and 2 (binary log).
Why does it say undefined?
Logarithms are only defined for a positive number and a positive base that is not 1.