# Equation of Line Calculator

Cuemath's Equation of Line Calculator is an online tool that helps to calculate the equation of the line.

## What is the Equation of Line Calculator?

Cuemath's online Equation of Line calculator helps you to calculate the equation of the line in a few seconds.

NOTE: Enter the values upto three digits only.

## How to Use Equation of Line Calculator?

Please follow the steps below to find the equation of the line:

**Step 1:**Enter the slope(m) and intercept(c) in the given input box.**Step 2:**Click on the**"Solve"**button to find the equation of the line.**Step 3:**Click on the**"Reset"**button to clear the fields and find the equation of the line for different values.

## How to Find Equation of Line?

A straight line is formed when two points are joined and that segment is extended infinitely in both directions. Algebraically, a line is defined as a linear equation in two variables.

**The equation of the line can be find using slope-intercept form i.e., y = mx + c,** where 'm' is the slope of a line, c is y-intercept

The slope is defined as the ratio between a change in one variable relative to a corresponding change in another. The slope can be either positive or negative. and it can also be defined as the change in the ratio of y-coordinates and x-coordinates.

**Solved Example:**

Find the equation of a line if the slope is 5 and its intercept is 7?

**Solution:**

Given:** **Slope(m) = 5, Y-intercept = 7

Equation of the line: y = mx + c

y = 5x + 7

5x - y + 7 = 0

Therefore ,equation of line is 5x - y + 7 = 0

Similarly, you can try the calculator to find the equation of the line for the following:

1) Slope = 12, and y-intercept = 7

2) Slope = 5, and y-intercept = 8