Linear Relationship Calculator

This Linear Relationships Calculator makes it easy to explore linear relationship equations in a hands-on way. You can work out an equation from two points, start with a slope and intercept, or quickly solve for either x or y. Every calculation comes with step-by-step solutions so you can follow the process, and an interactive graph that shows the line visually, helping you connect the numbers with the picture.

Linear Relationship Calculator

Linear Relationship Calculator

Linear Equation Forms

y = mx + b
Where:
m = Slope
b = y-intercept

Calculate Equation from Two Points

Calculate Equation from Slope and Intercept

Solve for x or y

Calculation Result

Calculation Steps

Graph of the Linear Equation

About Linear Relationships

A linear relationship describes a straight-line connection between two variables, x and y. The general form of a linear equation is:

y = mx + b

Where:

  • m is the slope (rate of change)
  • b is the y-intercept (value of y when x = 0)

Key properties of linear relationships:

  • The graph is always a straight line
  • The slope is constant throughout the line
  • The relationship between x and y is proportional
  • You can calculate the slope using two points: m = (y₂ – y₁) / (x₂ – x₁)
  • You can find the y-intercept using: b = y – mx
m = Slope
b = Y-intercept
(x₁, y₁) = First point
(x₂, y₂) = Second point