Skip to content
Advertisement
Hosinger Special Offer

Derivative Calculator

Derivative Calculator from Gizcalc helps you estimate results quickly within the Math & Statistics category.

  • Instant results
  • Charts & tables
  • Save & compare
  • Private – runs in your browser
f'(x) at the Point —

Sample inputs are pre-filled so you can see a result quickly. Results are estimates only and may not be accurate because prices, interest rates, taxes, fees, fuel costs, tariffs, market returns, medical costs, and local rules can change. Please verify current values before making financial, tax, legal, medical, or business decisions.

Formula used

f′(x) ≈ [f(x − 2h) − 8f(x − h) + 8f(x + h) − f(x + 2h)] ÷ 12h

  • h = a small step, 0.001 × max(1, |x|)
  • f″(x) = [−f(x − 2h) + 16f(x − h) − 30f(x) + 16f(x + h) − f(x + 2h)] ÷ 12h²

About the Derivative Calculator

What is the Derivative Calculator?

The derivative f′(x) measures how fast a function is changing at a point — the slope of the tangent line to its graph there. It is the central idea of differential calculus and describes velocity, marginal cost, growth rates and rates of reaction.

Enter a function of x and the point you care about. The calculator evaluates the derivative numerically with a high-accuracy five-point central difference, and also returns the function's value, the second derivative f″(x) (the curvature), the equation of the tangent line and whether the function is increasing or decreasing there.

How to use the Derivative Calculator

  1. Function f(x) — use x as the variable, for example x^3 - 2x + sin(x). (sample: x^3 - 2x + sin(x))
  2. At x = — the point at which the derivative is evaluated. (sample: 1)
  3. Press Find Derivative (results also refresh as you type). The result card shows the f'(x) at the Point, along with f(x) at the point, Second derivative f''(x), Tangent line and Behaviour at the point.

Formula used

f′(x) ≈ [f(x − 2h) − 8f(x − h) + 8f(x + h) − f(x + 2h)] ÷ 12h

  • h = a small step, 0.001 × max(1, |x|)
  • f″(x) = [−f(x − 2h) + 16f(x − h) − 30f(x) + 16f(x + h) − f(x + 2h)] ÷ 12h²

This five-point formula is exact for polynomials up to degree 4 and very accurate for smooth functions. The tangent line at x₀ is y = f′(x₀)(x − x₀) + f(x₀).

Worked example

These are the sample values already filled in the calculator above, and the result it returns for them:

InputSample value
Function f(x)x^3 - 2x + sin(x)
At x =1
ResultValue
f'(x) at x = 11.540302
f(x) at the point-0.158529
Second derivative f''(x)5.1585
Tangent liney = 1.5403x − 1.6988
Behaviour at the pointIncreasing

Common derivative rules

  • d/dx (xⁿ) = n xⁿ⁻¹
  • d/dx (sin x) = cos x and d/dx (cos x) = −sin x
  • d/dx (eˣ) = eˣ and d/dx (ln x) = 1/x
  • Product rule: (uv)′ = u′v + uv′
  • Chain rule: d/dx f(g(x)) = f′(g(x)) × g′(x)

Tips for using the Derivative Calculator

  • f′(x) = 0 marks a possible maximum, minimum or point of inflection; the sign of f″(x) tells you which (negative means maximum, positive means minimum).
  • Trigonometric functions use radians, as everywhere in calculus.
  • The answer is a number at one point; use the rules above when you need a formula for f′(x).

Frequently asked questions

The instantaneous rate of change of a function: the limit of [f(x + h) − f(x)] ÷ h as h approaches 0. Graphically, it is the slope of the tangent line.

d/dx (x²) = 2x, so at x = 3 the derivative is 6.

For smooth functions the five-point formula is typically accurate to 8 or more significant digits, and it is exact for polynomials up to degree 4.

How the slope itself is changing — the curvature. f″(x) > 0 means the graph is concave up (like a cup), and f″(x) < 0 means it is concave down.