d/dxDerivCalc

Derivative of log(x)

Base-10 logs differentiate almost like natural logs — with a constant factor of ln 10 that trips up anyone who assumed all logarithms behave the same.

Answer
d/dx [log(x)]  =  1/(x ln 10)
Rule used: Change-of-base + standard log derivative
Open log(x) in the calculator →

Step-by-step solution

1
Convert to natural log

Change of base: log(x) = ln(x) / ln(10). The denominator ln 10 ≈ 2.3026 is just a constant.

2
Differentiate the natural log

d/dx[ln(x)] = 1/x, and the constant 1/ln(10) rides along.

3
State the result

f′(x) = 1/(x ln 10) ≈ 0.4343/x.

Why it works

The factor 1/ln(10) is the price of using a base other than e. The natural log is "natural" precisely because it's the one base whose derivative has no correction constant — every other base b gives 1/(x ln b). This is the cleanest argument you'll ever see for why mathematicians abandoned base 10 the moment calculus was invented.

One caution about notation: in pure math and in many programming languages, log with no subscript means the natural log, while in engineering, chemistry (pH), and most school textbooks it means base 10. DerivCalc follows the school convention — log is base 10, ln is base e — but always check which convention your course uses before trusting any formula sheet.

Common mistakes

Practice problems

Differentiate log(x) · ln(10)

Answer: 1/x — the constants cancel perfectly.

Differentiate 2 log(x)

Answer: 2/(x ln 10).

Which is larger at x = 5: the slope of ln(x) or of log(x)?

Answer: ln(x): 1/5 = 0.2 versus 1/(5 ln 10) ≈ 0.087.

Related derivatives

ln(x)ln(2x)e^x