DC, Stepper and Encoder Motor Calculator

Predict a brushed DC motor's current, speed, power and efficiency at a load torque from its Kv, resistance and no-load current; work out stepper microsteps, pulse frequency and steps per mm; or find an encoder's counts per revolution and resolution.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Choose the motor type

    DC, stepper or encoder.

  2. 2
    Enter datasheet values

    Kv, R, I0 or step angle.

  3. 3
    Enter the load or speed

    Torque or rpm.

  4. 4
    Enter the drive

    Lead or gear ratio.

  5. 5
    Read the results

    Current, speed, resolution.

About this tool

Three questions come up whenever a motor is chosen for a robot, drone, printer or machine. For a DC motor: at this load, how much current will it draw, how fast will it turn and how efficient will it be? For a stepper: how many steps per revolution and per millimetre, and what pulse rate must the driver produce? For a servo or any closed-loop axis: how fine is the encoder's resolution? This calculator uses the standard linear motor model, built from three datasheet numbers (Kv, winding resistance and no-load current), and the simple arithmetic of steps and encoder counts.

Who this is for

Robotics and drone builders, makers, mechatronics students, CNC and 3D printer builders and engineers choosing motors.

The DC motor model

- Torque constant Kt (N·m/A) and back-EMF constant Ke (V·s/rad) are equal in SI units, and Kt = 60 / (2π × Kv) with Kv in rpm/V. - Current I = load torque / Kt + no-load current I0. - Speed: ω = (V − I × R) / Kt. - Output power = T × ω; input power = V × I; efficiency = output / input. - Stall current = V / R; stall torque = Kt × (stall current − I0). - Peak efficiency occurs at I = √(I0 × Istall), usually 10-20 % of stall current.

Stepper motors

- Full steps per revolution = 360° / step angle: 200 for 1.8°, 400 for 0.9°. - Microstepping multiplies this: 16 microsteps give 3,200 per revolution. Microsteps improve smoothness more than accuracy. - Pulse frequency = steps per revolution × rpm / 60. - Steps per mm = steps per revolution / lead (or / pulley circumference). - Supply voltage: a common guide allows up to 32 × √(inductance in mH) volts for good high-speed torque.

Encoders

Counts per revolution = lines × decoding factor (1, 2 or 4 for quadrature) × gear ratio. Angular resolution = 360° / counts; linear resolution = lead / counts. Check the controller can read the count rate at maximum speed.

Worked example

A 12 V motor with 0.5 Ω, 300 rpm/V and 0.3 A no-load current, loaded with 0.1 N·m, draws 3.44 A and turns at 3,080 rpm, giving 32 W at 78 % efficiency; it stalls at 24 A and 0.75 N·m. A 1.8° stepper at 16 microsteps on an 8 mm lead needs 32 kHz at 600 rpm, giving 400 steps/mm. A 1,000-line encoder with ×4 decoding on a 5 mm lead resolves 1.25 µm.

Common mistakes

- Using Kv from a brushless datasheet in rpm per volt RMS rather than peak. - Running a DC motor near stall continuously: copper losses rise with I² and overheat it. - Assuming microsteps add precision: real microstep positions are uneven under load. - Forgetting that encoder counts per revolution on the motor become finer after a gearbox.

Limits

Linear model with constant resistance; temperature, saturation and friction change real results. This is not professional engineering advice.

Worked example

12 V, 0.5 Ω, 300 rpm/V, 0.1 N·m: 3.44 A, 3,080 rpm, 78 % efficiency.

Quick facts

Frequently asked questions

How do I convert Kv to Kt?

Kt (N·m/A) = 60 / (2π × Kv in rpm/V) ≈ 9.55 / Kv.

When is a DC motor most efficient?

At a current of about √(no-load × stall current).

How many steps per revolution does a 1.8° stepper have?

200 full steps, 3,200 at 16 microsteps.

What does ×4 encoder decoding mean?

Counting both edges of both channels, four counts per line.

What supply voltage suits my stepper?

Up to about 32 × √(inductance in mH) volts.

Is my data stored?

Motor values are calculated here and discarded.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages