Microdeck.tools 100% In-Browser

Battery Life & Runtime Estimator

New

Estimate runtime from battery capacity (mAh or Wh), usable percentage and load current or power. Supports sleep and active duty cycles for IoT and microcontroller projects.

100% In-Browser No Server Storage Instant Results

Did this tool save you time? Help keep Microdeck free and maintained. Completely optional · From $3.

How It Works Under the Hood

Runtime = usable capacity ÷ average load. Usable capacity is the rated capacity times the percentage you can actually draw. For a duty cycle the average current is the active current times the active fraction plus the sleep current times the rest. For watt loads the capacity is converted to watt-hours with the battery voltage.

Step-by-Step Instructions

1

Enter battery capacity in mAh and its voltage, and the usable percentage.

2

Choose a constant current or power load, or an active/sleep cycle.

3

Enter the load values.

4

Read the runtime in hours and days.

Key Features & Performance

  • Current (mA) or power (W) loads
  • Duty cycle with separate active and sleep currents
  • Usable capacity setting for aging, cutoff voltage and temperature
  • Readable duration such as 2 d 2 h

Worked Examples & Edge Cases

Constant load

Input
2000 mAh, 80% usable, 120 mA
Output
13 h 20 min

Power bank

Input
10,000 mAh at 3.7 V, 70% usable, 5 W
Output
5 h 11 min

25.9 Wh ÷ 5 W.

Limitations, Scope & Accuracy Notes

  • • Real capacity falls with high discharge rates, cold temperatures and age; use a lower usable percentage to be safe.
  • • Self-discharge matters for multi-year projects and is not modelled.

Local Browser Processing & Privacy

Traditional web converters upload your documents, snippets, or media files to remote servers. Battery Life & Runtime Estimator runs inside your browser tab:

Processed in This Tab

Your input text and files are processed locally without uploading payloads to a processing server.

No Tool Payload Logging

Microdeck does not log or store the files or inputs you paste into tool workspaces (normal static hosting/CDN requests still load page assets).

Tab Memory Lifecycle

Working outputs stay in your browser tab and are released when you reset the tool or close the tab.

Frequently Asked Questions

What usable percentage should I use?

About 80% is a reasonable default for lithium cells, less for old cells, cold weather or high current.

How do I convert a power-bank rating?

Power banks quote cell capacity at 3.7 V. Enter that voltage and a usable value near 65 to 75% to allow for conversion losses.

Does the tool store anything?

No.

Explore Related Micro-Tools

Support Microdeck

Completely optional · From $3 · No account required

Choose an amount (USD):Selected:$5

Minimum support amount is $3 USD.

Completely optional · From $3 · Checkout opens on Gumroad.