A horizontal line is a straight line that is drawn from left to right or right to left and it is parallel to the xaxis in the coordinate plane. In other words, a straight line that has an intercept only on the yaxis, not on the xaxis is called a horizontal line. The base that we draw for flat shapes is a horizontal line. Let us learn the properties of the horizontal line, its equation, and the slope of a horizontal line.
What Is a Horizontal Line?
Horizontal lines are also known as sleeping lines. In coordinate geometry, horizontal lines are those lines that are parallel to the xaxis. In geometry, we can find horizontal line segments in many shapes, such as quadrilaterals, 3d shapes, etc. In real life, we can find horizontal lines on the steps of the staircase, planks on the railway tracks, etc.
Horizontal Line Slope
The slope of a horizontal line is zero. While calculating slope = rise/run, we see that there is no rise in the ycoordinates as they are the same throughout the horizontal line. Hence there is no change in y coordinates and eventually, the slope of the horizontal line is 0. Let us understand this by drawing a horizontal line on a coordinate plane. Follow the steps to draw a horizontal line on a coordinate plane.

 Step 1: Place a dot at any random point on the coordinate plane, let’s say at (2, 3).

 Step 2: Identify its ycoordinate. Here the ycoordinate is 3.

 Step 3: Plot some other points whose ycoordinate is the same as the point plotted. Let’s plot (1, 3), (2, 3), etc.

 Step 4: Join all the points and extend them on both sides to get the horizontal line.
We can see that, there is no change in the y point on a horizontal line. The horizontal line continues straight left or right. The slope of a horizontal line is 0 as by comparing y = b with y = m x + b, we get the slope to be m = 0. Thus, the slope of a horizontal line is 0.
Horizontal Line Equation
Considering the previous image, we can see that the ycoordinates of all the points on a horizontal line are the same. Thus, the equation of a horizontal line through any point (a,b) is of the form: y = b, where b is constant.
Here x is absent. It means that the xcoordinate can be anything whereas the ycoordinate of all the points on the line must be ‘b’ only. The yintercept of the horizontal line is (0, b)
Considering the previous image points (a,b): (2, 3), (1, 3), (2, 3)
We can see that the ycoordinate of all these points is constant, which is 3. Hence, the equation of this line is y = 3
.
Horizontal Line Test
The horizontal line test is used to determine whether a function is a onetoone function. According to the horizontal line test, a function is NOT onetoone if there exists a horizontal line that passes through more than one point of the graph (of the function). In other words, in a onetoone function, there is only one unique xvalue for every yvalue.
In the first image, f (x) is onetoone because every horizontal line passes through at most one point of the graph.
In the second image, g (x) is not onetoone as the horizontal line that passes through more than one point of the graph.
Horizontal and Vertical Lines
Horizontal means “sidetoside” hence horizontal line is a sleeping line, whereas, vertical means “uptodown” therefore a vertical line is a standing line. Horizontal lines are lines drawn from left to right or right to left and are parallel to the xaxis. Vertical lines are lines drawn up and down and are parallel to the yaxis. Horizontal lines and vertical lines are perpendicular to each other.
☛ Also Check:
FAQs on Horizontal Line
What is a Horizontal Line?
A horizontal line is a line parallel to the xaxis, where the ycoordinates are the same throughout. The yintercept of a horizontal line is (0,b). The equation of the horizontal line is y = b.
Does a Horizontal Line Have a Slope?
No, the slope of a horizontal line is zero because there is no vertical change on a horizontal line. A horizontal line is drawn parallel to the xaxis on the coordinate plane and the ycoordinate is constant, throughout. There is no rise in the ycoordinates. Therefore, the slope of the horizontal line is zero.
What Is a Horizontal and Vertical Line?
A horizontal line is a line that is parallel to the xaxis of the coordinate plane and its equation is of the form y = b, where ‘b’ is constant, whereas, a vertical line is a line parallel to the yaxis and its equation is of the form x = b, where ‘b’ is constant.
How Is a Horizontal Line Drawn?
To draw a horizontal line on paper, use a ruler. Place it parallel to the horizontal edge of the paper and draw a line along the ruler.
To draw a horizontal line on a coordinate plane, use the following steps:

 Place a dot at any random point on the coordinate plane, let’s say at (1, 5).

 Identify its ycoordinate. Here, the ycoordinate is 5.

 Plot some other points whose ycoordinate is the same as the point plotted. Let’s plot (0, 5), (2, 5), etc.

 Join all the points to get the horizontal line.
What Is the Equation of a Horizontal Line?
The equation of a horizontal line passing through a point (a, b) is y = b, where ‘b’ is constant because in the equation y = mx + b, where ‘b’ is the yintercept, there is no change in the value of y on the horizontal line and the slope is zero, therefore, the equation of a horizontal line is y = b.
Is a Horizontal Line Drawn Side to Side or Up and Down?
A horizontal line is drawn side to side, parallel to the xaxis of a coordinate plane and it is perpendicular to the yaxis. The up and down line is a vertical line and it is parallel to the yaxis and perpendicular to the xaxis.
What Is Meant by a Horizontal Line?
Horizontal lines are also known as sleeping lines. In coordinate geometry, horizontal lines are those lines that are parallel to the xaxis and form the equation, y = b, where ‘b’ is constant, as there is no change in the ycoordinate because the slope is equal to zero.
What Are the Horizontal Lines on the Globe Called?
Horizontal lines on the globe are called latitudes and they run parallel to the equator.
What is The Horizontal Line at 0 Called as?
The horizontal line at 0 is called the horizon.
If the Equation of a Line is y = 5, Then Is it a Horizontal Line or a Vertical Line?
If the equation of a line is y = 5 , then it is a horizontal line. This line is parallel to the xaxis and passes through the point y = 5 at the yaxis.
What Are The Properties of Horizontal Lines?
The horizontal lines are the sleeping lines that run from left to right or right to left. The following are the properties of horizontal lines.

 In a coordinate plane, the horizontal lines are parallel to the xaxis and perpendicular to the yaxis. The ycoordinates are the same throughout, for different xcoordinates.

 The horizontal line slope is zero, as there is no vertical rise in the ycoordinates.