Memorize
Pythagorean theorem applied twice. Identical to 2D, just with a z-term added.
2D formula + $(z_2-z_1)^2$ inside the root
Δx,Δy,Δz
Coordinate diffs
Subtract corresponding coordinates
Square & add
Δx2+Δy2+Δz2
Sum of squares
Take square root
Result is the distance