calc.engineer / General & Math / Slope Calc

Slope Calc v1.0.0

Calculate the slope, y-intercept, line equation, angle, and distance between two points in a 2D Cartesian plane. Given coordinates (x1, y1) and (x2, y2), computes slope (rise/run), y-intercept, the equation in slope-intercept form (y = mx + b), angle in degrees relative to the x-axis, and Euclidean distance. Handles vertical and horizontal lines as special cases. Useful for surveying, civil engineering grade calculations, linear regression visualization, and physics kinematics problems.

feeds pythagorean_theorem →
X-coordinate of the first point
Y-coordinate of the first point
X-coordinate of the second point
Y-coordinate of the second point
Fill in the inputs and Compute to see the structured result.

From an agent (MCP) or the API

curl -X POST https://calc.engineer/api/slope_calc \
  -H "Content-Type: application/json" \
  -d '{"x1": …, "y1": …, "x2": …}'

MCP: connect to https://calc.engineer/mcp and call slope_calc.

calc.engineer — free, MCP-native engineering tools.