It varies of course, in fact some species of birds don't seem to have a very pronounced synchronisation of hatching at all, and many chicks are lost as a result. Some birds only seem to start serious incubation after the last egg is laid, which helps with synchronisation. In species that do have pronounced synchronisation, and incidentally, in crocodilians as well, the unhatched eggs become vocal well before hatching. They can hear each other's piping, so that they have an idea of when to hatch and so that the parent knows when to expect them.
Experiments in which piping sounds were played a few days too soon elicited aggressive reactions from mother ducks, whereas piping on schedule elicited encouraging sounds that apparently imprinted the voice of the mother on the nearly-hatching-ready chicks.
Such communication gives unhatched chicks a few days' grace for the most advanced eggs to delay hatching while living on their yolks, and for the laggards to hurry up and emerge with some spare yolk to tide them over the first, hardest days in the open.