Coordinate Geometry Calculator worked example
{
"x1": -2,
"y1": 3,
"x2": 6,
"y2": 9
}
{
"distance": 10,
"midpoint": "(2, 6)",
"slope": 0.75,
"line_equation": "y = 0.75x + 4.5"
}
Math
Calculate distance, midpoint, and slope between two points.
Published Last reviewed
Calculate distance, midpoint, and slope between two points. Enter first x, first y, second x, second y in a purpose-built coordinate plane interface designed for this subject. Coordinate differences produce Euclidean distance and slope; coordinate averages produce the midpoint. The result includes distance, midpoint, slope, line equation, supporting detail, and clear units or diagnostics. Results depend on the entered assumptions, units, and rounding. Review important decisions against authoritative requirements. Processing stays in your browser, and UtilityPages does not store the values you enter.
Workspace
Follow the input-to-result path; the fields below remain the source of every value.
Complete the fields to prepare a result.
Enter the values above, then calculate to see a detailed result.
Coordinate differences produce Euclidean distance and slope; coordinate averages produce the midpoint.
Coordinate differences produce Euclidean distance and slope; coordinate averages produce the midpoint. Results depend on the entered assumptions, units, and rounding. Review important decisions against authoritative requirements.
{
"x1": -2,
"y1": 3,
"x2": 6,
"y2": 9
}
{
"distance": 10,
"midpoint": "(2, 6)",
"slope": 0.75,
"line_equation": "y = 0.75x + 4.5"
}
This tool does not store your inputs or results on UtilityPages.org.
Coordinate differences produce Euclidean distance and slope; coordinate averages produce the midpoint.
Enter first x, first y, second x, second y. Use values and units from the same scenario so the result is internally consistent.
It reports distance, midpoint, slope, line equation, including intermediate context where it helps you review the answer.
Results depend on the entered assumptions, units, and rounding. Review important decisions against authoritative requirements.