Skip to content

Calculating Ah from Watts

On my van, I have a 12V 100Ah battery.

Let’s say I have a 100W hair dryer that I run through a power inverter. For how many hours can I run it, before the battery capacity ends?

The formula to use is Wh / V, which in this case means

100Wh/12V = 8,333Ah

1 watt-hour is 1 watt of power expended for 1 hour

Since the battery is 100Ah, I can run it for 12 hours (100Ah / 8,333Ah).

If I had a device that consumed 200W, I could run it for 6 hours.

This assuming the battery is 100% and I can consume 100% of its power, what almost happens with a LiFePo4 battery, but not for regular lead-acid batteries.


→ I wrote 17 books to help you become a better developer:

  • C Handbook
  • Command Line Handbook
  • CSS Handbook
  • Express Handbook
  • Git Cheat Sheet
  • Go Handbook
  • HTML Handbook
  • JS Handbook
  • Laravel Handbook
  • Next.js Handbook
  • Node.js Handbook
  • PHP Handbook
  • Python Handbook
  • React Handbook
  • SQL Handbook
  • Svelte Handbook
  • Swift Handbook
...download them all now!

Also, JOIN MY CODING BOOTCAMP, an amazing cohort course that will be a huge step up in your coding career - covering React, Next.js - next edition February 2025

Bootcamp 2025

Join the waiting list