Formation distance