Plane at perpendicular distance p from the origin, with unit normal (l, m, n) where l²+m²+n²=1 and p > 0. To convert ax+by+cz+d=0: divide by ±√(a²+b²+c²) choosing sign so p > 0.
Derivation
Let ON=p be the perpendicular from the origin O to the plane, with n^=(l,m,n) being the unit normal (l2+m2+n2=1) in the direction of ON.
The foot of perpendicular is N=pn^=(pl,pm,pn).
For any point P(r) on the plane, NP⊥n^, so:
(r−pn^)⋅n^=0⟹r⋅n^=plx+my+nz=p
Converting from general to normal form: Given ax+by+cz+d=0:
Divide by ±a2+b2+c2 choosing the sign so that p>0:
±a2+b2+c2ax+by+cz=±a2+b2+c2−d
So l=a/a2+b2+c2, m=b/a2+b2+c2, n=c/a2+b2+c2, and p=∣d∣/a2+b2+c2 — which is exactly the distance-from-origin formula.