How to find slope on Desmos

Updated November 2026 · Sarkari Tools math team

Quick answer

How you find slope in Desmos depends on what you have: two points, a table of data or a curve. Desmos can do the arithmetic for all three.

(7-3)/(5-1)y_1~mx_1+bf'(3)

Step by step

  1. From two points: type (y_2-y_1)/(x_2-x_1) with numbers, for example (7-3)/(5-1). Desmos shows 1.
  2. From a table: put the points in x₁ and y₁ and type y_1~mx_1+b. The m value is the slope.
  3. From an equation: rewrite it as y = mx + b. The number in front of x is the slope.
  4. On a curve: define f(x)=x^2 and type f'(3) to get the slope of the tangent at x = 3 (which is 6).

Try it live

This graph is drawn by our free graphing calculator, which uses the same style of typing. Edit any line and the graph updates.

drag to pan · scroll to zoom

Common mistakes and tips

  • Keep the order the same: (y₂ − y₁) on top and (x₂ − x₁) underneath.
  • A vertical line has undefined slope, and Desmos shows an error for the division.
  • Slope is “rise over run”, so a negative slope goes down from left to right.

Frequently asked questions

How do I find the slope of a line through two points on Desmos?

Put both points in a table and fit y₁ ~ mx₁ + b. With exactly two points, m is their slope.

How do I find the slope at a point on a curve?

Define the curve as f(x) and evaluate f′(a) at that x value.

Can Desmos show slope as a fraction?

Yes. Click the fraction toggle next to a decimal answer when it is a simple fraction.

No Desmos? Use our free online graphing calculator

Our free online graphing calculator works in any browser with no sign-up, and it shows step-by-step working where it can.

More Desmos guides

Desmos is a trademark of Desmos Studio PBC. Sarkari Tools is independent and not affiliated with or endorsed by Desmos. Our guides describe how to use the Desmos calculator; our own calculators are separate tools.