Compute a logarithm in any base — common (log₁₀), natural (ln), base 2, or a base you choose — with the change-of-base working, the antilog check, and a full lookup chart. Results update as you type.
A logarithm is the inverse of raising to a power. It answers a single question: to what exponent must a base be raised to land on a given number? Where an exponent packs repeated multiplication, a logarithm unpacks it — which is why logs turn multiplying into adding and shrink runaway ranges down to a readable scale.
Three steps work for any base. The only real machinery is the change-of-base formula, and even that is just one division.
Turn logₐ(x) into “the base a raised to what power gives x?” This reframing alone solves every exact case.
If x is a clean power of the base, read the exponent straight off. Otherwise rewrite using natural logs, which every calculator can evaluate.
Compute the division to get the logarithm, then raise the base to that answer to confirm you land back on x.
The same procedure runs whether the base is ten, e, two, or something custom. Switch tabs to watch each one compute.
Logs are the quiet machinery behind any scale that has to span many orders of magnitude.
Every log law follows from one idea — logs undo exponents — so each rule mirrors an exponent rule. These eight cover almost everything you will meet.
The classic log-table row: the common, natural, and binary log of each digit, rounded to four places.
| x | log₁₀ x | ln x | log₂ x |
|---|---|---|---|
| 1 | 0 | 0 | 0 |
| 2 | 0.301 | 0.6931 | 1 |
| 3 | 0.4771 | 1.0986 | 1.585 |
| 4 | 0.6021 | 1.3863 | 2 |
| 5 | 0.699 | 1.6094 | 2.3219 |
| 6 | 0.7782 | 1.7918 | 2.585 |
| 7 | 0.8451 | 1.9459 | 2.8074 |
| 8 | 0.9031 | 2.0794 | 3 |
| 9 | 0.9542 | 2.1972 | 3.1699 |
| 10 | 1 | 2.3026 | 3.3219 |
For powers of ten the common log is just the exponent — the reason log₁₀ is the natural fit for counting digits and orders of magnitude.
Switch the base and scan the value you need — common, natural, or binary log of every integer from one to a hundred, no typing required.
Highlighted values are exact whole-number logs (powers of the base).
Most log errors come from treating a log like ordinary multiplication. These four trip up almost everyone at first.
The handful of words that show up around logarithms.

PEMDAS is the order you do math operations: Parentheses, Exponents, Multiplication and Division, then Addition and Subtraction. This guide explains the rule, the left-to-right tie-breaker, the famous traps, and PEMDAS vs BODMAS.

The laws of exponents let you multiply, divide, and nest powers without ever expanding them. Add the exponents to multiply, subtract to divide, multiply to raise a power to a power. This guide states each rule in one line and proves it with a worked example.

π is the ratio of any circle's circumference to its diameter, a constant that equals about 3.14159. This guide explains what the symbol means, lists its digits and approximations, and shows how to type π on Windows, Mac, HTML, and LaTeX.