Stepper Motor Current Calculator
Calculate the correct Vref and current settings for your stepper motor drivers.
Driver Settings
Configuration
Recommended Upgrades
As an Amazon Associate, we may earn from qualifying purchases.
Understanding Stepper Motor Current
Setting the correct current for your stepper motors is crucial for optimal performance. Too low and your motors will skip steps; too high and they'll overheat and potentially damage themselves or the drivers.
Peak vs RMS Current
Motors are typically rated for peak current, but stepper drivers often use RMS (Root Mean Square) current. The relationship is:
RMS Current = Peak Current ÷ √2 (≈ 0.707 × Peak)
This is why we recommend running at 70-90% of rated current—it accounts for this conversion and adds a safety margin.
Vref Explained
Vref is the reference voltage used by analog drivers (A4988, DRV8825) to set current. You measure it at a test point on the driver with a multimeter. Each driver has a different formula to convert Vref to current.
TMC Drivers (2208, 2209, 2130, 5160)
TMC drivers can be configured via UART or SPI, making Vref adjustment less common. For these drivers, you typically set the current directly in firmware (Marlin, Klipper, RRF) in milliamps.
Driver-Specific Formulas
- A4988: Vref = Current × 8 × Rs (Rs typically 0.1Ω)
- DRV8825: Vref = Current ÷ 2
- TMC2208/2209: Vref = (RMS × 1.41) ÷ 1.77
- TMC2130/5160: Set run_current in firmware (mA)