Battery Life Calculator — calculate battery life for tech projects. Formula, specs, and practical notes.
A battery life calculator estimates how long a battery will power a device before requiring recharging, based on the battery's capacity in milliamp-hours (mAh) and the device's average current consumption in milliamps (mA). Battery life is the single most important specification for portable electronics — smartphones, laptops, earbuds, IoT sensors, and wearables — and directly determines user experience, product design trade-offs, and operational planning for field-deployed devices. Download Time Calculator and Network Bandwidth Calculator provide related technology tools.
Battery capacity (mAh) describes how much charge the battery stores. Current draw (mA) describes how fast the device consumes that charge. Dividing capacity by current gives theoretical runtime in hours. Real-world runtime is lower due to battery efficiency losses, voltage sag as the battery depletes, temperature effects, and age-related capacity reduction. A typical efficiency factor of 80–90% accounts for these losses.
Battery life (hours) = Capacity (mAh) ÷ Current draw (mA)
Adjusted: Life = Capacity ÷ (Current ÷ Efficiency%)
Convert Wh to mAh: mAh = Wh × 1,000 ÷ Voltage (V)
Worked examples: Smartphone — 4,000 mAh battery, 200 mA average draw, 85% efficiency. Life = 4,000 ÷ (200 ÷ 0.85) = 17 hours. IoT sensor — 1,000 mAh, 2 mA average draw. Life = 1,000 ÷ 2 = 500 hours ≈ 20 days. Laptop — 60 Wh at 14.4V = 4,167 mAh, 1,500 mA draw. Life = 4,167 ÷ 1,500 = 2.8 hours.
Typical battery life benchmarks: flagship smartphone 8–15 hours screen-on time; wireless earbuds 4–8 hours per charge (20–30 hours with case); smartwatch 1–7 days; laptop 6–15 hours; wireless mouse 3–12 months; IoT temperature sensor 1–5 years. Battery life degrades with age — some Li-ion batteries are estimated to lose approximately 20% capacity after 500 full charge cycles; this is an illustrative cycle-count assumption, not a calendar-life estimate. Calendar time depends on charging frequency and battery conditions. Many manufacturers define end-of-life as when capacity falls below 80% of original rating.
Battery capacity labelling regulations vary by jurisdiction — the EU Battery Regulation (2023) introduces mandatory minimum capacity retention standards and labelling requirements for consumer batteries. Batteries containing hazardous materials (lithium, cadmium) are subject to collection and recycling obligations under WEEE and battery directive regulations in the EU and UK. Airline transport of lithium batteries is regulated by IATA — batteries above 100 Wh in checked baggage and above 160 Wh in cabin are subject to restrictions. This calculator is for planning purposes only.