Skip to content
The Calculatorz
Calculus

Derivative Calculator (at a Point)

Find the value of a function's first and second derivatives at a point, and the equation of the tangent line there.

Function and point

Function

How to use this calculator

Type the function using x (for example x^3, sin(x), e^(2x) or ln(x)) and the point where you want the slope. The calculator gives f(x), the first derivative (the slope of the tangent), the second derivative (the curvature) and the tangent line equation, and says whether the function is increasing, decreasing or at a turning point.

Formula

f′(x) ≈ [f(x + h) − f(x − h)] ÷ 2h, refined by Richardson extrapolation over shrinking h for high accuracy. f″(x) ≈ [f(x + h) − 2f(x) + f(x − h)] ÷ h². Tangent line: y = f(a) + f′(a)(x − a).

Calculator credits

Calculator developmentJulia Edwards

Editorial supervision

Expert reviewIfrahMSc Mathematics

Published byThe Calculatorz

Last updated

Read how we research, test, review and correct our calculators in our editorial policy.

Frequently asked questions

What does the derivative tell me?

The instantaneous rate of change: the slope of the curve at that point. In physics, the derivative of position is velocity.

Is the result exact?

It is computed numerically and is usually accurate to about 8–10 significant figures for smooth functions.

What does the second derivative mean?

It measures how the slope changes. Positive means the curve is concave up (like a cup); negative means concave down.

What if the function has a corner?

At sharp corners such as |x| at 0, the derivative does not exist; the calculator reports that the left and right slopes disagree.

Does it give the derivative formula?

No. It evaluates the derivative at one point. Differentiate symbolically with the power, product, quotient and chain rules for a formula.

What units do trig functions use?

Radians. The derivative of sin(x) is cos(x) only when x is in radians.

References & methodology sources

These sources support the calculator’s formula, definitions, thresholds, units or result interpretation.

  1. Strang, G., & Herman, E. J. (2016). Calculus volume 1. OpenStax. View source
  2. Stewart, J., Clegg, D. K., & Watson, S. (2021). Calculus: Early transcendentals (9th ed.). Cengage. View source
  3. Olver, F. W. J., Lozier, D. W., Boisvert, R. F., & Clark, C. W. (Eds.). (2024). NIST Digital Library of Mathematical Functions. National Institute of Standards and Technology. View source
  4. Abramson, J. (2021). Precalculus 2e. OpenStax. View source