How to find slope on Desmos
Updated November 2026 · Sarkari Tools math team
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
- From two points: type
(y_2-y_1)/(x_2-x_1)with numbers, for example(7-3)/(5-1). Desmos shows 1. - From a table: put the points in x₁ and y₁ and type
y_1~mx_1+b. The m value is the slope. - From an equation: rewrite it as y = mx + b. The number in front of x is the slope.
- On a curve: define
f(x)=x^2and typef'(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.
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
- How to graph a circle on Desmos
- How to graph piecewise functions on Desmos
- How to graph polar coordinates on Desmos
- How to graph parametric equations on Desmos
- How to make a table on Desmos
- How to do regression on Desmos
- How to add a slider in Desmos
- How to connect points on Desmos
- How to restrict the domain (limit a function) in Desmos
- How to do derivatives in Desmos
- How to do limits in Desmos
- How to do a cube root on Desmos
- How to make a heart in Desmos
- How to convert a decimal to a fraction on Desmos
- How to use Desmos on the SAT
- How to make a box plot on Desmos
- How to do a subscript in Desmos
- How to put a function in Desmos
- How to graph inequalities on Desmos
- How to find the intersection of two graphs on Desmos
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.