Arithly

← All maths topics

Logarithm Calculator

A logarithm is a power in disguise: logb(x) asks “b to what power gives x?” This calculator answers that for any base — exactly, as a fraction, when the answer is a true power (log4 8 = 3/2), and as a clearly marked decimal when it is not. Choose a base below, or ask the question in words on the home page: hints first, then the full solution on the whiteboard. The idea itself — what a logarithm is and where the laws come from — is taught in the logarithms lesson. Free, no sign-up.

log₂ 8 = ?

Enter a base and a number and the logarithm appears here.

What a logarithm is

logb(x) = n  means exactly the same as  bn = x

The log laws

Running the first three laws forwards expands a logarithm (log2 (8x³) becomes 3 + 3 log2 x); running them backwards condenses several logarithms into one (3 log2 x − log2 y becomes log2(x³/y)). The solver does both — ask it in words.

Think first

Before reading the solution, try to answer these — they are the hints Arithly itself gives:

Worked example 1 — expanding with the laws

Expand log_2 (8x^3)

  1. The laws used: the product law log_b(xy) = log_b x + log_b y, the quotient law log_b(x/y) = log_b x − log_b y, and the power law log_b(x^n) = n log_b x.
  2. Split the argument into its factors and bring every power down in front of its logarithm.
  3. Collecting the pieces gives 3 + 3 log_2 x.
  4. Answer: 3 + 3 log_2 x.

Answer: 3 + 3 log_2 x

Worked example 2 — a natural-log equation

Solve ln (x - 1) = 2

  1. ln is log base e. In index form, ln(A) = n means A = e^n.
  2. So x - 1 = e^2.
  3. Solve the ordinary equation that is left: x = e^2 + 1.
  4. Answer: x = e^2 + 1.

Answer: x = e^2 + 1

Worked example 3 — a fractional power

log_4 8

  1. log_4 8 asks: “to what power must 4 be raised to give 8?”
  2. The power is a fraction: 4^(3/2) means the square root of 4^3. Check: 8^2 = 64 and 4^3 = 64 — equal, so the power is 3/2.

Answer: 3/2

Ask it in words

The solver on the home page answers logarithm questions in all of these shapes:

Three honest notes. A plain ask with no exact answer — “log_2 3” — is answered “No exact value”, never dressed up as a rounded decimal; ask for an approximation and you get one, marked ≈. A sum inside a logarithm, like log(x + 2), cannot be expanded — no law covers it — so those asks are left unanswered rather than faked. And ln of a plain number is only ever approximate (ln 20 ≈ 3, not 3 exactly), so “ln 20 = 3 in exponential form” is declined: e³ is not 20. For graphs of logarithmic functions, see Logarithmic Functions; the topic from the beginning is the logarithms lesson.

Practice

Try these yourself. Each one opens in Arithly with the question already filled in — solve it there and check your working:

More topics: all maths topics · Next topic: Two-Step Equations Calculator

© 2026 Arithly. Content: CC BY-NC 4.0 · Code & solver: all rights reserved.