The link to Formula's are great.
Saved me time working it all out myself.
Never re-invent the wheel.
8-)
Stepper Motor Hardware Interfacing
Estimating Needed Power Standard NEMA Sizes Determining Wiring Connection Options Power Supply Heat
Estimating Needed Power Standard NEMA Sizes Determining Wiring Connection Options Power Supply Heat