How it works
A derivative is the slope of a curve: how fast f(x) changes as x changes. It is found with a few rules, applied piece by piece:
- Power rule: d/dx xⁿ = nxⁿ⁻¹, so x³ becomes 3x².
- Constant multiple and sum: numbers in front stay, and each term of a sum is differentiated separately.
- Product rule: (uv)′ = u′v + uv′.
- Quotient rule: (u/v)′ = (u′v − uv′)/v².
- Chain rule: for a function inside a function, multiply by the derivative of the inside: d/dx sin(3x) = 3cos(3x).
The table of standard derivatives used here: d/dx sin x = cos x, d/dx cos x = −sin x, d/dx eˣ = eˣ, d/dx ln x = 1/x, d/dx √x = 1/(2√x). After the symbolic answer, the calculator also measures the slope numerically at your point and shows whether the two agree.
Worked example
f(x) = x³ + 2x. Power rule on x³: 3x². The derivative of 2x is 2. So f′(x) = 3x² + 2, and at x = 2 the slope is 3 × 2² + 2 = 14.
f(x) = √x at x = 4: f′(x) = 1/(2√x), so f′(4) = 1/(2 × 2) = 0.25.
Tips
- Type multiplication between a number and x as 2x; between two functions, use · or × if it reads more clearly: sin(x)×e^x.
- Use brackets for powers of more than one symbol: e^(2x), not e^2x.
- The simplified answer can look different from a textbook’s and still be equal; put both into the slope box at the same x to compare.
Questions
Does this derivative calculator show the steps?
Yes. Each term gets its own step with the rule used (power, product, quotient or chain rule), then the pieces are added.
Why does it use radians?
The rule d/dx sin x = cos x is true only when x is in radians. In degrees the derivative of sin x is (π/180)cos x.
What is the derivative of x²?
2x, by the power rule: bring the 2 down and lower the power by 1.
Can it do partial or implicit derivatives?
No. It differentiates functions of one variable, x. It does not do partial derivatives, implicit differentiation or higher-order derivatives in one go; for a second derivative, differentiate the answer again.
Sources
- NIST Digital Library of Mathematical Functions, §1.4 Calculus of One Variable. §1.4(iii) Derivatives: definition 1.4.4; sum rule 1.4.5; product rule 1.4.6; quotient rule 1.4.7; chain rule 1.4.10. Checked 22 November 2026.
- NIST Digital Library of Mathematical Functions, §4.7 Derivatives and Differential Equations. Equations 4.7.1 (d/dz ln z = 1/z), 4.7.7 (d/dz eᶻ = eᶻ) and 4.7.10 (d/dz zᵃ = a zᵃ⁻¹, the power rule; a = ½ gives 1/(2√z)). Checked 22 November 2026.
- NIST Digital Library of Mathematical Functions, §4.20 Derivatives and Differential Equations. Equations 4.20.1 (d/dz sin z = cos z) and 4.20.2 (d/dz cos z = −sin z). Checked 22 November 2026.
- NIST Digital Library of Mathematical Functions, §3.4 Differentiation. §3.4(i), equation 3.4.6 (three-point formula; with t = 0 it is the central difference used for the numeric slope check). Checked 22 November 2026.