Calculate battery cost, total battery size, or cost per kWh by entering any two values, with battery size in kWh, MWh, or Wh for energy storage.

Battery Cost Calculator

Enter any 2 values to calculate the missing variable

Battery Cost Formula

The basic battery cost formula is:

BC = BS_{kWh} * CPU

If you know the total battery cost and the battery size, the calculator can solve for cost per unit:

CPU = BC / BS_{kWh}

If you know the total battery cost and the cost per unit, the calculator can solve for battery size:

BS_{kWh} = BC / CPU

When you enter battery size in Wh or MWh, the value is first converted to kWh:

BS_{kWh} = BS * conversion_factor
  • BC = total battery cost, in dollars
  • BS = battery size in the unit you selected
  • BSkWh = battery size converted to kilowatt-hours
  • CPU = cost per unit of battery capacity, in dollars per kWh
  • conversion_factor = the multiplier used to convert Wh, kWh, or MWh into kWh

The calculator works by requiring exactly 2 of the 3 main values: total battery size, cost per kWh, and total battery cost. It converts the battery size to kWh, then rearranges the same formula to calculate the missing value.

Battery Size Unit Conversions

Battery cost is usually compared using dollars per kilowatt-hour, so battery capacity needs to be in kWh before calculating cost.

Input Unit Conversion to kWh Example
Wh Wh × 0.001 5,000 Wh = 5 kWh
kWh kWh × 1 10 kWh = 10 kWh
MWh MWh × 1,000 2 MWh = 2,000 kWh

Typical Cost per kWh Reference Ranges

Battery Use Case Typical Cost Range Notes
Small consumer battery packs $200 to $800 per kWh Often higher because of packaging, electronics, and small production size.
Home energy storage $400 to $1,000+ per kWh Installed cost may include inverter, labor, permits, and control equipment.
Electric vehicle battery pack $100 to $250 per kWh Pack-level cost depends on chemistry, scale, cooling, and design.
Utility-scale storage $150 to $500+ per kWh Full project cost may include grid connection, containers, inverters, and site work.

Example Calculations

Example 1: Calculate total battery cost

You have a 13.5 kWh battery and the cost is $600 per kWh.

BC = 13.5 * 600
BC = 8100

The estimated battery cost is $8,100.

Example 2: Calculate cost per kWh

You have a battery system that costs $12,000 and has a total size of 20 kWh.

CPU = 12000 / 20
CPU = 600

The cost per unit of battery capacity is $600 per kWh.

FAQ

What does cost per kWh mean for a battery?

Cost per kWh means the price for each kilowatt-hour of battery capacity. For example, a 10 kWh battery that costs $5,000 has a cost of $500 per kWh. This makes it easier to compare batteries of different sizes.

Should battery cost include installation?

It depends on what you are trying to compare. If you want the cost of the battery hardware only, use the battery price without installation. If you want the real project cost, include installation, inverter equipment, wiring, permits, and any other required parts.

Why does the calculator convert everything to kWh?

Battery prices are commonly expressed in dollars per kWh. Converting Wh and MWh to kWh keeps the calculation consistent and prevents unit errors. For example, 1 MWh is 1,000 kWh, so using MWh directly without conversion would give the wrong cost.