scale length

Hey
I was wondering how the scale length of a bass is determined......I've never been told properly so I have no idea at all. If someone could tell me correctly where the scale length is measured, it would be much appreciated.
Thanks