Skip to main content

Free Battery Life Calculator – Estimate Runtime from mAh

Battery Life Calculator estimates how long a battery lasts online for free. Divide battery capacity in mAh by device current draw to get runtime in hours.

Written & reviewed by Helperzy Editorial Team · Updated July 2026

mAh ÷ mAWith efficiencyHours & minutesReal-timeFree

Accounts for real-world losses (voltage conversion, heat). Leave at 85% if unsure.

Estimated Runtime

17h 0m

17 hours

Ideal Runtime (100% efficiency)

20 hours

100% Private

All calculations run locally in your browser. Nothing is uploaded.

How to Use Battery Life Calculator

1

Enter Battery Capacity

Type the battery rating in milliamp-hours (mAh), such as 3000, as printed on the cell or in its datasheet. This is the total charge the battery holds. A larger number means a proportionally longer runtime.

2

Enter Current Draw

Type the device's average current draw in milliamps (mA). Use the average over a realistic duty cycle, since most devices pull more when active than idle. This value has the biggest effect on runtime.

3

View Runtime

See the estimated runtime in hours and minutes, adjusted by your efficiency factor. Leave efficiency near 85 percent for a realistic figure, or 100 percent for the theoretical maximum. Treat the result as an estimate, since cold, age, and high drain all reduce real capacity.

Predicting How Long a Battery Will Last

This calculator estimates how many hours a battery can power a device before it runs flat, using a simple ratio: Hours = Battery Capacity (mAh) ÷ Device Current Draw (mA). Because both figures share the same milliamp base, the milliamps cancel and you are left with a runtime in hours. It is the number every maker wants when designing a battery-powered gadget, and the one every consumer wonders about when reaching for a power bank. An optional efficiency factor lets you turn the ideal figure into a more honest real-world estimate. The variables are easy to source. Battery capacity, in milliamp-hours (mAh), is printed on most cells and power banks and represents how much charge the battery holds. Current draw, in milliamps (mA), is how much current your device pulls on average while running. Dividing capacity by draw gives the theoretical runtime; multiplying that by an efficiency percentage (as a decimal) trims it down to account for losses. In plain terms, a bigger battery or a hungrier device pushes the runtime up or down in direct proportion, which makes trade-offs easy to reason about. Here is a worked example. Take a 3,000 mAh battery driving a 150 mA load. The ideal runtime is 3,000 ÷ 150 = 20 hours. Real circuits are not perfectly efficient, so apply a typical 85 percent factor: 20 × 0.85 = 17 hours, which is closer to what you would actually see. If the same battery instead powered a 300 mA device, the ideal runtime would halve to 10 hours, and about 8.5 hours after the efficiency adjustment — a clear reminder that current draw is the lever that matters most. A low-power sensor node makes the contrast obvious: a 2,000 mAh cell feeding an 8 mA average load lasts 2,000 ÷ 8 = 250 hours, a little over ten days on one charge. Hobbyists and product designers lean on this when planning an Arduino sensor node, a Bluetooth beacon, an LED strip, a drone, or any portable device. It answers whether a chosen cell is big enough, how often recharging will be needed, and whether a larger battery justifies its extra weight and cost. Four situations show up repeatedly. Someone building a soil-moisture sensor for a terrace garden checks that a 2,000 mAh cell at 8 mA average will run 250 hours between charges, which sets a weekly recharge routine. A traveller works out that a 10,000 mAh power bank charging a phone at 500 mA gives 20 hours in theory but nearer 13 once the 65 percent conversion loss between a 3.7 V cell and 5 V USB is counted. A drone pilot divides a 1,200 mAh pack by a 15,000 mA flight current and sees under five minutes of hover, which explains why racing packs are swapped so often. A shop fitting a battery-backed LED sign estimates nightly runtime before choosing the pack size. Treat the result as an estimate, not a promise. Usable capacity shrinks in cold weather and as cells age, high discharge rates cut the effective capacity through the Peukert effect, and most devices draw more current when active than when idle. Voltage conversion in regulators and boost circuits burns energy too, which is exactly why the efficiency factor exists — for phone charging from a 3.7 V power bank to 5 V USB, drop it to around 60 to 70 percent. Use the average current over a realistic duty cycle for the best figure. The mistake beginners make most often is comparing capacities across different voltages: a 10,000 mAh power bank does not fully charge a 5,000 mAh phone twice, because the phone cell and the bank cell sit at different voltages and the boost converter burns the difference. Compare watt-hours (mAh × volts ÷ 1000) when the voltages differ. Also avoid draining lithium cells flat — most protection circuits cut off well above zero, so usable capacity is less than the printed rating. If your pack is wired into mains-powered charging or vehicle wiring, follow local electrical code and get a qualified electrician or technician to sign off. All the math runs locally in your browser, so nothing is uploaded.

Battery Life Calculator Formula & Method

Hours = Battery Capacity (mAh) ÷ Device Current (mA) × Efficiency Capacity = battery rating in milliamp-hours (mAh) Current = average device draw in milliamps (mA) Efficiency = real-world factor as a decimal (85% = 0.85) Use 0.85 for direct DC loads and about 0.65 for 3.7 V to 5 V USB charging Watt-hours = mAh × cell voltage ÷ 1000 (use this when comparing packs of different voltages)

Examples: Battery Life Calculator

Input

3,000 mAh, 150 mA, 85% efficiency

Result

≈ 17 hours

3000 ÷ 150 = 20h ideal; 20 × 0.85 = 17 hours.

Input

3,000 mAh, 300 mA, 100% efficiency

Result

10 hours

3000 ÷ 300 = 10 hours at the theoretical maximum.

Input

2,000 mAh sensor cell, 8 mA average draw, 100% efficiency

Result

250 hours (about 10.4 days)

2000 ÷ 8 = 250 hours, so the node needs recharging roughly every ten days.

Frequently Asked Questions – Battery Life Calculator

Divide the battery capacity in milliamp-hours (mAh) by the device current draw in milliamps (mA): Hours = mAh ÷ mA. For example, a 3000 mAh battery powering a 150 mA device lasts about 20 hours before efficiency losses.