Actually, that's not what the standard theory is. The standard theory is that something else, around the size of Mars (usually called Theia) collided with the Earth, and the splashed debris coalesced into the Moon.
https://en.wikipedia.org/wiki/Theia_(planet)
https://en.wikipedia.org/wiki/Origin_of_the_Moon