BB spindle length is dependent on the crank used. Without knowing that, it's trial & error.
Else if you have a cup & cone, read the code off the spindle and one can make a good guess.
Code is likely something like 3-P, 3-S etc. if a "standard" British threaded BB.