A logarithm to any constant base is the natural logarithm scaled by a fixed factor.
\[\frac{d}{dx}\log_{a} x = \frac{1}{x\ln a}\]
What it says
The change-of-base identity \(\log_{a}x = \frac{\ln x}{\ln a}\) turns every logarithm into a constant multiple of \(\ln x\). Since \(\ln a\) is just a number, the constant multiple rule finishes the job: \(\frac{1}{\ln a}\cdot\frac{1}{x}\).
So the only difference from the natural logarithm is a fixed divisor. For base \(e\) it disappears, because \(\ln e = 1\); for base \(10\) it is \(\ln 10 \approx 2.3026\), which is why \(\log_{10}\) curves flatten so much faster.
In this calculator, \(\log(a, x)\) means \(\log_{a}x\), and \(\log_{2}\) and \(\log_{10}\) have their own shorthands \(\texttt{log2}\) and \(\texttt{log10}\).
When it applies
A logarithm whose base is a constant other than \(e\).
\(\log_{2}\) in computing work, \(\log_{10}\) in decibels, pH and orders of magnitude.
If the base itself contains the variable, this rule does not apply — the expression is rewritten in natural logs instead.
Five worked examples
Every line is the step the calculator would show, in the order it applies them. Each graph
is live: hover it to read both curves and see the tangent whose slope is the derivative,
drag to pan, scroll to zoom.
The shape of \(\ln x\) stretched vertically by \(\tfrac{1}{\ln 2} \approx 1.44\), with f′ correspondingly above the curve \(\tfrac{1}{x}\). Changing the base rescales the whole picture; it does not bend it.
About \(1.4427/x\) — steeper than \(\ln x\), because \(\log_{2}\) climbs faster.
Derivative Calculator would like your consent to use your data
Store and read cookies and similar identifiers on your device
Measure how the site is used, and — only if you allow it — personalise advertising
Learn more
How can I change my choice?
Open Privacy settings at the bottom of any page. Your answer can be changed or withdrawn at any time, and takes effect straight away.
What if I do not consent?
Everything still works. The calculator, the graph and every rule page run entirely in your browser, so refusing costs you nothing but the optional cookies.
Do I have to consent to everything?
No. Manage options lets you allow one category and refuse another, and nothing optional is switched on until you switch it on.
Necessary cookies keep the site working and are always on. Anything else — measurement and advertising — runs only with your permission, and no profile is built about you before you give it. Read the privacy policy
Data preferences
Choose what you allow
Each category is described below. Your choice is stored on this device and applies the moment you save it.
Strictly necessary
Keeps the site working: your light or dark theme, your recent expressions and the record of this consent choice. Nothing here identifies you, and it cannot be switched off.
Preferences
Remembers optional settings across visits, such as your language and the way you like results laid out.
Measurement
Counts visits and which rules people look up, so we know what to improve. Aggregated — never used to build a profile about you.
Advertising
Lets advertising partners use cookies to select and measure ads, including personalised ones. Refuse this and any ads shown stay non-personalised.