how many states had to ratify the constitution for it to become binding

In order for the Constitution to become legally binding, it needed to be ratified by at least nine out of the thirteen original states. This requirement was laid out in Article VII of the Constitution.