No set formula -- I just do them based on how I feel. I jog at a regular pace, then just accelerate until I can't sprint anymore, then go back to the jogging pace etc.