Calculadora de inclinação a partir de dois pontos
Encontre a inclinação, o intercepto em y, a equação da reta, o ângulo, a distância e o ponto médio a partir de dois pontos.
Entrada
Dica: pressione Ctrl + Enter para executar
Configurações salvas
Por enquanto, a ajuda detalhada abaixo está disponível apenas em inglês.
Sobre esta ferramenta
Given two points on a line, you can find everything about it. This calculator returns the slope (as a decimal and a fraction), the y-intercept and the equation in slope-intercept form, the angle the line makes with the x-axis, the x-intercept, the distance between the points and the midpoint. Vertical lines, whose slope is undefined, are reported correctly as x = constant.
Como usar
- Enter the coordinates of the first point (x₁, y₁).
- Enter the coordinates of the second point (x₂, y₂).
- Run the calculation.
- Use the equation, angle, distance or midpoint as your problem requires.
Como o cálculo funciona
m = (y₂ − y₁) ÷ (x₂ − x₁); b = y₁ − m·x₁; angle = atan(m) in degrees; distance = √((x₂ − x₁)² + (y₂ − y₁)²); midpoint = ((x₁ + x₂)/2, (y₁ + y₂)/2).
m = (y₂ − y₁) ÷ (x₂ − x₁)Exemplo prático
For the points (−3, 4) and (5, 0), the slope is −0.5 (−1/2), the y-intercept 2.5 and the line y = −0.5x + 2.5. It descends at −26.5651°, crosses the x-axis at 5, and the points are 8.944272 units apart with midpoint (1; 2). The points (2, 5) and (2, 9) give the vertical line x = 2.
Exemplo de entrada e resultado
x₁: 1 y₁: 2 x₂: 4 y₂: 11 → Inclinação (m): 3 → Intercepto em y (b): -1 → Equação: y = 3x − 1 → Ângulo com o eixo x: 71,5651° → Intercepto em x: 0,333333 → Distância entre os pontos: 9,486833
Limitações
- Two points in a plane.
- Decimal coordinates up to ±1 trillion.
- Fractions are shown for the slope where they are simple.
Última atualização:
Perguntas frequentes
What does a negative slope mean?
The line goes down from left to right.
How do I turn a slope into a roof pitch or grade?
Grade % = slope × 100; a slope of 0.5 is a 50% grade, or a 6/12 roof pitch.
Why is the slope undefined?
Both points have the same x, so the line is vertical.
Solução de problemas
The midpoint shows a semicolon.
The semicolon separates coordinates so decimal commas in some languages are not confused; (1; 2) means x = 1, y = 2.
The angle is negative.
Negative angles are measured clockwise from the x-axis for descending lines.
I entered the same point twice.
Two distinct points are needed to define a line.
Privacidade & Uso gratuito
Meus dados são armazenados?
Seus dados ficam nesta aba. Não recebemos seus arquivos, textos colados nem valores de cálculo.
Esta ferramenta é gratuita?
Sim. Não é preciso cadastro nem pagamento.
Veja também
Próximos passos úteis
Calculadora científica
Calcule aritmética, potências e funções trigonométricas em radianos sem eval.
Matemática e educaçãoCalculadora de frações
Some, subtraia, multiplique ou divida números racionais de forma exata.
Matemática e educaçãoResolvedor de equações
Resolva equações reais lineares e quadráticas ax² + bx + c = 0.
Matemática e educação