Search the complete library

What do you want to learn or calculate?

Quick linksAll calculatorsMath subjectsPractice questionsFormula library
← Back to calculators

Partial Derivative Calculator

Solve partial derivative problems with clear steps, notation, and a final check.

d/dx

Calculate without using AI.

Evaluate the governing formula locally in your browser. Define each known quantity once, then change values to test another case instantly.

Local result

Choose an example or enter a formula.

Show your work Step-by-step method
  1. No account, AI request, or paid token is used.

Recent calculations

No calculations yet.

Calculus

Partial Derivative Calculator explained

The short version

  • A partial derivative differentiates with respect to one variable while every other variable is frozen as a constant.
  • The curly ∂ symbol is the signal that other variables exist and are being held still.
  • Mixed second partials are equal for the functions you meet in class, so f_xy and f_yx are a free check on your work.

The formula this page uses

∂f/∂x = lim[h→0] ( f(x + h, y) − f(x, y) ) / h, with y held constant

What each part means

SymbolWhat it means
f(x, y) — The functionA rule with two or more inputs, such as a surface height or a temperature.
∂f/∂x — Partial in xSlope of the surface in the x direction only, measured as a rise per unit of x.
∂f/∂y — Partial in ySlope in the y direction only. Usually a completely different number.
f_xy — Mixed second partialDifferentiate by x, then by y. Written ∂²f/∂y∂x.

Show your work: a full example

  1. The functionf(x, y) = x³y² + 5x − 4y
  2. Differentiate by x, treating y² as a fixed number∂f/∂x = 3x²y² + 5
  3. Note that −4y vanished−4y has no x in it, so it behaves like a constant and differentiates to 0
  4. Differentiate by y, treating x³ as a fixed number∂f/∂y = 2x³y − 4
  5. Evaluate ∂f/∂x at (2, 3)3(2)²(3)² + 5 = 3(4)(9) + 5 = 108 + 5 = 113
  6. Evaluate ∂f/∂y at (2, 3)2(2)³(3) − 4 = 2(8)(3) − 4 = 48 − 4 = 44
  7. Read itat (2, 3) the surface climbs 113 per unit east and 44 per unit north

A second, different case

  1. A different case: second-order partials of the same functionf(x, y) = x³y² + 5x − 4y
  2. Differentiate ∂f/∂x = 3x²y² + 5 again by xf_xx = 6xy²
  3. Differentiate ∂f/∂y = 2x³y − 4 again by yf_yy = 2x³
  4. Now differentiate ∂f/∂x by y insteadf_xy = ∂/∂y (3x²y² + 5) = 6x²y
  5. And differentiate ∂f/∂y by xf_yx = ∂/∂x (2x³y − 4) = 6x²y
  6. They match, as Clairaut's theorem promisesf_xy = f_yx = 6x²y
  7. Evaluate all three at (2, 3)f_xx = 6(2)(9) = 108, f_yy = 2(8) = 16, f_xy = 6(4)(3) = 72
Copy-ready example

f(x, y) = x³y² + 5x − 4y

The function

Partial derivatives of functions that keep reappearing

f(x, y)∂f/∂x∂f/∂y
x³y²3x²y²2x³y
x² + y²2x2y
x / y1 / y−x / y²
sin(xy)y·cos(xy)x·cos(xy)
e^(xy)y·e^(xy)x·e^(xy)
ln(x² + y²)2x / (x² + y²)2y / (x² + y²)
x·e^ye^yx·e^y

Three mistakes to check for

What students writeWhy it's wrongDo this instead
∂/∂x of x³y² = 3x²·2yBoth variables were differentiated at once. Only x moves; y² is frozen and simply comes along for the ride.∂/∂x (x³y²) = 3x²y².
∂/∂x of −4y = −4There is no x in −4y, so with respect to x it is a constant and its derivative is 0.The whole term disappears: ∂f/∂x = 3x²y² + 5.
Writing df/dx instead of ∂f/∂xThe straight d claims f depends on x alone, which changes what the symbol means in every later formula.Use the curly ∂ whenever a second variable is being held still.

Questions about the Partial Derivative Calculator

What does ∂f/∂x mean on a picture?

Slice the surface with the plane y = 3, which leaves an ordinary curve, and measure that curve's slope. ∂f/∂y slices the other way with x = 2. The two slices through the same point usually have very different steepness, here 113 against 44.

Are f_xy and f_yx always equal?

For every function in a normal course, yes, and Clairaut's theorem says so whenever the second partials are continuous. Counterexamples exist but are deliberately pathological, so a mismatch in your homework means an arithmetic slip.

How do the partials combine into the gradient?

Stack them: ∇f = (∂f/∂x, ∂f/∂y). At (2, 3) that is (113, 44), a vector pointing in the steepest uphill direction, with length √(113² + 44²) giving the steepest slope.

Do I still need the product and chain rules?

Yes, exactly as in one variable. For sin(xy) differentiated by x, the inside function xy has x-derivative y, so the chain rule gives y·cos(xy), which is the row in the table above.

Where to go next

Continue from this result

Turn one calculation into understanding.

Compare another tool, review the underlying idea, then solve a fresh problem without copying the example.