Partial Derivative Calculator screenshot

Partial Derivative Calculator

Differentiate f(x, y, z) with respect to one variable symbolically, and evaluate that partial derivative at a point.

Privacy First
0 Runs
Updated 2026-11-22
Runs in your browser
No sign-up, no upload
Formula plus point value

Partial Derivative Calculator

Differentiate f(x, y, z) with respect to one variable symbolically, and evaluate that partial derivative at a point.

How this page computes

The expression is parsed into a tree, then differentiated by the sum, product, quotient and chain rules with every other variable held constant. On x^2·y + sin(x·y) the derivative with respect to x is 2·x·y + cos(x·y)·y, printed as a formula rather than only as a number.

The point values are substituted into that same symbolic derivative, so the printed formula and the printed number cannot disagree. Second and third order derivatives repeat the same rule on the previous result.

The supported forms are the grammar the page states: numbers, x, y, z, pi, e, + - · / ^, parentheses and sin, cos, tan, sec, exp, ln, sqrt, atan. A name outside that list is refused by name instead of being approximated silently.

The calculation runs entirely in this browser tab; nothing is uploaded.

The page differentiates an expression in x, y and z with respect to the variable you choose, and prints the derivative as a formula. On x^2·y + sin(x·y), ∂/∂x is 2·x·y + cos(x·y)·y — every y is treated as a constant, which is the whole difference between a partial derivative and an ordinary one.

A point is optional in the sense that it only changes the last line: the formula is the answer, and the number at (x, y) is that formula evaluated. Second and third order derivatives are the same rule applied again to the previous result.

How to use Partial Derivative Calculator

Type the expression in the input box, using x, y and z for the variables. Implicit multiplication works: 2x means 2·x, and xy means x·y.

Choose the variable to differentiate with respect to, and the order. Order 1 is the first partial derivative; order 2 differentiates the first result again with respect to the same variable.

Optionally set the point. The page prints the derivative formula and then its value at (x0, y0, z0); the point value never replaces the formula.

How the method works

A partial derivative asks how fast the output changes when one input moves and the others stay fixed. The parser therefore carries the other variables as symbols through every rule, and the simplifier folds only the terms that are genuinely constant.

Because the derivative is symbolic, the same answer is valid for every point. That is why the page prints the formula first and the point value second: the number is a convenience, and the formula is the claim.

What to Expect

Best for

  • A first or second partial derivative of an elementary expression
  • Checking a hand-worked ∂/∂x against a formula
  • Seeing how the other variables are held constant

Not ideal for

  • A derivative of a function outside the supported grammar, such as abs or sinh
  • A numerical derivative where no formula is wanted
  • A mixed partial that needs a function the parser does not know

What this tool keeps

  • Every coefficient, variable and function name exactly as typed

What may need cleanup

  • Nothing: the derivative is the final answer

Common errors

  • Choosing a variable the expression does not contain is refused with the list of variables it does use
  • An unsupported function is refused by name
  • A malformed expression is refused before any arithmetic runs

Example use cases

  • Differentiate x^2·y + sin(x·y) in x
  • Find the second derivative of x^3·y in x
  • Evaluate ∂/∂y of x^2·y at (1, 2)

Sample input

f(x, y) = x^2·y + sin(x·y), variable x, order 1, point (1, 2)

Sample output

∂f/∂x = 2·x·y + cos(x·y)·y, and at (1, 2) the value is 3.16770632691

Who this is for

  • Students checking a calculus exercise
  • Readers who want the formula, not only a number

Frequently asked questions

What does holding y constant mean?

It means y is treated as a fixed number while x moves. The derivative of x^2·y is 2·x·y because y is a multiplier that does not change with x, and the derivative of sin(x·y) is cos(x·y)·y by the chain rule.

Can I take a second derivative?

Yes. Set the order to 2 and the page differentiates the first partial derivative again with respect to the same variable. Mixed partials such as ∂²/∂x∂y are not a separate control on this page; differentiate once in x, then run the result again in y.

Why is my function refused?

The parser knows sin, cos, tan, sec, exp, ln, sqrt and atan, plus the four arithmetic operations and powers. A function outside that list is refused by name rather than differentiated by a rule the page does not have.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.