You should pretty much know from the model itself.
If you're making a AR for example, the height will be the largest length, the width the second longest, and the depth is the smallest, a AR is only like 2 inches thick.
The same concept works for everything really, sometimes models are exported turned, so you have to change around some numbers.