How to Calculate Amp Hours of a Battery – Calculator & Guide


How to Calculate Amp Hours of a Battery

Accurately size your battery bank for solar, marine, or RV systems using our precision calculator.


Battery Amp Hour (Ah) Calculator


Total power consumption of your devices (e.g., 60W for a laptop).
Please enter a valid positive load value.


The voltage of your battery bank system.


How long do you need to run the load?
Please enter a valid positive time duration.


Different batteries can only be safely discharged to a certain percentage.

Recommended Battery Capacity
0 Ah

Raw Consumption
0 Ah

Current Draw
0 A

Total Energy
0 Wh

Formula Used: (Load Watts / Volts) × Hours / DoD Factor.
Includes adjustment for battery depth of discharge (DoD) to ensure longevity.



Battery Size (Ah) Usable Capacity (Ah) Estimated Runtime (Hours) Suitability
Table 1: Estimated runtime for various standard battery sizes based on your load.

Required Capacity

Usable Capacity (Standard Sizes)

Figure 1: Comparison of your required capacity vs. standard battery options.

What is “Calculate Amp Hours of a Battery”?

Knowing how to calculate amp hours of a battery is the fundamental skill required for designing any reliable electrical system, whether you are outfitting a camper van, setting up an off-grid solar cabin, or simply trying to keep a backup sump pump running during a blackout.

Amp hours (abbreviated as Ah) represent the amount of energy charge in a battery that will allow one ampere of current to flow for one hour. Simply put, it is the “gas tank size” of your battery. If you fail to calculate amp hours of a battery correctly, you risk purchasing a system that dies halfway through the night or overspending on massive banks you don’t need.

A common misconception is that a 100Ah battery can provide 100 amps for 1 hour regardless of chemistry. In reality, factors like Depth of Discharge (DoD) and voltage drop mean you rarely get the full rated capacity. This guide and calculator account for these real-world limitations.

Formula and Mathematical Explanation

To calculate amp hours of a battery required for your specific needs, you must first understand the relationship between Watts, Volts, and Amps. The core physics formula is known as Watt’s Law:

Watts (W) = Volts (V) × Amps (A)

From this, we derive the steps to find Amp Hours:

  1. Find Current (Amps): Divide your load (Watts) by system voltage (Volts).
  2. Calculate Raw Amp Hours: Multiply the Current (Amps) by the Duration (Hours).
  3. Adjust for Efficiency (DoD): Divide the Raw Amp Hours by the safe Depth of Discharge percentage (e.g., 0.5 for Lead Acid).
Variable Meaning Unit Typical Range
Load (P) Power consumption of device Watts (W) 5W (Phone) – 2000W (Microwave)
Voltage (V) Electrical potential Volts (V) 12V, 24V, 48V
Current (I) Flow of electricity Amperes (A) 0.5A – 200A
Capacity (C) Total energy storage Amp Hours (Ah) 50Ah – 400Ah+
Table 2: Key variables used to calculate amp hours of a battery.

Practical Examples (Real-World Use Cases)

Example 1: The Camping Fridge

You have a 12V portable fridge that consumes 45 Watts on average. You want it to run for 24 hours without recharging. You are using a standard Lead Acid battery (50% safe discharge).

  • Step 1 (Amps): 45W / 12V = 3.75 Amps.
  • Step 2 (Raw Ah): 3.75 Amps × 24 Hours = 90 Ah.
  • Step 3 (Safe Ah): 90 Ah / 0.50 (DoD) = 180 Ah.

Result: You need a 180Ah (or likely a 200Ah) Lead Acid battery.

Example 2: Laptop Charging Station

You are setting up a remote work station with a 60 Watt laptop charger. You need to work for 8 hours using a highly efficient Lithium LiFePO4 battery (80% safe discharge) on a 12V system.

  • Step 1 (Amps): 60W / 12V = 5 Amps.
  • Step 2 (Raw Ah): 5 Amps × 8 Hours = 40 Ah.
  • Step 3 (Safe Ah): 40 Ah / 0.80 (DoD) = 50 Ah.

