If a second phase forms along an impurity or surface then we get heterogeneous nucleation. The critical nuclei and critical activation energy can be calculated just as before but accounting for the different volume to surface area ratio when we form spherical caps instead of spheres.