Logarithm Calculator (Any Base)
Find the logarithm of a number to any base.
Result
How to use
- Enter your values in the fields above.
- Press Calculate to see your result instantly.
- Use the Share button to copy a link to your result.
About this calculator
This calculator finds the logarithm of a number to any base using the change-of-base formula, log_b(x) = ln(x) / ln(b) (equivalently log₁₀(x)/log₁₀(b)), which lets any base be computed from the natural or common log functions built into every calculator and programming language. The result answers the question "to what power must b be raised to get x?" — for example log₂(8) = 3 because 2³ = 8.
Computer scientists use base-2 logarithms constantly to reason about binary search depth and algorithmic complexity, audio and RF engineers use base-10 logs for decibel scales, and chemistry students use them for pH and pOH. Because textbooks and problems set logs in whatever base fits the context, this calculator handles the general case rather than being locked to base 10 or base e.
Was this helpful?
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
No calculators found
Comments (0)