Contact formula