How-to
Sizing stepper motors for a DIY aluminum CNC mill
Short answer
Size each stepper from the torque its axis needs at screw speed: add cutting thrust, friction and (on Z) gravity, divide by screw lead and efficiency, then pick a motor whose torque-speed curve clears twice that demand at rapid speed. For a 300 × 200 × 150 mm aluminum mill on 5 mm ball screws the worked demand is 0.08–0.14 N·m per axis; set driver current at or below the winding's rated phase current and choose supply voltage within the driver's ceiling.

On this page
For a DIY mill cutting AL6061 with 300 mm of X travel, 200 mm of Y and 150 mm of Z, size each stepper motor from the torque its axis needs at the speed its screw turns — not from frame size and not from the holding-torque figure on the listing. The working method: add the axial forces (cutting thrust, guide friction, and gravity on Z), convert them to screw torque through the lead and efficiency, add the inertia term, then pick a motor whose torque-speed curve clears twice that demand at your rapid screw speed. On a machine of this size the numbers come out small — the worked example below lands between 0.08 and 0.14 N·m per axis on ball screws — so the driver's current setting, the supply voltage and the curve at speed decide more than the badge on the motor does.
What decides the motor: torque at speed, not holding torque #
Holding torque is the torque a stepper resists with while stationary at rated current. It is not the torque you cut with. Available torque falls as speed rises, and how far it falls depends on three things you set: the supply voltage, the phase current the driver limits to, and how the windings are wired. The datasheet publishes the result as a torque-speed curve for a stated current and supply.
The selection test is therefore: read the curve at your rapid screw speed, at your supply and current setting, and require at least twice the calculated axis demand there — a rule-of-thumb margin that leaves room for stiction, chip drag and the acceleration you will actually run. Frame size tells you mounting holes and roughly how much heat the frame can shed; it does not tell you torque at speed. A recommendation quoted for a converted bench mill is not a load calculation for a moving-table-and-gantry layout like this one; the arithmetic below is.
Stepper or servo for this mill #
For a machine of this size cutting aluminum at modest feeds, steppers are the workable first choice: the calculated demands come out low, screw speeds stay in the low hundreds of rpm, and the electronics are simple. The price of open-loop control is that a stall raises no alarm — the axis's stored position simply runs ahead of the true one. A servo drive reports following error instead and can stop the move. The fuller trade-offs by torque and duty are compared in stepper versus servo selection by torque and duty; for this build, steppers with the sizing margin described here are adequate for AL6061.
Size each axis in five steps #
- Record the mechanics per axis. Screw lead in millimetres per revolution, screw type and efficiency (take efficiency from the screw datasheet; 0.90 is a typical ball-screw figure and 0.30 a typical single-start Acme figure — treat both as assumptions to verify), the moving mass weighed on a scale (table plus fixture plus part on Y; gantry plus Z assembly on X; spindle head on Z), guide type, and any belt or gear reduction.
- Build the axial force budget. Cutting thrust along the screw, guide friction as coefficient × mass × 9.81 m/s², acceleration force as mass × acceleration, and on Z the hanging weight as mass × 9.81 m/s². To estimate thrust for aluminum: a typical specific cutting force for aluminum alloys is about 700 N/mm², so a 6 mm two-flute carbide end mill taking 2 mm of depth at 0.05 mm per tooth — a chip section near 0.1 mm² — gives roughly 70 N. Scale that to your own worst cut, because engagement and feed move it a lot.
- Convert to screw torque and speed. T = F × L / (2π × η), with F in newtons and lead L in metres per revolution, gives torque in N·m; screw speed is 60 × v / L, with feed v in metres per second, giving rpm. Add the inertia term J × α for the rotating parts — reflected load inertia m × (L/2π)² plus the screw's own inertia — built the same way as in the servo axis acceleration calculation for torque sizing.
- Read curves, not ratings. Find the motor's torque-speed curve for your supply voltage and set phase current, and require at least twice the demand from steps 2–3 at the rapid screw speed. If no curve clears it, a belt reduction trades torque for speed at the motor; why stepper CNC axes use belt reduction instead of direct drive is exactly this trade.
- Set the driver from its own manual. Current limit at or below the motor's rated phase current for the wiring you used, supply voltage within the driver's stated maximum, driver mounted on the heat sink the manual specifies. Numbers quoted for someone else's build are not ratings for yours.
Worked example: Y and Z demands at this travel #
Example inputs — replace each with your weighed or measured value: 15 kg moving mass on Y, 25 kg on the X gantry, 8 kg on the Z head; friction coefficient 0.10; acceleration 0.5 m/s²; thrust 70 N from the step-2 estimate; 5 mm lead ball screws at η = 0.90, with an 8 mm single-start Acme at η = 0.30 shown for contrast; cutting feed 600 mm/min; rapid 2000 mm/min.
Y axis: friction 0.10 × 15 kg × 9.81 m/s² = 14.7 N; acceleration 15 kg × 0.5 m/s² = 7.5 N; total force 70 N + 14.7 N + 7.5 N = 92.2 N. Screw torque = 92.2 N × 0.005 m / (2π × 0.90) = 0.461 / 5.655 = 0.082 N·m. Screw speed = 60 × 0.010 m/s / 0.005 m = 120 rpm at the cutting feed and 60 × 0.0333 / 0.005 ≈ 400 rpm at rapid.
X axis scales the same way with the 25 kg gantry: friction 24.5 N, acceleration 12.5 N, total 107 N, torque 107 × 0.005 / 5.655 = 0.095 N·m.
Z axis, worst case drilling downward: weight 8 kg × 9.81 = 78.5 N, friction 0.10 × 78.5 = 7.8 N, total 78.5 + 70 + 7.8 = 156.3 N, torque 156.3 × 0.005 / 5.655 = 0.138 N·m.
The inertia term is minor at this scale: the reflected load on Y is 15 kg × (0.005/2π)² = 9.5 × 10⁻⁶ kg·m², a 16 mm × 400 mm steel screw adds about 2 × 10⁻⁵ kg·m², and reaching the 400 rpm rapid in 0.07 s is about 600 rad/s², so the acceleration torque is roughly 0.02 N·m. The force budget, not inertia, drives these demands.
| Axis | Example moving mass | Demand at the screw, 5 mm ball screw (η 0.90) | Same with 8 mm Acme (η 0.30) |
|---|---|---|---|
| Y | 15 kg | 0.082 N·m | 0.391 N·m |
| X | 25 kg | 0.095 N·m | 0.454 N·m |
| Z | 8 kg | 0.138 N·m | 0.663 N·m |
These are calculated examples for the listed inputs, not measured results. With the Acme screws the same feeds turn the screw slower: 75 rpm at the cutting feed and 250 rpm at rapid, against 120 rpm and 400 rpm for the 5 mm ball screws.
Match the curve and set the phase current #
Take the example motor often quoted for this frame: a NEMA 34 rated 640 oz-in of holding torque, which is 640 × 0.00706 ≈ 4.52 N·m. That is its stationary figure at rated current. What the table above needs is different: for ball screws, twice the worst demand is about 0.3 N·m at 400 rpm on your supply; for the Acme case it is about 1.3 N·m at 250 rpm. The 4.52 N·m holding figure does not by itself prove either — the curve at those speeds and settings is the pass or fail.
For the phase current, use the driver's setting to hold the winding at or below its rated current — 5.6 A for the example motor class, alongside its 2.52 V winding rating. Wire the motor the way the datasheet's wiring table shows and set the limit to match that connection: series halves the parallel rating, parallel keeps it. Do not raise the setting to cure a stall — winding heat rises with the square of the current, and the phase-current and wiring reasons a stepper runs hot are set out in why a stepper motor runs hot: winding connection and phase current. Buy margin with lower acceleration or a bigger motor instead.
Choose the supply voltage #
The winding's rated voltage is tiny — 2.52 V in the example — because winding resistance is low: 2.52 V / 5.6 A = 0.45 Ω, so heat at rated current is about 14 W per phase whether the axis is loaded or not. What limits torque at speed is how fast current can rise in each step. With 3 mH of winding inductance and 0.45 Ω, the electrical time constant is near 6.7 ms, while the 400 rpm rapid on a 1.8° motor is about 1,300 full steps per second — under a millisecond per step. That is why the driver chops a supply far above the winding rating: at 48 V across 3 mH, current initially rises at about 16 A per millisecond.
Two limits bound the choice. The driver manual states the hard ceiling — one driver of the kind used at this frame size is quoted at an 80 V maximum supply with a 7 A maximum setting; yours may differ, so take both numbers from your manual. Then a widely used rule of thumb sizes the supply against the winding: keep the voltage below about 32 × √(inductance in mH), so the 3 mH example tops out near 55 V and a 48 V supply is the natural pick. Higher voltage is what holds torque up at rapid; a supply set too low shows up as torque collapsing well before the speeds you planned.
The decision, case by case #
For this 300 × 200 × 150 mm AL6061 machine, the travels never enter the arithmetic — the masses, the screw and its efficiency do. Committed choices:
- Ball screws (5 mm lead, η 0.90): the pass bar is about 0.3 N·m at 400 rpm at your supply and current setting. Mid-size NEMA 23 motors are the economical pick if their curve clears the bar; the 640 oz-in NEMA 34 example clears it with wide margin and leaves headroom for stiction, chip drag and deeper cuts later.
- Single-start Acme screws (8 mm lead, η 0.30): the pass bar is about 1.3 N·m at 250 rpm — take the NEMA 34 class, run the current at the motor's rated value for the wiring in use, and use the highest supply voltage the inductance rule and driver ceiling allow. A NEMA 23 needs its curve read before you trust it here.
- Z axis: with a ball screw the motor carries the head's weight whenever power is on, and the head falls under gravity when power is off — support the spindle head before powering down, or fit a counterweight or a self-locking screw so the weight stops being a motor load. Size the Z motor with gravity in the force budget either way.
- Gantry X: with two slaved motors each carries half the calculated X demand — size each motor against half the table figure, or drive the gantry from one motor and a through shaft.
- Driver settings for any case: current limit at or below the winding rating for the connection used, supply within the driver's ceiling and near the inductance rule's number.
- Commission one axis first: start with conservative acceleration, then after a heavy cut command a return to the datum and verify position before the next cut — a stepper flags nothing on its own, so that check is your error detector.
Questions asked
What happens when a stepper motor stalls mid-cut?
There is no alarm. The drive keeps energizing the phases and the controller keeps counting the steps it commanded, so the stored position runs ahead of the shaft and the first evidence is a scrapped dimension or a changed sound. Lower the acceleration first, then check guides and couplings for binding, and only choose a motor with more curve margin after that — raising the driver's current adds heat without adding torque at speed.
Series or parallel wiring for an eight-lead stepper on a mill?
Parallel, for a mill axis. The windings then carry the full rated phase current — 5.6 A for the example motor — and see half the inductance, which is what keeps torque up at rapid speed. Series halves the current rating and doubles inductance, which suits slow high-torque duty. Take the rating for your connection from the motor datasheet's wiring table and set the driver's limit at or below it.
Is a bigger stepper frame always the better choice?
No. A larger frame brings more rotor inertia, and every acceleration has to spin that rotor too, so an oversized motor can deliver less axis acceleration per ampere than a right-sized one while wasting more heat at the same current. A common rule of thumb keeps the reflected load inertia within about ten times the rotor inertia. Size from the demand and the torque-speed curve; frame size is packaging.
Does microstepping give a stepper more usable torque?
No. Microstepping divides each full step more finely, which smooths motion and reduces low-speed resonance and noise, but torque at any given speed still comes from the same torque-speed curve for your set current and supply voltage. Treat microstepping as a smoothness setting and size the axis from the curve with the margin rule instead.
