RPM Interrupt speed limit

if i give 1000rpm to run a stepper motor what the delay should i give in the progrm