Current Consumption Calculator

Calculate the average current draw of a device with multiple operating modes — active, idle, sleep, and deep sleep.


Operating Modes


Formula Explanation

The average current is calculated as the weighted average of each mode's current draw over a complete cycle:

Iavg = (I₁ × t₁ + I₂ × t₂ + ... + In × tn) / (t₁ + t₂ + ... + tn)

Where:

  • In — Current consumption of mode n (mA)
  • tn — Duration of mode n (s)

Average power is calculated as P = V × Iavg when a supply voltage is provided.

Example (ESP32): 120 mA for 5 s (active), 80 mA for 60 s (idle), 0.01 mA for 595 s (deep sleep) → Iavg = 7.57 mA.


Related Tools