Stepper Motor Calculator

Calculate maximum speed, minimum time per step, power, steps per mm for CNC, resonance frequency and microstepping resolution. Interactive diagram, steps/mm and steps/inch output. Free, private and no sign-up.

Stepper Motor Calculator by Utiliby

Free Stepper Motor Calculator

Three calculators in one: motor speed and power, CNC steps-per-mm setup, and a torque-speed curve.

Motor parameters

Share, cite or embed this tool

What is a free stepper motor calculator online?

A free stepper motor calculator online is a tool that computes the key electrical and mechanical parameters of a stepper motor from the numbers printed on its datasheet. Instead of guessing whether a motor will reach the speed your CNC machine needs or whether it has enough torque to move a given load, you enter a few datasheet values and the calculator tells you the maximum step rate, the minimum time per step, the supply power and winding loss, and — for CNC and 3D printing — the exact number of steps per millimetre to configure in your controller.

This stepper motor calculator online goes beyond a basic four-input calculator. It combines three tools in one page: a speed and power calculator, a CNC steps-per-mm setup tool with lead screw, belt, rack-and-pinion and direct drive modes, and a torque-speed curve visualiser. It also calculates the resonance frequency and the load-to-rotor inertia ratio, and includes a microstepping reference table. Everything runs in your browser — no sign-up, no account, no upload, no tracking.

How to use this free stepper motor calculator

  1. Speed & Power tab. Enter the supply voltage, rated current per phase and winding inductance from your motor's datasheet. Select the microstepping setting and the motor's full-step resolution (200 for a standard 1.8° motor). Optionally add phase resistance, holding torque, rotor inertia, load inertia and load torque for torque, resonance and inertia-ratio checks. Optional fields left blank are skipped, not guessed.
  2. CNC / Steps per mm tab. Choose your drive type — lead screw, belt, rack and pinion, or direct rotation. Enter the mechanical parameters and the calculator returns steps per mm or steps per inch for your firmware.
  3. Torque-Speed Curve tab. Enter the motor holding torque, winding L and R, and supply voltage to see how available torque drops off as speed increases.
  4. Copy the result to your clipboard, save it as a PDF, or check the reference tables in the article below.

What is a stepper motor?

A stepper motor is a brushless DC motor that divides a full rotation into a fixed number of equal steps. Unlike a conventional DC motor that spins continuously when power is applied, a stepper motor moves in discrete increments each time the driver sends a pulse. A standard hybrid stepper has 200 steps per revolution — a step angle of 1.8° — and holding torque strong enough to stop and hold a load without feedback.

Because the position is determined by the number of pulses sent rather than by any feedback sensor, stepper motors operate in an open-loop system. The controller assumes the motor moved when it was told to move, which is why lost steps are the main failure mode.

Stepper motors are the default choice for 3D printers, CNC routers, laser cutters, camera sliders, robot arms, packaging machinery and scientific instruments.

Key stepper motor formulas

Maximum speed and minimum time per step

At high step rates the winding becomes inductive and the current cannot rise fast enough to produce full torque. The first-order approximation for the maximum step rate is:

Max Speed (steps/sec) = V / (2 × L × Imax)

Where V is the supply voltage in volts, L is the winding inductance in henries and Imax is the rated current per phase in amps. The minimum time per step is the inverse:

Min Time/Step (ms) = (2 × L × Imax) / V × 1000

When L is given in millihenries (as most datasheets do), remember to divide by 1000 before using it in the formula. This is the full-step rate: with microstepping your driver must receive proportionally more pulses per second (16× as many at 1/16) for the same speed. It is a rough current-rise estimate, not a guaranteed speed limit.

Power and heat

The most electrical power the supply can deliver to the windings is the product of the supply voltage and the rated current:

Psupply = Imax × V

This is an upper bound used for power supply and driver sizing — it is not heat produced in the motor. The heat produced in the windings is the copper loss, which for a two-phase motor at rated current is approximately:

Pwinding ≈ 2 × Imax² × R

Real consumption also depends on the driver's current-chopping behaviour, the duty cycle of the motion profile and iron losses, so treat both figures as estimates.

Steps per millimetre (CNC and 3D printing)

The number of motor steps required to move the tool or bed by 1 mm depends on the drive mechanism. For a lead screw or ball screw:

Steps/mm = (steps/rev × microstepping × gear ratio) / lead in mm

For a belt-and-pulley drive:

Steps/mm = (steps/rev × microstepping × gear ratio) / (belt pitch × pulley teeth)

For rack-and-pinion:

Steps/mm = (steps/rev × microstepping × gear ratio) / (π × pinion pitch diameter)

These are the numbers you enter into GRBL, Mach3, Marlin, Klipper or any other motion controller as steps_per_mm. The gear ratio is motor revolutions per output revolution — a 5:1 reduction is entered as 5, which increases the steps needed per mm. For direct rotation the equivalent is steps/degree = (steps/rev × microstepping × gear ratio) / 360.

Resonance frequency

A stepper motor and its attached load form a spring-mass system. The natural frequency at which the rotor oscillates is:

f_res = (1 / 2π) × √(T_holding × N_r / (J_rotor + J_load))

Where N_r is the number of rotor teeth (steps per revolution ÷ 4, so 50 for a 200-step motor), J is in kg·m² and T is in N·m. This is an approximate small-oscillation frequency. When the step rate crosses this frequency the rotor resonates with increasing amplitude, causing noise, vibration and — if sustained — lost steps.

Torque at a given speed

