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...

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
How to block ads on your network using Pi-Hole and a Raspberry Pi
How to block ads on your network using Pi-Hole and a Raspberry Pi

With Pi-Hole you can block in-app advertisements. Network-level blocking allows you to block ads in non-traditional places such as mobile apps and smart TVs, regardless of your hardware or OS and since advertisements are blocked before they are downloaded, network performance is improved and will feel faster. Pi-hole is a black hole for Internet advertisements.

Read The Article
How to download Youtube videos as MP3 files.
How to download Youtube videos as MP3 files.

To convert a Youtube video or any video for that matter requires just one step, in essence you will transcode the video file (normally an MP4) to MP3 using ffmpeg. In this tutorial I will show you how you can convert videos to audio in a matter of seconds, it does not cost a cent and requires very little effort.

Read The Article