what determines the hardenabilty of a steel alloy

what determines the hardenabilty of a steel alloy