Quotient Rule Calculator
Last updated: 7 August 2026
Reviewed by Gavin Meiring, Lead research and primary author Ā· Doctoral Candidate (Corporate Governance) Ā· Research and drafting assisted by AI
- The quotient rule needs no separate formula in principle ā it can be derived from the product rule and chain rule by writing f/g as f Ć (1/g).
- Generations of students have memorised it with the chant 'low d-high minus high d-low, over low squared'.
- In Leibniz's notation the quotient rule mirrors the product rule so neatly that both appear side by side in his first published calculus paper of 1684.
Quotient Rule Calculator
The quotient rule calculator differentiates functions that are expressed as one function divided by another, applying the quotient rule and displaying the complete working. It is intended for calculus students and professionals who need accurate derivatives of rational and mixed functions such as sin(x)/x or (x^2+1)/(x-3). Enter your numerator and denominator to get the derivative instantly.
How to Use the Quotient Rule Calculator
- Enter the numerator function u(x) in the top input field.
- Enter the denominator function v(x) in the bottom input field.
- Click Calculate to apply the quotient rule and compute the derivative.
- Review the expanded form and, where possible, the simplified result.
- Optionally substitute a specific x value to evaluate the derivative at a point.
The Formula
For a function h(x) = u(x) / v(x), the quotient rule gives:
h'(x) = [u'(x) * v(x) - u(x) * v'(x)] / [v(x)]^2
A popular memory aid is "low d-high minus high d-low, all over low squared," where "high" is the numerator and "low" is the denominator. Note the subtraction in the numerator: getting the order wrong is a common source of error.
The quotient rule requires that v(x) is not equal to zero at the point of differentiation.
Real-World Example
Find the derivative of h(x) = (2x^2 + 1) / (x - 3).
- Let u = 2x^2 + 1, so u' = 4x
- Let v = x - 3, so v' = 1
- Apply the quotient rule: h'(x) = [4x(x - 3) - (2x^2 + 1)(1)] / (x - 3)^2
- Expand the numerator: 4x^2 - 12x - 2x^2 - 1 = 2x^2 - 12x - 1
- Result: h'(x) = (2x^2 - 12x - 1) / (x - 3)^2
The derivative is (2x^2 - 12x - 1) / (x - 3)^2, valid for all x except x = 3 where the original function is undefined.
Quotient Rule Versus Rewriting as a Product
You can always convert a quotient into a product by writing h(x) = u(x) * [v(x)]^(-1), then applying the product rule combined with the chain rule on the reciprocal factor. Both methods give the same result. The quotient rule formula is faster when you recognise the fraction structure immediately. The product-and-chain approach is useful when dealing with multiple layers of composition or when you want to avoid the subtraction pattern in the numerator, which is an easy place to introduce sign errors.
Frequently Asked Questions
Why does the numerator involve subtraction rather than addition? The subtraction comes from differentiating the reciprocal 1/v(x) via the chain rule, which produces a negative sign: d/dx[1/v] = -v'/v^2. When combined with the product rule, this gives the u'v - uv' pattern in the quotient rule numerator.
What happens if the denominator is zero at a point? The original function is undefined there, and so is its derivative. Points where the denominator equals zero are not in the domain of the function, so differentiation cannot be applied at those values.
Can I use the quotient rule for the derivative of tan(x)? Yes. Write tan(x) = sin(x)/cos(x), then apply the quotient rule with u = sin(x) and v = cos(x). The result is [cos^2(x) + sin^2(x)] / cos^2(x) = 1/cos^2(x) = sec^2(x), confirming the standard derivative.
Is the quotient rule necessary, or can I always use another approach? It is never strictly necessary since you can rewrite any quotient as a product. However, the quotient rule is often faster and more direct when you have a clear fraction. For simple rational functions, expanding and differentiating term by term may be quicker still.
Why the numerator subtracts
The subtraction in the quotient rule numerator is the step students get wrong most often. It comes from the reciprocal.
Write h(x) = u(x) multiplied by [v(x)] to the power minus one. The product rule gives h'(x) = u'(x) [v(x)]^(-1) plus u(x) multiplied by the derivative of [v(x)]^(-1).
The chain rule handles that second term. Differentiating the reciprocal introduces a negative power: d/dx of [v(x)]^(-1) is minus [v(x)]^(-2) v'(x).
Put both pieces over the common denominator [v(x)]^2 and the result is h'(x) = [u'(x)v(x) minus u(x)v'(x)] / [v(x)]^2. The minus sign is not a convention to memorise. It appears because differentiating a reciprocal produces a negative power.
The same rule from the limit definition
The limit definition reaches the same place, which is worth working through once.
h'(x) = the limit as dx tends to zero of [u(x+dx)/v(x+dx) minus u(x)/v(x)] divided by dx.
Combine the two fractions in the numerator over v(x+dx)v(x):
h'(x) = the limit of [u(x+dx)v(x) minus u(x)v(x+dx)] divided by [dx v(x+dx) v(x)].
Add and subtract u(x)v(x) in the numerator and group the terms:
numerator = [u(x+dx) minus u(x)] v(x) minus u(x) [v(x+dx) minus v(x)]
Divide each bracket by dx and take the limit. The first bracket becomes u'(x)v(x). The second becomes u(x)v'(x). The factor v(x+dx) tends to v(x). The result is [u'v minus uv'] / v^2.
A worked example with an awkward numerator
Differentiate h(x) = (3x^2 + 5x) / (2x - 1).
Set u = 3x^2 + 5x, so u' = 6x + 5. Set v = 2x - 1, so v' = 2.
Apply the rule: h'(x) = [(6x + 5)(2x - 1) minus (3x^2 + 5x)(2)] / (2x - 1)^2.
Expand the first product: 12x^2 - 6x + 10x - 5, which is 12x^2 + 4x - 5.
Expand the second product: 6x^2 + 10x.
Subtract: 12x^2 + 4x - 5 - 6x^2 - 10x = 6x^2 - 6x - 5.
So h'(x) = (6x^2 - 6x - 5) / (2x - 1)^2.
Check it at x = 2 by hand. The numerator is 6(4) - 12 - 5 = 7. The denominator is (4 - 1)^2 = 9. So h'(2) = 7/9 = 0.777778.
Check the same point numerically. h(2) = (12 + 10) / 3 = 7.333333. A central difference with a step of 0.00001 returns 0.777778. Formula and numbers agree.
The table below carries the same example across five values of x.
| x | h(x) | numerator 6x^2 - 6x - 5 | h'(x) |
|---|---|---|---|
| minus 1 | 0.666667 | 7 | 0.777778 |
| 0 | 0.000000 | minus 5 | minus 5.000000 |
| 1 | 8.000000 | minus 5 | minus 5.000000 |
| 2 | 7.333333 | 7 | 0.777778 |
| 3 | 8.400000 | 31 | 1.240000 |
What the derivative says about the curve
The sign of h'(x) depends only on the numerator, because the denominator (2x - 1)^2 is never negative.
The numerator 6x^2 - 6x - 5 is zero at x = 1.540833 and at x = minus 0.540833. Those are the two stationary points.
On the left branch, below x = 0.5, the function rises to a local maximum of 0.877501 at x = minus 0.540833. It then falls away towards negative infinity as x approaches 0.5 from below.
On the right branch, above x = 0.5, the function comes down from positive infinity, reaches a local minimum of 7.122499 at x = 1.540833, and rises again.
At x = 0.5 the denominator is zero. The function has a vertical asymptote there and no derivative exists. Test the denominator before you differentiate, not after.
Four quotients side by side
Reading a worked table is faster than deriving each case from scratch. Every row below uses the same rule.
| h(x) | u | u' | v | v' | h'(x) |
|---|---|---|---|---|---|
| (2x^2 + 1) / (x - 3) | 2x^2 + 1 | 4x | x - 3 | 1 | (2x^2 - 12x - 1) / (x - 3)^2 |
| (3x^2 + 5x) / (2x - 1) | 3x^2 + 5x | 6x + 5 | 2x - 1 | 2 | (6x^2 - 6x - 5) / (2x - 1)^2 |
| sin(x) / x | sin(x) | cos(x) | x | 1 | (x cos(x) - sin(x)) / x^2 |
| (x^2 + 1) / (x^2 - 1) | x^2 + 1 | 2x | x^2 - 1 | 2x | minus 4x / (x^2 - 1)^2 |
The fourth row is the one to check yourself against. At x = 2 the numerator is 4(3) minus 5(4) = 12 minus 20 = minus 8, and the denominator is (4 - 1)^2 = 9, so h'(2) = minus 8/9 = minus 0.888889.
When the quotient rule does not apply
Three conditions have to hold before the rule earns its keep.
The denominator must be non-zero at the point. A zero denominator means no derivative, whatever the formula says.
Both u and v must be differentiable at the point. A piecewise function with a corner in either part breaks the rule at that corner.
The denominator must be a single expression. If v itself is a quotient, apply the rule twice or simplify first.
Two more checks worth doing by hand
The table of four quotients is more useful if you verify a row or two against the numbers.
Take the third row, sin(x)/x, at x = 1. The rule gives (x cos(x) minus sin(x)) / x^2. With x = 1 that is 0.540302 minus 0.841471 = minus 0.301169, divided by 1, so h'(1) = minus 0.301169. A central difference with a step of 0.000001 returns minus 0.301169. The formula holds.
Take tan(x) at x = 0.5. Written as sin(x)/cos(x), the rule gives [cos(x)cos(x) minus sin(x) multiplied by minus sin(x)] / cos^2(x), which is [cos^2(x) + sin^2(x)] / cos^2(x). The bracket equals one, so the derivative is 1 / cos^2(0.5) = 1 / 0.770151 = 1.298446. A central difference again returns 1.298446.
The second check is worth keeping in mind because it shows the rule recovering a known result from a quotient that has no obvious quotient structure. The trigonometric identity does the work, and the rule does the rest.
Where the rule statement comes from
The statement used here matches the entry in Wolfram MathWorld, which writes the rule as (g f' minus f g') / g^2 and cites Abramowitz and Stegun, Handbook of Mathematical Functions, 9th printing, Dover, 1972, page 11, for the surrounding derivative material. Nothing in this page depends on that reference beyond the form of the rule.
Assumptions the calculator makes
The tool differentiates symbolically, so the output is exact rather than numeric. It expands the numerator before it displays the result, which is why the printed form can look longer than the input.
The simplified form is not always reachable. In the worked example the numerator 6x^2 - 6x - 5 has no rational factor, so the expanded fraction is already the tidiest exact answer.
If u and v carry units, the derivative carries the unit of u divided by the unit of v, per unit of x. A speed divided by a length gives a rate per unit of x, and the squared denominator does not change that.
Also try these free tools: