The difference φ φ ( t ) = φ φ G ( t ) − − φ φ F ( t ) between the phases of two periodic signals F and G is called the phase difference or phase shift of G relative to F . At values of t when the difference is zero, the two signals are said to be in phase; otherwise, they are out of phase with each other.