What is a derivative calculator?
A derivative calculator finds how fast a function is changing at a point. If f(x) describes a position, its derivative f'(x) is the speed. If f(x) describes a profit, its derivative is the extra profit from one more unit sold. The derivative is the slope of the curve at a point — how steep the graph is there, and in which direction it is heading.
This calculator works with polynomials of the form f(x) = ax² + bx + c, the quadratic functions that fill school and first-year university calculus. You enter the three coefficients a, b and c, plus the point x where you want the derivative, and it shows f'(x), the value f(x) itself, and the derivative formula it used. The default on this page is f(x) = 3x² + 2x + 5 at x = 2, where the derivative is 14.
It works with polynomials only, and that limit is deliberate. There is no box to type a function into, because a typed function would need a parser that can be tricked or broken, and this page keeps its maths honest by working from the coefficients directly. Quadratics cover the core idea of differentiation — the power rule, the slope, the turning point — without any parsing at all.
If you have never met derivatives, think of a hill. The derivative is the steepness of the hill at the exact spot where you are standing: positive on the way up, negative on the way down, and zero at the very top or the very bottom. That picture carries through everything calculus does with derivatives.
How a derivative calculator works
The rule for a quadratic is one line: if f(x) = ax² + bx + c, then f'(x) = 2ax + b. Each term is differentiated separately — the power rule turns ax² into 2ax, bx into b, and the constant c into zero, because a constant does not change. Add the pieces and you have the derivative formula, which works at any x.
Here is the default example worked out. The function is f(x) = 3x² + 2x + 5, so a = 3, b = 2 and c = 5. The derivative formula is f'(x) = 6x + 2, because 2 × 3 = 6. At x = 2, the derivative is 6 × 2 + 2 = 14, and the function value is 3 × 4 + 2 × 2 + 5 = 21. The calculator shows all three: the derivative 14, the function value 21, and the formula f'(x) = 6x + 2.
A second example: f(x) = x² at x = 3. Here a = 1, b = 0 and c = 0, so the derivative formula is f'(x) = 2x, the derivative at 3 is 6, and the function value is 9. The slope of the parabola y = x² at x = 3 is 6, which is steep — the curve is climbing fast there — and the number 6 says exactly how fast.
A third example with a negative coefficient: f(x) = 2x² - 3x + 1 at x = 4. The derivative formula is f'(x) = 4x - 3, the derivative at 4 is 4 × 4 - 3 = 13, and the function value is 2 × 16 - 3 × 4 + 1 = 21. The minus sign in the formula is part of the answer, not an error — it is what the coefficient b = -3 contributes to the slope.
The coefficients a, b and c explained
The input people get wrong most often is the coefficient a, because it controls the shape of the whole curve. A positive a opens the parabola upwards, like a bowl; a negative a opens it downwards, like an upside-down bowl. The bigger the size of a, the narrower and steeper the bowl. The derivative formula f'(x) = 2ax + b has 2a in it, so doubling a doubles the rate at which the slope itself changes.
The coefficient b shifts the slope at x = 0. When x is zero, the derivative is exactly b, because f'(0) = 2a × 0 + b = b. So b is the slope of the curve where it crosses the y-axis — the starting steepness before the x² term takes over. A large positive b means the curve is already climbing steeply at the y-axis; a negative b means it is falling there.
The constant c moves the whole curve up or down without changing its shape, and it disappears from the derivative entirely. That surprises people: changing c from 5 to 500 does not change f'(x) at all, because the slope of a curve does not depend on how high the curve sits. A quadratic equation calculator finds where the curve crosses zero, and there c matters a great deal — but for the slope, it does not.
Together, a and b decide where the turning point sits. The slope is zero when 2ax + b = 0, which is x = -b ÷ 2a. For the default function, that is x = -2 ÷ 6, which is about -0.33 — the bottom of the bowl, where the curve stops falling and starts rising. A slope calculator measures the slope between two points on a straight line, and the derivative is the same idea taken to a single point on a curve.
A worked example: 3x² + 2x + 5 at x = 2
Here is the default example in full, step by step. The function is f(x) = 3x² + 2x + 5 and the point is x = 2. First, the function value: 3 × 2² = 12, 2 × 2 = 4, plus the constant 5, giving 12 + 4 + 5 = 21. The point on the curve is (2, 21).
Second, the derivative formula: differentiate term by term. The derivative of 3x² is 6x, the derivative of 2x is 2, and the derivative of 5 is 0, so f'(x) = 6x + 2. That formula is itself a function — a straight line — and it gives the slope of the parabola at any x you choose.
Third, the derivative at the point: put x = 2 into the formula to get 6 × 2 + 2 = 14. The slope of the curve at (2, 21) is 14, which means the curve is rising steeply there — for a small step forward in x, the function rises about fourteen times as far. The calculator shows 14 as the headline result, 21 as the function value, and f'(x) = 6x + 2 as the formula.
Check the sign while you are there. A positive derivative means the function is increasing at that point, a negative one means it is decreasing, and zero means it is flat — a top, a bottom, or a flat spot. Here the derivative is 14, strongly positive, so the function is climbing fast at x = 2, which matches the bowl opening upwards with its bottom far to the left.
Where derivatives actually get used
In physics, the derivative of position is velocity and the derivative of velocity is acceleration. A ball thrown upwards has a height that follows a quadratic, and its derivative at any moment is its speed — positive on the way up, zero at the top, negative on the way down. That is the most concrete picture of a derivative there is, and it is why calculus was invented.
In business, the derivative of a profit function is the marginal profit — the extra profit from selling one more unit. A company that knows its marginal profit can decide whether producing more is worth it: while the derivative is positive, each extra unit adds profit, and when it turns negative, each extra unit loses money. A profit margin calculator works out the margin on a single sale, and the derivative extends that thinking across a whole production run.
In optimisation, derivatives find the best point. The maximum or minimum of a smooth function sits where its derivative is zero, because that is where the function stops rising and starts falling, or the reverse. Engineers use this to minimise cost, maximise strength and find the most efficient shape — all by setting a derivative to zero and solving.
In machine learning and statistics, derivatives drive the training of models. Gradient descent follows the derivative downhill to find the lowest error, step by step, and the slope at each step decides how far to move. A linear equation calculator solves the straight-line version of these problems, and the derivative is what makes the curved version solvable.
Derivative calculator vs a scientific calculator
A scientific calculator can evaluate a derivative numerically on some models, but it does so by sampling points around x and estimating the slope — it never shows you the formula. This calculator shows the derivative formula itself, f'(x) = 6x + 2, which is the part you actually need to learn: the formula works at every x, while a single number works only at one.
The other difference is the input. A scientific calculator asks you to type the function, which means learning its syntax for powers and coefficients. Here you enter the three coefficients in labelled boxes, which removes the syntax entirely — there is nothing to mistype except the numbers themselves, and those are the numbers the problem gives you.
Where a scientific calculator wins is on functions that are not quadratics. Sines, exponentials, logarithms and products of functions all need the full rules of differentiation, and a scientific calculator or a computer algebra system handles them. This calculator is honest about its scope: quadratics only, done exactly, with the formula shown.
For learning the power rule and the meaning of a slope, the quadratic calculator is the better tool. For a function with more terms or a different shape, use a fuller tool — and a scientific calculator is the natural next step when the function outgrows three coefficients.
Common derivative mistakes
The first mistake is differentiating the constant. The derivative of 5 is 0, not 5 and not 1 — a constant does not change, so its rate of change is zero. Beginners often carry the constant into the derivative formula, giving f'(x) = 6x + 2 + 5, which is wrong. Drop the constant and the formula is right.
Second: forgetting to multiply by the power. The derivative of 3x² is 6x, not 3x — the power rule brings the 2 down in front. The derivative of x² is 2x, not x, and the derivative of 5x² is 10x, not 5x. The coefficient in front of x in the derivative is always 2a, never a.
Third: mixing up f(x) and f'(x). The function value at x = 2 is 21 and the derivative is 14 — different numbers answering different questions. The function value says where the curve is; the derivative says how steep it is there. If a problem asks for the slope, give the derivative; if it asks for the height, give the function value.
Fourth: expecting the derivative to be zero at x = 0. The derivative at zero is b, not zero — for the default function it is 2. The derivative is zero only at the turning point, x = -b ÷ 2a, which for this function is about -0.33. Zero slope happens at one special x, not at x = 0, unless b happens to be zero.
How to use this derivative calculator
Using it takes seconds. Enter the coefficients a, b and c of your quadratic f(x) = ax² + bx + c — the default is 3, 2 and 5 — then enter the point x where you want the derivative, which defaults to 2. The derivative, the function value and the derivative formula appear instantly.
This calculator handles polynomials only. There is no box to type a function into, so functions with sines, exponentials, logarithms or fractions need a fuller tool. If your function is a quadratic, enter its coefficients here; if it is not, the coefficients cannot describe it, and no answer this page gives would be right.
Read the three results together. The formula tells you the slope at any x, the derivative tells you the slope at your x, and the function value tells you where the curve is at your x. Together they describe the point completely — position and steepness in one view.
Everything runs in your browser. There is no account, no form and no data sent anywhere — the numbers you type never leave your device. Use it as often as you like, for homework, for revision, or whenever a parabola needs its slope measured.