Back to Linear Relations

Equation of a line from its graph worksheet – Grade 7

Questions at easy, medium and hard levels. Pick a level and get a fresh set every time, with instant feedback.

How to solve equation of a line from its graph questions

Learn it Read y = mx + b straight off a graph. b is where the line crosses the y-axis. For the slope m, pick two points where the line passes through grid corners and work out rise ÷ run, going left to right: up is positive, down is negative.

Example: A line crosses the y-axis at (0, 1) and also passes through (2, 4). Find its equation.

  1. The y-intercept is 1, so $b = 1$.
  2. From (0, 1) to (2, 4): rise 3, run 2.
  3. $m = \frac{3}{2}$, so $y = \frac{3}{2}x + 1$.

Loading questions…

Equation of a line from its graph worksheet, Grade 7 (printable PDF with answer key), page 1 preview

Free printable PDF: Equation of a line from its graph worksheet (Grade 7)

20 questions from easy to hard, with an answer key on the last page. Print it, then scan the QR code on the sheet to check the answers online and earn stars.

Download the PDF worksheet

Want a different version? Use Printable worksheet above for a new set of questions every time.

Worked examples: Equation of a line from its graph

Try each one first, then open the solution.

  1. Easy

    Find the y-intercept of the line on the graph.

    -6-6-5-5-4-4-3-3-2-2-1-1112233445566xy
    Show the solution

    Answer: -4

    The line crosses the y-axis at (0, −4), so the y-intercept is −4.

  2. Medium

    What is the slope of the line on the graph?

    -6-6-5-5-4-4-3-3-2-2-1-1112233445566xy
    Show the solution

    Answer: 3

    The line crosses the y-axis at (0, −5), so b = −5. From (0, −5) to (1, −2): rise 3, run 1, so m = 3 ÷ 1 = 3.

  3. Hard

    Which equation matches the line on the graph?

    -6-6-5-5-4-4-3-3-2-2-1-1112233445566xy

    Choices: $y = \frac{4}{3}x - 4$ · $y = \frac{4}{3}x + 4$ · $y = \frac{3}{4}x - 4$ · $y = -\frac{4}{3}x - 4$

    Show the solution

    Answer: $y = \frac{4}{3}x - 4$

    The line crosses the y-axis at (0, −4), so b = −4. From (0, −4) to (3, 0): rise 4, run 3, so m = 4 ÷ 3 = 4/3. So the equation is $y = \frac{4}{3}x - 4$.

🧰 Try it hands-on: Meridian Graph. Graph it on our free graphing calculator and drag the sliders to see how it changes.