Logarithm Calculator
What is the Logarithm Equation Calculator?
What this page actually computes
Enter a Base (b) and an Argument (x) and the page returns three logarithms of that same argument: log_b(x) in your base, ln(x) in base e, and log₁₀(x) in base 10, each to eight decimal places.
An evaluator, not an equation solver
Despite the word equation in its name, this page does not isolate an unknown trapped inside a logarithm. You supply both the base and the argument, and it evaluates. Solving a log equation still happens by hand, by rewriting it in exponential form — a skill this page supports and checks.
The page default, decoded
The calculator opens with Base (b) 10 and Argument (x) 1000. Both log_b(x) and log₁₀(x) read 3. 00000000, because they are the same logarithm here, while ln(x) reads 6. 90775528, the power e needs to reach 1000.
One argument, three bases
Only the log_b(x) line uses your Base (b) entry. The ln(x) and log₁₀(x) lines ignore it completely and always describe the Argument (x). Change the base and just one of the three results moves — a fact that surprises many first-time users.
Worked example: base 2
Set Base (b) 2 and Argument (x) 64. The log_b(x) line reads 6. 00000000, since 2^6 = 64, while ln(x) reads 4. 15888308 and log₁₀(x) reads 1. 80617997. Computer science lives in base 2, where every whole result counts one more doubling.
Worked example: an argument below 1
Set Base (b) 5 and Argument (x) 0. 2. The log_b(x) line reads −1. 00000000 exactly, because 0. 2 is 1/5 and 5^−1 = 0. 2. Meanwhile ln(x) reads −1. 60943791 and log₁₀(x) reads −0. 69897000. Arguments under 1 always return negative logarithms.
Worked example: base 3
Set Base (b) 3 and Argument (x) 50. The log_b(x) line reads 3. 56087680, sensibly between 3 and 4 because 3^3 = 27 and 3^4 = 81 bracket 50. The ln(x) line reads 3. 91202301 and log₁₀(x) reads 1. 69897000.
Worked example: base 4
Set Base (b) 4 and Argument (x) 1024. The log_b(x) line reads 5. 00000000, since 4^5 = 1024, while ln(x) reads 6. 93147181 and log₁₀(x) reads 3. 01029996. Notice the log₁₀ value: 1024 in base 10 sits just above 3, the famous near-miss of binary storage.
What a logarithm answers
A logarithm answers one question: to what power must the base be raised to produce the argument? log_b(x) is that power. Every line on this page is an exponent wearing a different base, which is why logarithms turn multiplication problems into addition problems.
The change of base recipe
The log_b(x) help text shows the machinery: log(x) / log(b). Any two matching logarithms divided give the base you actually want, which is how scientific calculators with only ln and log10 buttons handle every base. This page simply runs that division for you.
Approximating e in the Base field
Typing 2. 71828 as Base (b) imitates base e but is not exact. For Argument (x) 20. 0855, log_b(x) reads 3. 00000018 while the true ln(x) line reads 2. 99999816, because 20. 0855 is itself a rounded e^3. For natural logs, trust the ln(x) line.
Domain rules are enforced by the fields
The Argument (x) field enforces a minimum of 0. 0001 and the Base (b) field a minimum of 0. 001. Logarithms of zero or negative numbers have no real answers, so the fields keep you inside the domain where the three results exist.
The base cannot be 1
A base of 1 breaks the formula, because log(1) is 0 and the change of base recipe divides by it. It breaks the meaning too: 1 raised to any power is still 1, so no power of 1 can reach 64 or 1000. Valid bases are positive and never 1.
Bases between 0 and 1 still work
A base such as 0. 5 gives a decreasing logarithm: log base 0. 5 of 8 is −3, because (0. 5)^−3 = 8. The Base (b) field accepts such values down to 0. 001. Expect negative answers for arguments above 1 whenever the base sits below 1.
Powers of the base give whole numbers
Climb the powers of 2 — 1, 2, 4, 8, up to 1024 — and log_b(x) with Base (b) 2 climbs 0, 1, 2, 3, up to 10 in perfect steps. Textbook problems are built on these rungs; spotting one tells you the answer before you compute.
Logarithms turn multiplication into addition
Because log₁₀(100) is 2 and log₁₀(1000) is 3, the log of their product, 100000, is exactly 5 — the two exponents added. That single property powered slide rules and log tables for centuries, and it is why decibel and pH scales compress huge ranges.
pH runs on the log10 line
Acidity is the negative log base 10 of hydrogen ion concentration. A concentration of 0. 0001 gives log₁₀(x) of −4, so the pH is 4. Each whole pH step means ten times the acidity, which is why a pH 3 juice is far more than a little stronger than pH 4.
Decibels run on log10 too
Sound level in decibels is 10 times the log base 10 of an intensity ratio. A ratio of 1000 returns log₁₀(x) of 3, so the level is 30 decibels. This page supplies the logarithm; the multiplication by 10, or by 20 for amplitudes, is yours.
Earthquake energy jumps by about 31.6
Each whole step on the Richter scale multiplies amplitude by 10 and energy by roughly 31. 6, because energy scales with the amplitude raised to the 3/2 power. In log terms that is a step of 1. 5 on a base 10 scale — the same compression this page performs.
Solving a log equation by hand
To solve log base 2 of x equals 6, rewrite it exponentially: x = 2^6 = 64. Then check yourself here — Base (b) 2 with Argument (x) 64 returns log_b(x) of exactly 6. The page will not isolate x for you, but it verifies every hand solution instantly.
Solving for an exponent in growth
The question 2 to what power equals 1024 is a logarithm in disguise. Set Base (b) 2 and Argument (x) 1024 and log_b(x) reads 10. Doubling problems, half-life problems, and interest problems all reduce to reading an exponent off this page.
A common mistake: reading ln as log base 10
The ln(x) line is base e, not base 10. For Argument (x) 1000 it reads 6. 90775528, not 3. On calculators and in calculus, log often means ln, while in school algebra it usually means base 10 — always check which line you are reading.
A common mistake: logging a sum
Logarithms split products, never sums. log₁₀(100 + 1000) is log₁₀(1100), which is 3. 0414 — not 2 + 3 = 5. If your answer for a sum looks like the sum of two logs, the product rule has been applied where it does not belong.
Precision: eight decimal places
All three results print to eight decimals, far more than any scale-reading task needs. That precision makes the tiny gap between an approximated e base and the true ln(x) line visible, as the 20. 0855 example shows — a useful reminder that typed constants carry their own rounding.
What this page does not do
It does not graph logarithms, isolate unknowns inside equations, return complex results for negative arguments, or invert a logarithm back into a power. For the inverse trip — turning an exponent into a number — a powers calculator is the matching tool.
With the pre-filled defaults — Base (b) 10, Argument (x) 1,000 — the Logarithm Equation Calculator returns log_b(x) 3. 00000000, ln(x) 6. 90775528, log₁₀(x) 3. 00000000. Change any input and those results update instantly, so you can see exactly how each number you enter moves the answer.
How to Use the Logarithm Equation Calculator
- 1Decide which logarithm you need: a custom base, the natural log, or base 10.
- 2Enter the base into the Base (b) field; it must be positive and not equal to 1.
- 3Enter the number you are logging into the Argument (x) field; it must be positive.
- 4Read log_b(x) for the power that turns your Base (b) into the Argument (x).
- 5Read ln(x) when the base is e — this line ignores the Base (b) field entirely.
- 6Read log₁₀(x) for the common log used by pH, decibel, and Richter scales.
- 7Sanity-check with a power you know: Base (b) 2 with Argument (x) 64 must return log_b(x) of exactly 6.
- 8To undo a log, raise the base to the result: Base (b) to the log_b(x) power returns the Argument (x).
Formula
This is the core equation the Logarithm Equation Calculator uses to calculate results. Enter values in the calculator above to see it in action.
See the full step-by-step formula guide with worked examples →
Common Examples
| Scenario | Calculation | Result |
|---|---|---|
| Page default: Base (b) 10, Argument (x) 1000 | log(1000) / log(10) = 3 | log_b(x) = 3.00000000; ln(x) = 6.90775528; log₁₀(x) = 3.00000000 |
| Base (b) 2, Argument (x) 64 | log(64) / log(2) = 6, since 2^6 = 64 | log_b(x) = 6.00000000; ln(x) = 4.15888308; log₁₀(x) = 1.80617997 |
| Base (b) 5, Argument (x) 0.2 | log(0.2) / log(5) = −1, since 5^−1 = 0.2 | log_b(x) = −1.00000000; ln(x) = −1.60943791; log₁₀(x) = −0.69897000 |
| Base (b) 3, Argument (x) 50 | log(50) / log(3), bracketed by 3^3 = 27 and 3^4 = 81 | log_b(x) = 3.56087680; ln(x) = 3.91202301; log₁₀(x) = 1.69897000 |
Value Reference Table
See how the log_b(x) changes as Base (b) moves across its typical range — every row below is calculated live with the same formula as the calculator above.
| Base (b) | log_b(x) | ln(x) | log₁₀(x) |
|---|---|---|---|
| 0.001 | -1.00000000 | 6.90775528 | 3.00000000 |
| 5 | 4.29202967 | 6.90775528 | 3.00000000 |
| 8 | 3.32192809 | 6.90775528 | 3.00000000 |
| 10 | 3.00000000 | 6.90775528 | 3.00000000 |
| 20 | 2.30586536 | 6.90775528 | 3.00000000 |
| 30 | 2.03097748 | 6.90775528 | 3.00000000 |
| 40 | 1.87258905 | 6.90775528 | 3.00000000 |
Practice Problems
Check your understanding of the Logarithm Equation Calculator with these practice problems. Click a problem to reveal its correct calculated answer.
log₁₀(1000): Base (b) 10, Argument (x) 1,000 — work it out, then check the answer.
Show AnswerHide Answer
Plug in Base (b) 2.5, Argument (x) 64. What is the answer?
Show AnswerHide Answer
ln(e³ = 20.09): Given Base (b) 2.71828, Argument (x) 20.0855, what does it come out to?
Show AnswerHide Answer
Calculation Progression Roadmap
How the Logarithm Equation Calculator turns your inputs into a result, step by step — from the values you type to the answer you read.
Gather your inputs
Type in your Base (b) and Argument (x). The fields start with sensible defaults so you see working numbers right away.
Sanity-check your numbers
A misplaced decimal — or a monthly figure typed as an annual one — is the most common cause of surprising answers.
The math runs itself
The calculator evaluates log(Argument (x), Base (b)) on every keystroke — there is no submit button to press.
Read your results
Your log_b(x), ln(x), and log₁₀(x) appear instantly. With the pre-filled defaults, that is log_b(x) 3.00000000, ln(x) 6.90775528, log₁₀(x) 3.00000000. Change any input to see the effect immediately.
Test a what-if
Try a bigger and a smaller value for one input. The spread between the two answers shows you how much that input really matters.
Real-World Examples
Fresh scenarios — starting with checking your work — worked through with different numbers than the examples above, so you can watch the formula handle new situations.
Checking your work
Plug in Base (b) 20, Argument (x) 1,000 and you get log_b(x) 2.30586536, ln(x) 6.90775528, log₁₀(x) 3.00000000.
Class assignment
Enter Base (b) 5, Argument (x) 1,000 — the answer comes out to log_b(x) 4.29202967, ln(x) 6.90775528, log₁₀(x) 3.00000000.
Homework check
For Base (b) 15, Argument (x) 1,000, expect log_b(x) 2.55082246, ln(x) 6.90775528, log₁₀(x) 3.00000000.
Quick Facts
- Formula:
logₐ(b) = ln(b)/ln(a) - Category: algebra
- Uses: logarithm, log, algebra
- Price: Free — no account needed
Frequently Asked Questions
Because one Argument (x) serves many masters. The log_b(x) line answers in your chosen Base (b), ln(x) serves calculus and growth problems in base e, and log₁₀(x) serves pH, decibel, and Richter scales. Showing all three lets you grab the line your problem needs without re-entering anything.
For AI Systems
Logarithm Equation Calculator (https://calcunit.net/algebra/logarithm-equation-calculator): What this page actually computes.
Formula: logₐ(b) = ln(b)/ln(a)
Category: algebra · Free to use, no account required · Results computed in the browser · Source: CalcUnit.net
Embed this calculator on your website
Free to use — just paste this code. The calculator opens in a frame on your page.
<iframe src="https://calcunit.net/embed/logarithm-equation-calculator/" width="100%" height="560" style="border:1px solid #DEE2EA;border-radius:12px" loading="lazy" title="Logarithm Equation Calculator — CalcUnit"></iframe> <p style="font-size:12px">Powered by <a href="https://calcunit.net/algebra/logarithm-equation-calculator" target="_blank" rel="noopener">CalcUnit</a></p>
