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

How to choose the right web hosting company for your business
How to choose the right web hosting company for your business

There are plenty of web hosting providers out there, and it may seem difficult to decipher the good from the bad. So I have put together a guide on how to find the right web hosting provider for your business and my personal recommendation of who to use depending on where you are in the world. Teaming up with the right web hosting service is more important than you think. It’s a partnership. Opt for the wrong one and you could find yourself struggling to get support, suffering downtime, or worse.

Read The Article
An affordable VPN that also comes with a Geo Blocker
An affordable VPN that also comes with a Geo Blocker

The internet is full of restrictions, censorship, privacy invasions, security breaches, and a host of unwanted entities trafficking in your personal data. Using a VPN is a great first step toward protecting your privacy online. Privacy is fundamental to a well-functioning society because it allows norms, ethics, and laws to be safely discussed and challenged. Without privacy, a free and open society can neither flourish nor exist.

Read The Article
Force all DNS traffic to go through Pi-hole using Mikrotik
Force all DNS traffic to go through Pi-hole using Mikrotik

The following mikrotik firewall rules will force all the clients on your local network like your Sony PlayStation and Google Chromecast to use your Pi-hole or your own local server as their primary DNS server, even if they have hard coded their own DNS servers we do this because many apps and devices do not use the offered DNS servers per DHCP, they are just that – an offer. Hardcoded DNS servers will still resolve and allow ads and tracking unless we use NAT rules that will redirect all DNS requests, no matter where they go, to the Pihole.

Read The Article