Gradient Calculator: Gradient, Laplacian and Directional Derivative of f(x, y, z) at a Point

Partial derivatives, gradient and Laplacian at a point.

Calculated from standard textbook formulas, with every step shown. The formulas are fixed, so the working does not need checking: what matters is the numbers you type in. Use these calculators only if you are competent to choose the inputs (loads, material strength, dimensions, supports) and check your units and assumptions. For learning and checking your own working: design and sign-off are for a qualified engineer. Drafting Central does not store the numbers you type.

How this calculator works

Type the function as an expression in x, y and z.

Enter the point and the direction.

The calculator gives the partial derivatives, the gradient, the Laplacian and the directional derivative.

Formulas used

  • \nabla f = \left(\frac{\partial f}{\partial x},\ \frac{\partial f}{\partial y},\ \frac{\partial f}{\partial z}\right)
  • \nabla^2f = \frac{\partial^2f}{\partial x^2} + \frac{\partial^2f}{\partial y^2} + \frac{\partial^2f}{\partial z^2}
  • D_{\mathbf u}f = \nabla f\cdot\mathbf u

Worked example

With the default numbers in the calculator above:

  1. Value of the function at the point: 2
  2. Partial derivative with respect to x: 4
  3. Partial derivative with respect to y: 1
  4. Partial derivative with respect to z: 1
  5. Size of the gradient: 4.24264
  6. Laplacian: 4
  7. Directional derivative along your direction: 3.4641

Change the numbers in the calculator to see the full working, every step, for your own case.

Common questions

What does the gradient tell me?

It points in the direction in which the function increases fastest, and its size is the rate of increase in that direction.

What is the Laplacian?

The sum of the second partial derivatives. It appears in heat flow, wave and electrostatic equations.

What is a directional derivative?

The rate of change of the function along a chosen direction. It is the gradient dotted with a unit vector in that direction.

Related calculators

Got a question about this? Ask an engineering question and get a plain-language answer with references.

Further reading: Any multivariable calculus text (the gradient and directional derivative).

Need a calculator we do not have?

Tell us what you would like to calculate. We read every request and build the most asked-for ones.

We store your request (and your email if you give it) to decide what to build. We do not store the numbers you type into calculators.

Embed this calculator on your own page

Copy this code into your page. The calculator runs inside the frame and links back to Drafting Central.

Need this drawn, designed or checked?

Drafting Central is a mechanical engineering and drafting business working with customers across Australia and around the world. A calculator gives you the numbers; we can turn them into drawings and designs.

Need help with a real project?

Talk to Drafting Central →

← All engineering calculators