Math · Every step shown

Logarithm Calculator

Find the logarithm of a number in any base — what power the base needs to reach that number.

Enter your numbers

Press Solve with steps to see the answer and how to get it.

Job: Algebra
Your answer

Press Solve with steps to see the answer and every step.

How it works, examples and FAQ

log base b of x answers: b raised to what power equals x? Computed using the change-of-base formula: ln(x) ÷ ln(b).

Example: log base 2 of 1024 = ln(1024) ÷ ln(2) = 10, since 2^10 = 1024.

What does a logarithm mean?
log base b of x asks: what power do you raise b to, to get x?

What's log base 2 of 1024?
10, since 2^10 = 1024.

How do you compute a log in a base your calculator doesn't have a button for?
Use the change-of-base formula: log base b of x equals ln(x) divided by ln(b), using the natural log.

More math calculators

Snap a photo of a problem →   All math tools →   All calculators →

These calculators show the method as well as the answer, so you can learn the steps and check your own work. If a result ever looks wrong, tell us on the Contact page with the numbers you entered.

Save or print your results

On a phone, choose Save as PDF on the next screen to keep a copy.