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.
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
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.
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.
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.
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.
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.
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)
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.
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.
Ohm's Law Calculator solves voltage, current, resistance, and power online for free. Enter any two values to instantly get the other two.
Wattage Calculator finds power in watts from volts and amps online for free. Multiply voltage by current to get watts and kilowatts instantly.
Electricity Cost Calculator estimates the running cost of any appliance online for free. Enter watts, hours, days, and your rate to see daily and total cost.
LED Resistor Calculator finds the right current-limiting resistor for an LED online for free. Enter supply voltage, LED voltage, and current to get the resistor value.
Image Resizer changes image dimensions online — set exact pixels, use percentage scaling, or pick from 12 presets (Instagram, Passport, YouTube, etc.). Target specific file sizes like 50KB or 100KB. Batch resize multiple images. 100% free, browser-based.
Image Converter changes images between any format online free — JPG, PNG, WebP, AVIF, PDF, ICO, BMP, HEIC, GIF, SVG. Batch conversion, resize, rotate, flip, AI format recommendation. 100% browser-based, no upload.
Convert JPG to WebP format online free — reduce image file size by 25-35% with identical visual quality. Batch conversion, adjustable quality, lossless mode available. Boost website speed and Core Web Vitals scores. 100% browser-based, no upload needed.
Convert PNG to WebP format online free — reduce file size by 26-34% while preserving full transparency. Batch conversion, lossless and lossy modes, adjustable quality. Boost website performance and Core Web Vitals. 100% browser-based, no upload needed.