steps per mm = motor steps*microstep/screw pitch

For instance, 200 step motor, 5mm pitch screw and you say 8th stepping:
200*8/5=320 step/mm