đ Slope and Distance Calculator
Calculate slope, distance, midpoint x, midpoint y instantly from x1, y1, x2, y2.
How to use the Slope and Distance Calculator
- Enter x1, y1, x2, y2.
- The result updates instantly as you type.
- Copy or note down your result.
How it works
Formulas: Slope = ([y2]-[y1])/([x2]-[x1]); Distance = hypot([x2]-[x1],[y2]-[y1]); Midpoint x = ([x1]+[x2])/2; Midpoint y = ([y1]+[y2])/2.
Example
Using the default values (x1: 1, y1: 2, x2: 4, y2: 6):
Slope1.3333
Distance5
Midpoint x2.5
Midpoint y4
FAQ
Is the Slope and Distance Calculator free to use?
Yes. It is free, needs no signup and has no usage limits.
Is my data safe?
Yes. Everything is calculated in your browser, so what you type or upload is never sent to a server.
Can I use it on my phone?
Yes. KsWebProduction is built mobile-first and works in any modern browser.