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

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