Result: A single 50Ah Lithium battery is sufficient for this task.

How to Use This Calculator

We designed this tool to simplify the math required to calculate amp hours of a battery. Follow these steps for the best results:

  1. Identify Load: Check the sticker on your appliance for “Watts” or “Amps”. Enter this in the first field. If you have multiple devices, add their wattages together.
  2. Select Voltage: Choose your battery system voltage. Most cars and RVs are 12V. Larger off-grid solar arrays may be 24V or 48V.
  3. Set Duration: Enter how many hours you need the device to run between charges.
  4. Choose Chemistry: Select the battery type. This automatically adjusts the safety margin (Depth of Discharge) so you don’t damage your battery.
  5. Review Results: The “Recommended Battery Capacity” is the size battery you should buy. The table below shows how long standard batteries would last with your specific load.

Key Factors That Affect Results

When you calculate amp hours of a battery, several external factors can skew the theoretical math.

  • Inverter Efficiency: If you are running AC appliances (standard wall plugs) on a DC battery, you need an inverter. Inverters are typically 85-90% efficient, meaning you should add 10-15% to your required capacity.
  • Peukert’s Law: For Lead Acid batteries, discharging them faster (high current) effectively reduces their total capacity. If you run a microwave (high load), a 100Ah battery might only act like a 60Ah battery.
  • Temperature: Cold weather significantly reduces chemical reaction speeds. At freezing temperatures (0°C / 32°F), a battery might only deliver 70-80% of its rated amp hours.
  • Battery Age: As batteries age, their internal resistance increases and capacity decreases. It is wise to oversize your bank by 20% to account for future degradation.
  • Voltage Drop: Long or thin cables cause voltage to drop between the battery and the load, causing devices to draw more amps to compensate, draining the battery faster.
  • Self-Discharge: Even when not in use, batteries lose charge over time. Lead acid batteries can lose 5-15% per month, while lithium is much lower (1-3%).

Frequently Asked Questions (FAQ)

Why is the “Recommended” capacity higher than “Raw” capacity?

Batteries should rarely be drained to 0%. Doing so can permanently damage them. The “Recommended” value adds a safety buffer (Depth of Discharge) to ensure your battery lasts for years rather than months.

Can I mix different amp hour batteries?

No. You should never mix batteries of different capacities, ages, or brands. Doing so causes the weaker batteries to drain faster, potentially overheating or failing while the stronger ones are still working.

How do I calculate amp hours of a battery if I only know Amps?

If you already know the Amps your device draws, simply multiply Amps × Hours to get the raw Amp Hours. You can skip the “Watts / Volts” step.

Does higher voltage mean more amp hours?

Not necessarily. Capacity is energy. A 12V 100Ah battery has the same total energy (Watt Hours) as a 24V 50Ah battery (1200Wh). However, higher voltage systems are more efficient for moving that energy.

What is a safe Depth of Discharge (DoD)?

For flooded Lead Acid or AGM, 50% is the industry standard limit. For Lithium Iron Phosphate (LiFePO4), you can safely go to 80%, 90%, or even 100% depending on the specific manufacturer’s BMS.

Does this calculator work for solar panels?

This calculator sizes the battery bank. To size the panels needed to recharge that bank, you would need to calculate the total Watt Hours and divide by your local peak sun hours.

How does wire size affect amp hour calculations?

If wires are too small, they heat up, wasting energy as heat rather than powering your device. This phantom load drains your amp hours faster than calculated.

Is Ah the same as mAh?

Yes, just a different scale. 1 Ah = 1,000 mAh (milliamp hours). Small electronics like phones use mAh, while large batteries use Ah.

Related Tools and Internal Resources

To further optimize your electrical setup, consider using these related tools found on our site:


Leave a Reply

Your email address will not be published. Required fields are marked *