Estimated battery runtime

Calculate estimated battery runtime using the values and assumptions you provide.

Calculate estimated battery runtime using the values and assumptions you provide.

Both dots and commas are accepted as decimal separators.

Your inputs stay in your browser. Displayed results are rounded to a maximum of 12 significant digits.

Method and assumptions

Method version 1.0.0 · Updated

Calculate

Formula: Runtime(h) = capacity(Wh) / load(W)

Calculate estimated battery runtime using the values and assumptions you provide.

capacityWh
Battery capacity (Wh)
loadW
Power draw (W)

Results depend on the assumptions entered; verify professional or safety-critical decisions independently.

Calculate with code

These short examples use the same inputs and core calculation as this tool. Adapt validation and formatting to your application.

JavaScript
const capacityWh = 500, loadW = 100;
console.log(capacityWh / loadW); // 5 hours ideal estimate (losses excluded)
TypeScript
const capacityWh=500, loadW=100;
const hours: number = capacityWh/loadW;
console.log(hours); // ideal runtime estimate
Python
print(500 / 100)  # 5 hours ideal; conversion losses reduce runtime
Java
System.out.println(500.0 / 100); // 5 hours ideal estimate
C#
Console.WriteLine(500m / 100); // 5 hours ideal estimate