Q:

Distance between two parallel planes

Given the normals ($n_1$ and $n_2$) of two parallel planes is it possible to  calculate the distance between these two planes. if so, how?
Am coding some app and the normals are the only thing I have got.

A:

The normal vectors alone provide no information on the distance between the planes.
$d=\left|\left(\vec{x}_{1}-\vec{x}_{2}\right) \cdot \hat n \right|$

