Distance between two points, midpoint, line equation, slope, parallel and perpendicular lines, intersection, point-to-line distance, triangle area and circles, with a graph and step-by-step work.
Exact results, simplified radicals and the work shown.
This calculator solves the classic coordinate geometry exercises in the plane: distance between two points, midpoint, slope and angle of inclination, the equation of a line in standard, slope-intercept, intercept and parametric forms, intersection and angle between two lines, point-to-line distance, triangle area by determinant, collinearity of three points and circles. Numbers go in as integers, decimals (with a point or a comma) or fractions and are stored as exact fractions, so 1/3 never turns into 0.3333 halfway through. Distances come out with the radical simplified: from A(1, 2) to B(5, 4) the answer is 2√5, with the decimal 4.4721 beside it. Line equations follow the convention of integer coefficients with no common factor and a positive first coefficient, and the angle of inclination stays between 0° and 180°. Every result shows the formula, the substitution and the outcome, and the graph draws points, lines and circles with labels.
How to use
Pick the calculation, type the data and read the graph.
Choose what to calculate in the tabs: two points, line equation, two lines, point and line, triangle or circle. The calculator opens with a solved example.
Type coordinates (2.5 and 5/2 both work, and so do negatives) or an equation in any form, such as y = 2x + 1 or x² + y² - 4x + 6y - 12 = 0.
Read the result cards, open Step by step to see the formula and substitution, check the drawing and use Copy results or Copy link to save or share.
Embed
Use this tool on your site
Paste the code into your HTML and the tool shows up on your page, without J-Kit's navigation and ads. It still runs in the browser of whoever visits your site.
These references help contextualize formulas, standards, APIs and limitations used on this page. They do not replace professional validation when a result has legal, financial, medical or operational impact.
Use d = √((x₂ - x₁)² + (y₂ - y₁)²), which is the Pythagorean theorem applied to the coordinate differences. Between A(1, 2) and B(5, 4): d = √(4² + 2²) = √20 = 2√5 ≈ 4.4721. The calculator simplifies the radical by pulling perfect squares out of the root (20 = 4 · 5) and shows the decimal next to it.