Calculate logarithms with any base
Solve logarithmic equations by finding the logarithm value, or determine unknown variables

The number for which you want to find the logarithm. Must be positive. Type "e" for Euler's number.
The base of the logarithm. Common bases: 10 (common log), 2 (binary), or type "e" for natural log (e ≈ 2.71828)
The result of the logarithm operation (the exponent). Type "e" for Euler's number.
This Log Calculator is a versatile tool designed to solve logarithmic equations instantly. Whether you need to find the logarithm value itself, determine the base, or calculate the number argument, this tool handles it all with high precision.
It solves for any variable in the equation . You might be a student tackling algebra homework, a scientist working with pH scales, or a software engineer analyzing algorithm complexity—this calculator is built for you.
Looking for exponents?
Logarithms are just the inverse of exponents! If you're working with growth rates or compound interest directly, you might also find our Generation Time Calculator useful for exponential growth scenarios.
Follow these simple steps to solve your logarithmic equation:
1. Select "Solve for Logarithm (y)".
2. Enter 2 for Base (b).
3. Enter 8 for Number (x).
4. Result flashes: 3.
The Richter scale uses base-10 logarithms. How much stronger is an amplitude of 100,000 compared to a standard baseline?
Result: 5.0
. This is a Magnitude 5.0 earthquake.
Decibels are logarithmic. If sound intensity is times the threshold, what is the level in Bels?
Result: 3 Bels
Multiplied by 10 gives 30 dB.
At 100% growth (base 2), you want to reach 16x your initial investment. How many periods?
Result: 4 periods
It takes 4 doubling periods to grow 16x.
When data spans many orders of magnitude (like star brightness or internet traffic), logs make the scale manageable to visualize.
Computer scientists use to determine how efficient a binary search algorithm is.
pH is the negative log of Hydrogen ion concentration. .
If you know the constant growth rate and the final amount, use logs to find how long it took.
The base must be positive and not 1. The argument must be positive.
You can type "e" in the Base field to calculate the Natural Logarithm ().
In many textbooks, "log" without a base implies base 10 (Common Log), while "ln" implies base (Natural Log). Always check your base!
The fundamental relationship between logarithms and exponents is:
When solving for different variables, we use these rearrangements:
Solve for y (Logarithm)
Change of Base Formula
Solve for x (Number)
Solve for b (Base)
Nth root of x
Where:
• is the base
• is the number (argument)
• is the logarithm (exponent)
Calculate simple or weighted average of multiple percentages
Evaluate mathematical expressions instantly. Supports functions like sqrt, sin, cos, abs, and more.
Solve common percentage problems: X% of Y, X is what percent of Y, and percent increase/decrease
Calculate percentage change between two values instantly
Solve quadratic equations with step-by-step solutions and visualizations
Convert fractions to percentages and vice versa instantly