Compute exact crossing points from four coordinate values. View slopes, equations, graphs, and exports. Solve geometry tasks faster with confidence.
Line 1 uses points P1 and P2. Line 2 uses points P3 and P4.
| P1 | P2 | P3 | P4 | Expected Result |
|---|---|---|---|---|
| (0, 0) | (4, 4) | (0, 4) | (4, 0) | Intersection at (2, 2) |
| (1, 1) | (5, 1) | (2, 3) | (2, -1) | Intersection at (2, 1) |
| (0, 1) | (3, 1) | (0, 2) | (3, 2) | Parallel lines |
| (0, 0) | (2, 2) | (4, 4) | (6, 6) | Coincident lines |
Each line is defined by two points. The calculator uses determinant form to test whether the lines intersect, remain parallel, or overlap.
Line 1: through points (x1, y1) and (x2, y2)
Line 2: through points (x3, y3) and (x4, y4)
Determinant:
D = (x1 - x2)(y3 - y4) - (y1 - y2)(x3 - x4)
Intersection x-coordinate:
x = [ (x1y2 - y1x2)(x3 - x4) - (x1 - x2)(x3y4 - y3x4) ] / D
Intersection y-coordinate:
y = [ (x1y2 - y1x2)(y3 - y4) - (y1 - y2)(x3y4 - y3x4) ] / D
If D = 0, the lines are either parallel or coincident.
If D ≠ 0, the lines intersect at one unique point.
It finds where two lines meet using four points. It also shows equations, slopes, determinant, angle, line relationship, and a plotted graph.
Parallel lines never meet. The calculator reports no unique intersection and can also show the perpendicular distance between them.
Coincident lines lie exactly on top of each other. That means every point on one line also lies on the other line.
Yes. Choose segment mode. The calculator checks whether the computed intersection lies inside both finite segments.
Two points define the first line, and two more define the second. That gives enough information to compare both lines accurately.
Yes. Vertical lines have undefined slope, but the determinant method still handles them correctly.
The determinant shows whether a unique solution exists. Zero means parallel or coincident lines. A nonzero value means one intersection point exists.
Yes. Use the CSV button for spreadsheets and the PDF button for printable reports after calculation.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.