Calculadora de Inclinação

Inclinação (coeficiente angular) m = (y₂−y₁)/(x₂−x₁) de uma reta.
Created by
Renato Passos, Eng. de Software
Reviewed by
Renato Passos, Eng. de Software

Last updated: Apr 18, 2026

Inclinação (m)
2,666667
Ângulo
69,44 °

Formula

m = (y₂ − y₁) / (x₂ − x₁)

About this calculator

The Slope Calculator determines the slope (m) of a line from two points on a Cartesian plane. The slope represents the rate of vertical change relative to horizontal change and is fundamental in analytic geometry, algebra, and calculus. The calculation uses the formula m = (y₂ − y₁) / (x₂ − x₁), where (x₁, y₁) and (x₂, y₂) are the coordinates of the points. The result indicates whether the line is increasing (m > 0), decreasing (m < 0), horizontal (m = 0), or vertical (m undefined).

This tool is useful for students, teachers, and professionals dealing with graphs, line equations, or trend analysis. For example, when analyzing temperature variation over time, the slope shows the rate of heating or cooling. In engineering, it helps calculate ramps or terrain slopes. Usage is simple: enter the coordinates of two points and click calculate. The result is displayed immediately and can be used in subsequent calculations.

Important precautions: ensure the points are distinct, as division by zero occurs when x₁ = x₂ (vertical line). In that case, the slope is undefined. Additionally, the order of points does not change the absolute value, but swapping coordinates may invert the sign if consistency is not maintained. The calculator assumes input values are real numbers. For horizontal lines (y₁ = y₂), the result is zero, indicating no vertical change.

Frequently asked questions

What does a negative slope mean?

A negative slope indicates a decreasing line: as x increases, y decreases. For example, a downward ramp has a negative slope.

Can I use decimal or fractional coordinates?

Yes, the calculator accepts decimal and fractional numbers. For fractions, use decimal format (e.g., 0.5) or enter as a fractional number if supported.

What if x1 equals x2?

If x1 = x2, the line is vertical and the slope is undefined (division by zero). The calculator will display an error message or 'undefined'.

Does the order of points change the result?

The order does not change the absolute value of the slope, but it may invert the sign if you swap coordinates inconsistently. Keep the same order for (x1,y1) and (x2,y2).

How do I use the slope to find the line equation?

With slope m and a point (x1,y1), use the point-slope form: y - y1 = m(x - x1). Then simplify to get y = mx + b.

Other Geometria calculators