ToolHuts

Practical tools for measured work

Linear equation grapher

Graph Ax+By=C, including vertical lines, with slope, intercepts and coordinate table.

Calculate the layout, check the diagram, then print the result for the shop or jobsite.

x: -5 .. 5y: -2.333333333 .. 14.33333333
Equation5x + (3)y = 18
Slope-1.666666667
Y intercept6
X intercept3.6

For a vertical line, the entered graph range applies to y. Other lines use it for x.

Points on the line

xy
-514.33333333
-412.66666667
-311
-29.333333333
-17.666666667
06
14.333333333
22.666666667
31
4-0.6666666667
5-2.333333333

How it works

Enter coefficients for Ax+By=C. If B is nonzero, y=(−A/B)x+C/B. If B is zero and A is nonzero, the line is vertical at x=C/A. The example 3y=18−5x becomes 5x+3y=18, with slope −5/3 and y-intercept 6.

Current-input example

The result above uses these exact values. This snapshot is included when the page is printed so the output can be checked against the original measurements.

Coefficient A in Ax + By = C
5
Coefficient B in Ax + By = C
3
Constant C
18
Minimum graph coordinate
-5
Maximum graph coordinate
5

Primary result: Equation: 5x + (3)y = 18.

Before using the result

  • Check the selected mode, units and input values before using the result.
  • Read the assumptions and rounding rules; compare the worked example with your intended calculation.
  • A numerical result does not supply missing context or change the stated limitations.

Limitations

Both A and B cannot be zero. Axis scales are independent. Enter the equation signs explicitly; a search phrase with missing signs or unseen answer choices does not identify one graph.

Frequently asked questions

What should I verify before using this result?

Check the input values, units, dates and assumptions. Compare the method and its stated limits with the source relevant to your task.

Why might the finished result differ?

Results depend on the entered data and the model’s assumptions. Rounding, changing conditions or omitted factors can affect the comparison. Read the limitations before using the result.