Fork me on GitHub

Battery Runtime Calculator
Calculate your battery runtime using Watts

Formula: Volts of the battery x Ah rating of the battery / Watts of the load / The battery’s depth of discharge (DoD) x The efficiency of the inverter

If you have a 100 watts 42" TV and a 12V 7ah battery lying around and a UPS for example, then you can work out the runtime using the calculator below.

Reset Calculator

Additional information about the calculator

The battery’s depth of discharge (DoD: 1.25 = 80% used, 2 = 50% used, 3 = 33.3% used, 5 = 20% used )

The efficiency of the inverter (60% if you are using a UPS, 85% if you are using a good inverter)

How does DoD work

For those new the industry, DOD sounds like it may be a difficult topic to understand, but it's actually simple. For instance, a battery that has been drained 30% has a 30% DOD, and 70% of its capacity remains.

The more frequently a battery is charged and discharged, the shorter its lifespan will be. Discharging a battery entirely, dramatically shortens the useful life of the battery.

Lithium vs Lead Acid

Most modern lithium-ion batteries have DoDs ranging anywhere from 80% to 95% versus their lead acid counterparts can only do 30% to 50%.

Lithium also have thousands of cycles and lead acid has 200 to 400 cycles at best.

Some articles you might also be interested in...

Xiaomi Mijia 1080P 170 Degree Smart IP Camera with AI Human Detection
Xiaomi Mijia 1080P 170 Degree Smart IP Camera with AI Human Detection

I know this review is long, but I wanted to include all the details to help you decide. This smart security camera from Xiaomi had so much going for it, I still believe there a route for Xiaomi to redeem themselves and make this camera available to its full potential by issuing a firmware update to remove the restrictions and allow RTSP access from the Xiaomi camera.

Read The Article
Sonoff SNZB-02 Zigbee Temperature & Humidity Sensor
Sonoff SNZB-02 Zigbee Temperature & Humidity Sensor

Enclosed in the same shell, SNZB-02 Zigbee temperature & Humidity sensor reports back every couple of minutes. The sensor is powered by CR2450 3V battery. The extra capacity means that the sensor will last a really long time. I have a heater connected to eWeLink app and, once I added a hub (absolutely required) this thing has performed well. The heater is controlled within +- 1°C. That's another thing, eWeLink only provides temperature readings in °C with no option for °F. I'm thinking about placing another sensor on the outside of the window so that I can control based on outdoor temperature as well.

Read The Article
How to transcribe video files to text files using Amazon AWS Transcribe for Free.
How to transcribe video files to text files using Amazon AWS Transcribe for Free.

Transcribe a video to text using AWS. In this tutorial we will create a Word Document from a YouTube Video using the automatic speech recognition service from Amazon called, AWS Transcribe. Amazon Transcribe is an automatic speech recognition (ASR) service that makes it easy for developers to add speech to text capability to their applications.

Read The Article