Slope of a straight line

Online calculator for calculating the slope of a straight line


The slope of a straight line is calculated in the coordinate system. To do this, enter the X / Y coordinates of the two points A and B.


Slope of a line calculator

 Input
Point A (x, y)
Point B (x, y)
Decimal places
 Results
Angle to X-axis
Slope

Formula for the slope


To find the slope \(m \) of a straight line between two points, use the following formula

\(\displaystyle m=\frac{y_2-y_1} {x_2-x_1}\)

Distance between the points


\(\displaystyle c=\sqrt{(x_2-x_1)^2 + (y_2-y_1)^2}\)
\(\displaystyle b= x_2-x_1\)

\(\displaystyle b= c · cos(α)\)
\(\displaystyle a=y_2-y_1\)

Angle to the X axis


\(\displaystyle α=asin\left(\frac{a}{c}\right) \) \(\displaystyle = asin\left(\frac{y_2-y_1}{\sqrt{(x_2-x_1)^2 + (y_2-y_1)^2}}\right)\)
\(\displaystyle α=acos\left(\frac{b}{c}\right) \) \(\displaystyle = acos\left(\frac{x_2-x_1}{\sqrt{(x_2-x_1)^2 + (y_2-y_1)^2}}\right)\)

1D Graphics Functions

Angle between two linesAngle between two vectorsCenter of a straight lineDistance of two pointsDistance of a point and a lineRise over RunSlope of a lineStraight line equationCircular arcHelixKoch snowflake

2D Graphics Functions

Angles

From Degree, Min, Sec to DecimalFrom Degree to PercentAngle sumAngles from side lengths

Triangles

Bisector of a triangleEquilateral triangleRight trianglesRight triangle from 1 side, 1 angleIsosceles right trianglesIsosceles trianglesTriangle area from 2 sides, 1 angleTriangle area from 1 side, 2 anglesTriangle, Incircle, given 3 sidesTriangle area given base and heightTriangle vertices, 3 x/y points

Quadrilateral

SquareRectangleGolden RectangleRectangle to SquareRhombus, given varios parameterRhombus area from diagonal e, fParallelogram from 2 sides, 1 angleParallelogram area from side and heightCyclic QuadrilateralGeneral QuadrilateralConcave QuadrilateralArrowhead QuadrilateralCrossed SquareFrameKiteKite Area from 2 diagonalHalf Square KiteRight KiteSymmetrical TrapezoidUnsymmetrica TrapezoidRight Angle TrapezoidTrapezoid-AreaTrapezoid AngleTri-equilateral Trapezoida

Polygons

TriangleSquarePentagonHexagonHeptagonOctagonNonagonDecagonHendecagonDodecagonHexadecagonN-GonPolygon ringConcave hexagonAxial Symmetric PentagonStretched HexagonStretched Octagon PentagramHexagramOctagramStar of Lakshmi

Circular

AnnulusAnnulus sectorCircleCircular anglesCircular arcsCircular sectorCircular segmentEllipseParabolic archSquaring the Circle

3D Graphics Functions

Angular

Cuboid Square Pillar Antiprism Hexagonal prism Triangular prism Regular prism Oblique prism Ramp Anticube Wedge Right Wedge RhombohedronParallelepipedTetrahedron, irregularTetragonal TrapezohedronPentagonal TrapezohedronPrismatoidStellated Octahedron Stellated DodecahedronGreat Stellated DodecahedronGreat Dodecahedron

Platonic solids

TetrahedronCubeOctahedronDodecahedron Icosahedron

Pyramids

Triangular PyramidPyramidPentagonal PyramidHexagonal PyramidHeptagonal PyramidRegular PyramidPyramid, truncated, squarePyramid, truncated, rectangularPyramid FrustumTriangular BipyramidPentagonal BipyramidHexagonal BipyramidRegular BipyramidTriangular Pyramid

Archimedean solids

CuboctahedronIcosidodecahedronRhombicosidodecahedronRhombicuboctahedronSnub cubeTruncated cubeSnub dodecahedronTruncated cuboctahedronTruncated dodecahedronTruncated icosahedronTruncated icosidodecahedronTruncated octahedronTruncated tetrahedron

Catalan solids

Disdyakis TriacontahedronDeltoidal HexecontahedronDeltoidal IcositetrahedronHexakis OctahedronPentagonal IcositetrahedronPentakis DodecahedronRhombic DodecahedronRhombic TriacontahedronTetrakis HexahedronTriakis OctahedronTriakis TetrahedronTriakis Icosahedron

Johnson solids

Square PyramidPentagonal PyramidTriangular CupolaSquare CupolaPentagonal CupolaRotundaElongated Triangular PyramidElongated Square PyramidElongated Pentagonal PyramidTriangular BipyramidPentagonal BipyramidElongated Square BipyramidGyrobifastigiumGyroelongated Square DipyramidSnub Disphenoid

Round solids

SphereSpherical capSpherical sectorSpherical segmentSpherical ringSpherical wedgeSpherical cornerSpheroidTriaxial ellipsoidEllipsoid volumeSpherical shellSolid anglesTorusSpindle torusOloidElliptic Paraboloid

Cones

ConeTruncated coneElliptic coneTruncated elliptic coneBiconeDouble conePointed pillarRounded cone

Cylinder

CylinderOblique cylinderTruncated cylinderCylindrical wedgeHollow cylinderHalf cylinderCylindrical sectorCylindrical segmentElliptical cylinderBicylinderTricylinderHyperboloid


Is this page helpful?            
Thank you for your feedback!

Sorry about that

How can we improve it?