Distance, Section Formula, Direction Cosines & Angle Between Lines
Point P
Point Q
Point A
Point B
Line Direction (or two points)
Enter direction ratios; the calculator normalises to direction cosines.
Line 1 direction
Line 2 direction
Quick Answer – What is 3D Coordinate Geometry?
3D Coordinate Geometry extends Cartesian coordinates to three dimensions (x, y, z). It provides formulas for distance between two points, section formula for dividing a line segment, direction cosines that describe a line's orientation, and the angle between two lines using their direction ratios.
Key Formulas
Distance: PQ = √[(x2−x1)² + (y2−y1)² + (z2−z1)²]
Section (internal): P = ((mx2+nx1)/(m+n), (my2+ny1)/(m+n), (mz2+nz1)/(m+n))
Direction cosines: l = a/√(a²+b²+c²), m = b/√(…), n = c/√(…)