Slope of a Function at a Point

Use this interactive to find the slope at a point. Instructions below.

View Larger


Type your function into the top box ... your function is plotted live.

Now drag the points "A" and "B" to the function line. When they are close they will "snap" to the function.

Bring points "A" and "B" near the point where you want to find the slope.

When "A" and "B" are on top of each other the slope could be anything!

So keep them a small distance apart.

  points too close
zoom in to points  

Now Zoom In: by drawing a rectangle around the points, or pressing "Fit".

Now bring the points close together again.

Keep zooming and moving the points closer together until you are happy with the answer.

This is the idea behind differential calculus! We can't have a gap of zero (the slope could be anything), but as the gap heads towards zero, the slope heads towards the true slope at that point.


The are only a few hundred pixels in either direction, and so the calculations are not totally accurate! But they should give you a good feel for what is going on.

And don't worry, you can usually use differential calculus to find an accurate answer.