Your microstepping is wrong
For A4988
You will probabbly have all 3 jumpers on so that is 1/16 micro stepping. (jumper on = HIGH)
For DRV8825
With 3 jumpers on this is now 1/32 micro stepping. So this axis will move half as far when compared to the A4988