mA/h Power Consumption Calculator
Estimate a device's power consumption in milliamp-hours (mAh) from its current draw in mA and operating time in hours. Optionally enter the voltage to also get the estimated energy, useful for battery life and power budgeting.
Energy Usage Estimator in mAh
mAh Power Consumption Formula
Where:
- \(I_{\text{mA}}\) — current draw of the device (mA)
- \(t_{\text{h}}\) — operating time (h)
- \(V\) — supply voltage (V)
- \(Q_{\text{mAh}}\) — total consumption in milliamp-hours (mAh)
- \(E_{\text{mWh}}\) — estimated energy as computed by the calculator
The first formula multiplies a constant current draw by the time it flows, giving the total charge consumed in milliamp-hours. The second formula multiplies that result by the supply voltage and divides by 1000 to give the estimated energy value.
mAh Power Consumption – Calculation Example
Example: a device draws an average current of 500 mA from a 5 V supply and runs continuously for 4 hours.
\[ Q = 500 \cdot 4 = 2000~\text{mAh} \]
\[ E = \frac{500 \cdot 4 \cdot 5}{1000} = 10 \]
Result: the total consumption is 2000 mAh, and the estimated energy value is 10.
How to Use the Calculator
- Enter the Current in milliamps (mA) — the average current draw of your device. Measure it with a multimeter or take the value from the datasheet.
- Enter the Time in hours that the device operates.
- Optionally enter the Voltage in volts (V) to get the estimated energy value alongside the mAh consumption.
- Read the Total Consumption in mAh and the Estimated Energy result below the inputs.
What Is mAh Power Consumption?
Milliamp-hours (mAh) is a unit of electric charge commonly used to describe battery capacity and energy consumption in low-power electronics. One mAh represents a current of one milliamp flowing for one hour. If a circuit draws a steady 100 mA for 10 hours, it consumes 1000 mAh of charge — which would fully drain a 1000 mAh battery.
Because battery capacity is rated in mAh, calculating consumption in the same unit makes battery life estimation straightforward: a 2000 mAh battery powering a device that consumes 2000 mAh over its runtime will, in the ideal case, last exactly that long. In practice, real batteries deliver somewhat less than their rated capacity, especially at high discharge currents or low temperatures.
The optional voltage input lets you relate charge consumption to energy. Power in milliwatts is the product of current and voltage, so a device drawing 500 mA at 5 V dissipates 2500 mW. Over time, this translates into energy consumption, which is what the second formula estimates. Note that the calculator computes \( I \cdot t \cdot V / 1000 \); with current in mA, time in hours, and voltage in volts, this value is numerically equal to the energy in watt-hours (10 in the example above equals 10 Wh, or 10,000 mWh).
This calculation is essential for power budgeting in mobile devices, IoT nodes, embedded systems, and battery-powered prototypes. It helps you size a battery for a target runtime, compare the consumption of different operating modes, and verify that a design meets its energy requirements before committing to hardware.
Assumptions, Limitations and Practical Tips
- Constant current: the formula assumes the current draw is steady over the whole period. If your device alternates between active and sleep modes, use the average current: multiply each mode's current by its duty cycle and sum the results.
- Ideal battery: rated mAh capacity assumes specific discharge conditions. Expect 70–90 % of the rated capacity to be usable, and derate further for high currents, cold temperatures, or end-of-life aging.
- Efficiency losses: regulators and converters (e.g., a 3.7 V Li-ion cell stepping up to 5 V) introduce losses of 10–20 %, so the battery must supply more charge than the load consumes.
- Measuring current: for accurate results, measure the average current with a multimeter or a dedicated power analyzer over a representative workload, rather than relying on peak or typical datasheet values alone.
- When sizing wiring or PCB traces for a known current, our Wire Gauge calculator can help you pick a suitable conductor size, and the Zener Diode Resistor calculator is useful when designing current-limiting circuits. For AC circuits where voltage and current phase matter, see the Real and Reactive Power calculator.
Frequently Asked Questions
How do I calculate mAh consumption by hand?
Multiply the average current draw in milliamps by the operating time in hours: \( Q = I \times t \). For example, a device drawing 250 mA for 6 hours consumes \( 250 \times 6 = 1500 \) mAh. If your time is in minutes, divide by 60 first: 30 minutes = 0.5 h. The calculation only needs two numbers, but it assumes the current stays roughly constant over the whole period.
How do I convert mAh to Wh or Ah?
To get watt-hours, multiply mAh by voltage and divide by 1000: \( \text{Wh} = \frac{\text{mAh} \times V}{1000} \). So a 3000 mAh consumption at 3.7 V equals about 11.1 Wh. To convert mAh to amp-hours, simply divide by 1000: 3000 mAh = 3 Ah. Remember that mAh alone tells you charge, not energy — you always need the voltage to compare consumption across different systems.
How long will my battery last with this consumption?
Divide the battery's usable capacity by your total consumption. A 3000 mAh battery powering a device that uses 3000 mAh lasts about 1 hour of active runtime; at 300 mA it lasts roughly 10 hours. In practice, expect only 70–90 % of the rated capacity to be usable, and derate further for high discharge currents, cold temperatures, converter losses, and battery aging. For critical applications, leave a 20–30 % margin.
What is a typical current draw for common devices?
It varies enormously by device class. A microcontroller in deep sleep may draw under 0.1 mA, an IoT sensor node 1–10 mA on average, a smartphone 100–500 mA in active use, a Wi-Fi router 200–500 mA, and a small motor or heating element can pull several amps. Always measure the average current under a realistic workload rather than trusting peak or datasheet 'typical' values.
My device switches between active and sleep modes. How do I account for that?
Compute a weighted average current. If the device draws 100 mA for 10 % of the time and 2 mA the rest, the average is \( 0.1 \times 100 + 0.9 \times 2 = 11.8 \) mA — enter that as the current. This matters a lot: ignoring a low-power sleep mode can overestimate consumption by 10x or more, while ignoring brief high-current bursts (like radio transmissions) can underestimate it.
Why can't I compare mAh values at different voltages?
Because mAh measures charge, not energy. A 5000 mAh battery at 3.7 V stores about 18.5 Wh, but 5000 mAh at 7.4 V stores 37 Wh — double the energy. When comparing batteries or consumption across different voltages, always convert to watt-hours first. This is also why a power bank's rated mAh (usually at 3.7 V) delivers fewer mAh at its 5 V output.
What are common mistakes when calculating mAh consumption?
The most frequent errors are using peak current instead of average, forgetting to convert minutes to hours, comparing mAh across different voltages, and ignoring converter efficiency. If a 3.7 V battery feeds a 5 V boost converter at ~85 % efficiency, the battery must supply roughly 18 % more charge than the load consumes. Also avoid assuming the full rated capacity is available — batteries age and lose capacity over their lifetime.