Log Equations Solver
Solve logarithmic equations.
Loading tool…
About this tool
Type an equation containing log and get the x that satisfies it. log(x, 2) = 5 means 2⁵ = x, so x = 32.
How to use
1
Step 1
Type the equation, using log(x, base) for another base.
2
Step 2
Press Calculate.
3
Step 3
Read x.
How it works
A log equation log_b(x) = c is the same as x = b^c. Plain log(x) here is the natural log, so log(x) = 2 gives e² = 7.389056.
log_b(x) = c ⇔ x = b^c
Worked example
Base 2
- Input
- log(x,2)=5
- Output
- x = 32
- Walkthrough
- 2⁵ = 32, and log₂(32) = 5.
Limitations
- Plain log(x) and ln(x) are the natural logarithm, not base 10; the input label says so. Write log(x, 10) for base 10.
- Roots are searched between −10,000 and 10,000, so an answer outside that range is not reported.
- x must be positive, so only positive solutions appear.
Questions
What is x if log base 2 of x is 5?
x = 32.
What is x if ln(x) = 2?
x = 7.389056, which is e².
What is x if log base 10 of x is 2?
x = 100, since 10² = 100. Write it as log(x, 10) = 2.
Is log(x) base 10 or natural?
Natural. log(x) = 2 gives 7.389056; use log(x, 10) for base 10.
Features
- Any base
- Natural log by default
- Runs in your browser
Related resources
Guides and videos from around the web—opens on YouTube or the publisher’s site.
Rectangle area as product of dimensions
Khan Academy
Foundational area thinking across math tools.
Watch on YouTubeThe essence of calculus
3Blue1Brown
Visual calculus story that complements symbolic solvers.
Watch on YouTube
- Data Index
Math is Fun
Stats and probability explainers for data tools.
- Systems of Linear Equations
Math is Fun
Two-variable systems for simultaneous equation calculators.