Battery Life Calculator

Estimate runtime from mAh capacity, current load, and efficiency β€” with device presets and discharge timeline

14.0 h0.58 days Β· 0.08 wks70% eff2000 mAh @ 100 mA load1h8h1d7d30d1yr

Segments = usable capacity after efficiency Β· Timeline = discharge position (log scale, 1h–1yr)

⚑ Power Specs

Battery Type Quick-Set

Average current draw while the device is running.

Load Quick-Set

0.7 (70%) = realistic alkaline/Li-ion Β· 0.85–0.9 = lithium primary cells

πŸ“± Device Presets β€” sets all fields

ESTIMATED RUNTIME

14.0 hours

0.58 days Β· 0.08 weeks

Good for daily-charged devices

Days:

0.58 d

Usable Capacity:

1400 mAh

πŸ”‹ Reverse: How much capacity do I need?

At 100 mA Β· 70% efficiency:

β‰ˆ 2 Γ— AA alkaline batteries (2500 mAh each)

At 100 mA Β· 70% efficiency:

BatteryCapacityRuntime
AAA Alkaline1,000 mAh7.0 h
AA Alkaline2,500 mAh17.5 h
18650 Li-ion3,400 mAh23.8 h
LiPo 10 Ah10,000 mAh2.9 d

πŸ“‹ Reference Tables

DeviceTypical DrawBatteryNotes
TV Remote5–15 mA2Γ—AAAIR pulse bursts; average draw is very low
Smoke Detector8–20 mA9VMostly standby; alarm spike much higher
Arduino Nano15–25 mAAA / 18650Deep sleep reduces to <0.001 mA
ESP8266 (sleep)<0.02 mA18650Deep sleep only β€” wake on interrupt
ESP8266 (WiFi TX)170–330 mA18650Brief TX bursts; averaged 30–80 mA
ESP32 (active)100–250 mA18650Dual-core + WiFi/BT enabled
LED Flashlight200–500 mA2Γ—AAVaries by brightness mode and LED count
Trail Camera100–300 mA4Γ—AAMotion-triggered; off most of the time
GPS Module20–50 mA18650Cold start briefly higher than hot start
LoRa Sensor10–40 mA18650TX bursts; sleep draws <0.01 mA

* All figures are typical active-mode values. Sleep-mode draws can be 1,000Γ— lower for MCU-based devices.

🎯 A Simple Example: Planning an Arduino Weather Station β€” Step by Step

You want to build an outdoor weather station using an Arduino Nano and a DHT22 sensor, powered by a single 18650 Li-ion cell (3400 mAh).

1️⃣ Click the Arduino Sensor device preset β€” it sets 2000 mAh, 25 mA, and 75% efficiency to match a typical active-mode build.

2️⃣ Change the capacity to 3400 mAh for your 18650 cell.

3️⃣ Read the result: roughly 102 hours β€” about 4.25 days.

4️⃣ Not long enough? Click Sleep Β΅A in the Load Quick-Set. With the Arduino in deep sleep (0.001 mA average), the same cell lasts over 2.5 million hours. More realistically, if the station wakes every 15 minutes and averages 0.5 mA, you get around 5,100 hours β€” over 7 months.

5️⃣ Use the Reverse calculator to confirm: for 720 hours (30 days) at 0.5 mA with 80% efficiency, you need just 450 mAh β€” any AA alkaline battery exceeds that easily.

Pro tip: The single biggest battery-life upgrade for any microcontroller project is enabling deep sleep between readings. A few lines of code can turn a 4-day battery life into a 7-month deployment.

Data Source: Peukert's Law β€” Wikipedia β€’ Public domain β€’ Solo-developed with AI

Shop Batteries & Electronics

As an Amazon Associate, I earn from qualifying purchases.

Lab Notes

Why Battery Life Estimates Are So Unreliable (And How a 19th-Century Engineer Calculated the Truth)

The First Energy Crisis: When Alessandro Volta shocked the scientific world in 1800 with his Voltaic Pile β€” layers of copper and zinc soaked in saltwater β€” the device had no rating system, because nobody knew how to measure stored energy in a consistent way. Early batteries died unpredictably, frustrating telegraph engineers who desperately needed reliable power for their lines. The mAh rating we take for granted today didn't emerge as a practical standard until Georges LeclanchΓ©'s zinc-carbon cell of 1866 was manufactured at industrial scale, driving the first serious attempts to quantify capacity. By the late 19th century, with electric lighting and telephone networks spreading rapidly, a battery that couldn't tell you how long it would last was commercially worthless.

Peukert's Law and the 70% Rule: In 1897, German scientist Wilhelm Peukert discovered something inconvenient: the faster you drain a battery, the less total energy you actually extract. High currents cause increased internal resistance and heat losses, so a battery rated at 2500 mAh under gentle test conditions might only deliver 2000 mAh when driving a hungry 500 mA load. This is why the efficiency slider in this calculator defaults to 0.7 β€” not because the battery wastes 30% in some mysterious way, but because voltage cutoff, internal resistance, and temperature effects mean you can rarely empty a cell completely under real operating conditions. Lithium primary cells (like CR2032s) achieve 85–90% efficiency because their flat discharge curve holds voltage high for longer; alkaline cells droop earlier.

Sleep Modes and the IoT Revolution: The calculator assumes your device draws a constant current β€” which almost no real battery-powered device does. The magic of modern microcontroller design is the "sleep mode": an Arduino Nano running continuously draws 25 mA, but the same chip in deep sleep draws under 0.001 mA. A LoRa weather node that wakes, reads sensors, transmits, and sleeps every 15 minutes achieves an average current well below 1 mA β€” turning a 3400 mAh 18650 cell from a 34-hour battery into a multi-month deployment. The Device Current Draws table above lists typical active-mode figures; for sleep-cycle designs, estimate your duty cycle and compute the weighted average load before entering it here.

From Voltaic Pile to LiFePOβ‚„: Battery chemistry has evolved dramatically since Volta's leaky saltwater cell β€” from the LeclanchΓ© carbon-zinc (1866) to nickel-cadmium (1899), nickel-metal hydride (1989), and lithium-ion (1991). Lithium iron phosphate cells, now common in solar storage and long-life IoT applications, tolerate 3,000+ full charge cycles while maintaining 80% capacity. But the fundamental equation β€” usable energy divided by current draw equals runtime β€” hasn't changed in two centuries. Whether you're sizing a battery for a trail camera, a smoke detector, or a soil-moisture sensor in a remote field, the goal is exactly what it was in 1866: get reliable, predictable power from a finite energy source, and know precisely when it's going to run out.

🐾 From the Lab Cat's Energy Conservation Division: I have conducted extensive field research into portable power management, specifically the discipline of The Strategic Nap. My peak consumption event β€” known in the literature as The Zoomies β€” depletes approximately 95% of my daily reserves in under three minutes, after which I require an immediate four-hour recharge cycle positioned in direct sunbeam contact. I have also identified a recurring efficiency loss: roughly 30% of all treat energy is dissipated through floor friction and under-appliance sequestration before reaching the intended biological load. Engineers call this "parasitic drain." I call it deeply unfair. Current status: operating at 12% capacity. Engaging sleep mode. 🐾

In short: These tools are for education and curiosity only. Always verify information independently and consult professionals before making important decisions.

Riatto.ovh Β© 2025 – 2026. Designed and maintained by a solo developer with AI.

Privacy Policy

Also by us: Purr.ovh Β· Snackword.ovh Β· Substack