# Equation of Line Calculator

Equation of Line Calculator is an online tool that helps to calculate the equation of a line. It uses the slope-intercept form of a line to provide an equation. Thus, we need to know the slope and the y-intercept of the line.

## What is the Equation of Line Calculator?

Equation of Line Calculator helps you to compute the equation of a line when its slope and y-intercept are given. The equation of a line is represented by a linear equation given by y = mx + c. To use the * equation of line calculator*, enter the values of the slope and the intercept in the input boxes.

### Equation of Line Calculator

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 using the equation of line calculator:

**Step 1:**Go to Cuemath's online equation of line calculator.**Step 2:**Enter the slope(m) and intercept(c) in the given input box.**Step 3:**Click on the**"Solve"**button to find the equation of the line.**Step 4:**Click on the**"Reset"**button to clear the fields and enter different values.

## How Does Equation of Line Calculator Work?

A straight line is formed when two points are joined and that segment is extended infinitely in both directions. The equation of a line is a function that is satisfied by all points lying on that line. Points that do not lie on this straight line will not satisfy this function. The degree of the equation of a straight line will always be 1. There are many methods to find the equation of a line depending upon the known parameters. These are point-slope form, two-point form, slope-intercept form, intercept form, and normal form. The slope-intercept form of the equation of a line is widely used as it is the easiest to work with. There are certain important terms associated with this form as given below:

**Slope:**The slope is used to define the steepness of a straight line with respect to a horizontal. The slope can be either positive or negative. It can also be defined as the change in the ratio of y-coordinates with respect to the x-coordinates.**Intercept:**The point at which a line intersects or crosses the x or y-axis is known as the intercept. To determine the equation of a line using the slope-intercept form we need to know the y intercept.

Algebraically, a line is defined as a linear equation in two variables.

The equation of the line using the slope-intercept form is given by

y = mx + c

where m is the slope of a line, and c is the y-intercept

## Solved Examples on Equation of Line:

**Example 1:** Find the equation of a line if the slope is 5 and its intercept is 7. Verify it using the equation of line calculator.

**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

**Example 2:** Find the equation of a line if the slope is 20 and its intercept is 3. Verify it using the equation of line calculator.

**Solution:**

Given:** **Slope(m) = 20, Y-intercept = 3

Equation of the line: y = mx + c

y = 20x + 3

20x - y + 3 = 0

Therefore, equation of line is 20x - y + 3 = 0

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

- Slope = 12, and y-intercept = 7
- Slope = 5, and y-intercept = 8

**ā Math Calculators:**

visual curriculum