Available torque drops as step frequency rises, following the winding's RL time constant:

T(f) = T₀ / √(1 + (2π f L / R)²)

Where T₀ is the low-speed holding torque, f is the electrical frequency (step rate ÷ 4 for a two-phase motor), L is the inductance and R is the phase resistance. This first-order model ignores back-EMF and driver chopping, so use the manufacturer's curve for final selection. Plotting this curve against your load torque tells you the maximum speed at which the motor can still drive the load without stalling.

Microstepping: resolution vs torque

Microstepping subdivides each full step by driving the two coils with sinusoidal currents of varying amplitude. A 1/16 microstep setting turns a 200-step motor into a 3,200-step motor — a 16× improvement in positional resolution. But microstepping does not add torque, and the torque available to hold any single microstep position is much smaller than at full step.

MicrosteppingSteps/revStep angleTorque per microstep (≈ sin(90°/n))
x1 (full)2001.800°1.000
x24000.900°0.707
x48000.450°0.383
x81,6000.225°0.195
x163,2000.113°0.098
x326,4000.056°0.049
x6412,8000.028°0.025
x12825,6000.014°0.012
x25651,2000.007°0.006

The last column is the theoretical restoring torque, as a fraction of holding torque, for a displacement of one microstep. It shrinks quickly as the divisor grows, so at x32 and beyond individual microsteps produce almost no torque — the motor relies on averaging many microsteps to move. Peak holding torque is roughly unchanged, but positioning accuracy under load is far lower than the step count suggests. For high-torque applications, full-step or half-step modes typically deliver the most usable torque.

Choosing the right stepper motor: NEMA sizes and torque classes

Stepper motors are sold by NEMA frame size, which describes the faceplate dimensions in inches — not the torque, current or inductance. Two NEMA 17 motors can differ by 10× in holding torque.

NEMA sizeFaceplateTypical holding torqueCommon use
NEMA 820 mm0.02–0.05 N·mSmall robotics, camera focus
NEMA 1128 mm0.05–0.10 N·m3D printer extruders, small CNC
NEMA 1435 mm0.10–0.20 N·mLight CNC, camera sliders
NEMA 1742 mm0.20–0.65 N·m3D printers, light CNC, laser cutters
NEMA 2357 mm1.0–3.0 N·mCNC routers, plasma tables
NEMA 3486 mm3.0–12.0 N·mHeavy CNC, industrial machinery

Selection is a three-step process: choose the frame size that fits your mounting, verify that the torque-speed curve covers your required load at your required speed, and confirm the load-to-rotor inertia ratio is under 10:1 (ideally under 5:1).

Common stepper motor selection mistakes

Stepper motor vs servo motor

Steppers and servos are the two main options for precise motion control. Steppers are simpler and cheaper; servos are faster and more accurate under varying load.

FeatureStepperServo
CostLowHigh
FeedbackNone (open loop)Encoder (closed loop)
Torque at speedDrops with speedFlat up to rated speed
Position accuracyExcellent at low speedExcellent at all speeds
Lost stepsPossible under overloadAutomatically corrected
Typical use3D printers, light CNCIndustrial motion, robotics

For hobbyist and small-batch applications, steppers remain the dominant choice. Servos take over where high dynamic performance, heavy load variation or closed-loop reliability are required.

Frequently asked questions

What is a free stepper motor calculator online?

A free stepper motor calculator online is a tool that computes the key electrical and mechanical parameters of a stepper motor from its datasheet values. This calculator includes maximum step rate, minimum time per step, supply power and winding loss, steps per millimetre for CNC and 3D printing, resonance frequency and microstepping resolution.

How do I calculate the maximum speed of a stepper motor?

Max speed (steps/sec) = V / (2 × L × Imax), where V is supply voltage, L is winding inductance in henries and Imax is rated current per phase. It is a first-order full-step estimate, not a guaranteed limit.

How do I calculate steps per mm for a CNC machine?

For a lead screw: steps/mm = (steps per rev × microstepping × gear ratio) / lead in mm. For a belt: steps/mm = (steps per rev × microstepping × gear ratio) / (belt pitch × pulley teeth). The gear ratio is motor revolutions per output revolution (5 for a 5:1 reduction).

What is microstepping and how does it affect torque?

Microstepping subdivides each full step into smaller increments. It improves resolution and smoothness but does not add torque, and the torque available to hold one specific microstep position is small (about sin(90°/n) of holding torque), so accuracy under load is lower than the step count implies.

What is stepper motor resonance?

Resonance occurs when the step rate matches the natural frequency of the motor and load. At that point the rotor oscillates with increasing amplitude, causing vibration, noise and lost steps.

What is the load inertia ratio?

The ratio of load inertia to rotor inertia. For stepper motors, aim for under 10:1, ideally between 1:1 and 5:1 for smooth motion.

What voltage should I use for a stepper motor?

A common rule is 8 to 20 times the motor's rated voltage when using a current-chopping driver. A 3 V motor typically runs well on 24 V or 36 V.

Is this stepper motor calculator free?

Yes. Free, browser-based, no sign-up, no tracking, no ads.

Does this calculator handle metric and imperial units?

The CNC tab outputs steps/mm or steps/inch, and the feed-rate target follows the unit you choose (mm/min or in/min). Motor electrical inputs use SI units (V, A, mH, N·m, g·cm²).

What is the minimum time per step?

The shortest interval the driver can send pulses before the winding current fails to reach its target. Calculated as 2 × L × Imax / V.