Anzeige


One Line | Two Lines | Line through Two Points

Draw and Calculate a Straight Line

Calculator for the inclination angle of a straight line from the linear equation. The linear equation has the shape y = mx + b. m is the gradient, b is the up or down shift. So b is irrelevant for the inclination angle. A line defined by a linear equation can't be vertical, but can have any other orientation. A horizontal line with m=0 has the inclination angle 0°. When m is negative, the line is inclined the other way round.

Line: y = x + b

Inclination angle: α = °

Round to    decimal places.



Please enter the gradient m or the angle α in degrees, the other value will be calculated and the line will be drawn. b can have any value and doesn't affect the calculation.

Formula: α = atan(m)

Example: the line 3x has an inclination angle of 71.565 °

A straight line is an infinitely long line of zero width that has no curvature. It is a one-dimensional object. The shortest connection between two points is a segment, and such a segment lies on a straight line. The straight line is one of the fundamental elements from the book Elements by the Greek mathematician Euclid from the 3rd century BC. Two intersecting or parallel lines span a plane, which is two-dimensional. Three intersecting or parallel lines that do not lie in a plane span a space, which is three-dimensional. Higher-dimensional objects can also be constructed theoretically in a similar way, even if they do not exist in reality and are very difficult to imagine. For reasons of simplification, right angles are usually chosen between the lines at the intersection points when dealing with dimensions. In space and higher dimensions a common intersection point of the three or more lines is chosen, but this is not a requirement.
On these pages, one or two straight lines can be calculated and drawn.


Last updated on 03/11/2026.

© Jumk.de Webprojects | Online Calculators | Imprint & Privacy

German: Eine Gerade | Zwei Geraden | Gerade durch zwei Punkte




Anzeige




Cite this page: Rechneronline (2026) - Draw and Calculate a Straight Line.
Retrieved on 2026-08-18 from https://rechneronline.de/line/


Related articles and calculators:

Calculate and Draw the Intersection of two Straight Lines

Line - Geometry Calculator

Calculate Line through Two Points

Circular Arc - Geometry Calculator

Slope Calculator