How is the size of the senate determind?

There are 2 senators from every state regardless of the state's size.