Fork me on GitHub

Battery Size Calculator
Calculate the size battery you need for a certain runtime

Formula: Battery Ah - Watts of the load multiplied by the required runtime multiplied by the DoD devided by the desired battery voltage multiplied by 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

Time Conversion Table

Hours Minutes Total Minutes
1 0 60
1 30 90
2 0 120
2 30 150
3 0 180
3 30 210
4 0 240
4 30 270
5 0 300
5 30 330
6 0 360
6 30 390

Additional information about the calculator

The calculator will show you both Lithium and Lead Acid battery options.

The calculator automatically sets the optimal depth of discharge (DoD) depending on the load and battery type. To prolong the life of a battery, a lead-acid battery should not frequently be discharged below 70%, and Lithium-ion battery not below 20%. Note that 0% is a flat battery and 100% is a full battery.

How do I calculate the charging time of a battery?

If we ignore the losses during charging, divide the battery capacity by the charging current to obtain the battery's charging time in hours.

For example to charge a 100Ah Lead Acid battery using a 5Ah Optimate 6 charger will take roughly ±16 hours to recharge

Some articles you might also be interested in...

A smart bulb that works with the eWelink app
A smart bulb that works with the eWelink app

The Sonoff lightbulbs are very affordable and provide you with the basic functionality that a smart home needs. If the budget is tight and you don’t need all bells and whistles of the more expensive lights, Sonoff lightbulbs will do the job just fine. The prices start from $9.90 for the (plastic, White + color temperature) B02 B A60 and $12.90 for the fancy, pear-shaped B02-F-ST64 (glass, retro look, White + color temperature). As far as connected lights go, the prices are very attractive and Sonoff lightbulbs indeed are as inexpensive as you can get.

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
Review: Sonoff GK-200MP2-B a Wi-Fi and Lan enabled Wireless IP Security Camera
Review: Sonoff GK-200MP2-B a Wi-Fi and Lan enabled Wireless IP Security Camera

You probably know the Sonoff brand for smart home electronics like the POW R2 or the Sonoff Basic switches, but they also released a security camera, the Sonoff GK-200MP2-B. I decided to try it out and made an in-depth review so you can make the right decision. Considering this is Sonoff, a well-known brand for robust electronics. I expect a good working, premium product that just works especially since to use the Sonoff GK200MP2-B, you need the eWeLink application which integrates very well with other Sonoff devices.

Read The Article