I do not know exactly, but I suspect it is determined by multiple properties of the transistor: semiconductor properties, amount and type of doping, and transistor geometry.