The Core Charging Cost Formula
A lithium battery charging-cost estimate starts with energy, not with charge time. The battery's nominal energy is approximated by multiplying nominal voltage by amp-hour capacity. Dividing watt-hours by 1,000 converts the result to kilowatt-hours:
That value represents a simplified full-capacity energy figure. If a 12.8 V, 100 Ah battery is used as an example, nominal energy is about 1.28 kWh. In practice, the amount replaced during a charging session depends on how far the battery was discharged before charging began.
The next step is to apply the state-of-charge change. Charging from 20% to 100% represents an 80-percentage-point refill window, so the simplified energy added to the battery is 1.28 kWh × 0.80 = 1.024 kWh. This is the battery-side energy in the model, before charging losses.
Charging is not perfectly efficient. If the overall charging efficiency is 92%, the wall must supply more than 1.024 kWh for the battery to receive that amount. Grid energy is therefore calculated as battery energy added divided by efficiency expressed as a decimal. Finally, grid energy is multiplied by your electricity price per kWh.
What Each Calculator Input Means
Nominal voltage
Nominal voltage is used with amp-hours to estimate the battery's energy capacity. It is not the same as the instantaneous voltage you may see while charging or resting. A lithium pack's voltage changes through its operating range, which is why voltage × Ah should be treated as a practical approximation rather than laboratory-grade energy measurement.
Rated amp-hour capacity
Amp-hours describe charge capacity. The calculator assumes the rated Ah value is an appropriate reference for the battery being modelled. Age, temperature, high current, BMS cutoffs and cell condition can change the amount of energy that is actually accepted or delivered.
Starting and ending state of charge
The difference between starting and ending SOC determines the fraction of nominal capacity being replenished. A 30% to 80% charge uses a 50% refill fraction. This makes the page useful for normal partial charging rather than only hypothetical empty-to-full cycles.
Charging efficiency
Efficiency represents the share of wall energy that becomes stored battery energy in this simplified model. Losses can occur in the AC/DC charger, DC/DC conversion stages, cables, battery internal resistance, balancing and support electronics. If you have measured wall energy and battery-side energy, use a measured efficiency that matches your setup instead of a generic assumption.
Electricity tariff
The tariff should be entered in your local currency per kWh. If your utility has off-peak and peak rates, run separate calculations for each rate rather than averaging them unless an average is actually what you need.
Charging sessions
This is the number of similar recharge events being modelled. You can use it for a week, month, year or any other period, provided the charge window and tariff are representative of those sessions.
Worked Example: 12.8 V 100 Ah Battery
Suppose a 12.8 V 100 Ah battery is typically charged from 20% to 100%. Assume 92% charging efficiency, an electricity rate of 0.28 currency units per kWh and 12 similar charge sessions.
| Step | Calculation | Example Result |
|---|---|---|
| Nominal energy | 12.8 V × 100 Ah ÷ 1,000 | 1.28 kWh |
| Battery energy added | 1.28 × 80% | 1.024 kWh |
| Grid energy per charge | 1.024 ÷ 0.92 | About 1.113 kWh |
| Cost per charge | 1.113 × 0.28 | About 0.312 currency units |
| Cost for 12 charges | 0.312 × 12 | About 3.74 currency units |
The example shows why battery capacity alone is not the final cost input. The SOC window reduces the amount being replenished, while charging losses increase the amount purchased from the grid.
Partial Charges, Full Cycles And Annual Cost
A common mistake is to multiply full battery capacity by a daily charging count even when the battery is only partially discharged. That can overstate energy use substantially. If your battery usually moves between 40% and 90%, the model uses only a 50% refill fraction for each session.
For annual planning, estimate how many representative charging sessions occur in a year. If usage changes by season, separate the year into different scenarios. For example, an RV battery may have frequent deep recharge events during travel months and very few during storage. A home backup battery may cycle differently depending on outages, solar production or time-of-use operation.
Equivalent full cycles can also be useful when you have aggregate usage data. Two 50% refill events are roughly one full-capacity equivalent in energy terms, although real battery behaviour and charger overhead may prevent exact equivalence. For cost forecasting, the most reliable method is still measured wall kWh over a representative period.
Why Charging Efficiency Changes The Cost
If charging efficiency were 100%, wall energy would equal the energy added to the battery. Real systems consume more input energy than they store. The difference becomes heat or is used by electronics and conversion stages.
Efficiency is not necessarily constant. Charger loading, battery SOC, temperature, balancing near full charge and standby time can all change observed performance. A charger may operate efficiently through the bulk portion of charging but spend extra time at low power near the top of the charge, where fixed electronic consumption becomes a larger share of input energy.
For this reason, charging efficiency should not be confused with round-trip efficiency. Charging efficiency looks only at the path into the battery. Round-trip efficiency considers the energy recovered later as well, so it includes discharge-side and possibly inverter losses in addition to charging losses.
If your goal is electricity cost, wall-side kWh is the most direct quantity. When a charger or energy meter reports actual AC energy consumed, multiplying that measured kWh by the applicable tariff usually provides a better cost figure than estimating efficiency indirectly.
How Electricity Tariffs Affect The Result
A flat electricity rate is easy to model: multiply grid kWh by the single price. Many real tariffs are more complicated. Time-of-use plans can charge different prices during peak, shoulder and off-peak periods. Tiered tariffs can change the marginal price after a consumption threshold. Some bills include taxes, riders, fuel adjustments or fixed charges.
The calculator intentionally asks for a simple price per kWh because that keeps the energy calculation transparent. If you charge primarily overnight on a time-of-use plan, enter the overnight energy rate. If charging spans multiple rate periods, split the energy into separate scenarios and add the costs.
Fixed monthly utility charges should normally not be assigned to one battery charge unless you are specifically allocating household overhead. Demand charges, which are more common in commercial settings, are also not represented by a simple kWh multiplication because they may depend on the highest power draw during a billing interval rather than total energy consumed.
Grid Charging Versus Solar Charging
When a battery is charged from the grid, the recurring energy cost can be estimated directly from purchased kWh and the electricity tariff. Solar charging is different because the marginal energy price may be zero at the moment of generation, but the economic value of that energy is not necessarily zero. Solar energy used for charging might otherwise have been exported, used by another load or credited under a net-metering arrangement.
For that reason, this page focuses on the direct electricity-cost calculation rather than claiming a universal solar charging cost. If you want to compare grid charging with solar, use an opportunity-cost assumption that reflects your local export credit, avoided grid purchase price and system economics.
Hybrid systems can be modelled by splitting charging energy between sources. For example, if 60% of measured charging kWh comes from solar and 40% comes from the grid, only the grid portion is directly multiplied by the retail tariff for a simple cash electricity-cost estimate.
Common Charging Cost Mistakes
- Using amp-hours as if they were energy: Ah alone cannot determine kWh without voltage.
- Ignoring the SOC window: a partial recharge should not be costed as a full battery refill unless that is actually what happens.
- Multiplying stored energy by tariff without losses: wall energy is higher than battery-side energy when efficiency is below 100%.
- Applying a household average tariff to every charge: time-of-use charging may occur at a very different marginal rate.
- Counting fixed utility charges as variable charging cost: fixed fees do not normally increase with each kWh consumed.
- Assuming nameplate energy equals measured usable energy: nominal voltage × Ah is a planning approximation and may differ from metered energy.
- Confusing charge cost with battery ownership cost: electricity is only one expense; purchase price, degradation, replacement and system equipment are separate.
When To Use Measured kWh Instead
The calculator is useful before equipment is installed, when comparing batteries, or when you need a transparent scenario model. Once the charger is operating, measured wall energy is usually the stronger input for cost analysis because it automatically captures real charger efficiency, battery behaviour and much of the supporting consumption during the charge.
A plug-in energy meter can work for smaller AC chargers when it is appropriately rated. Some inverters, EVSE-style chargers, solar inverters or battery systems provide energy logs. Whatever measurement method you use, make sure it covers the same system boundary as the cost question. Measuring only DC energy into the battery will not capture AC-side conversion losses.
For repeatable comparisons, record the starting SOC, ending SOC, ambient conditions, charger mode and elapsed time along with the wall kWh. That makes it easier to compare one charge with another and to identify whether changes come from deeper cycling, temperature, balancing or a different tariff period.
Final Checks Before Using The Estimate
Use the result as an electricity-cost estimate, not as a charging-safety recommendation. Charging voltage, current limits, temperature restrictions and charger compatibility must come from the battery and charger manufacturers. A low calculated cost does not establish that a charger is suitable for a particular lithium chemistry or pack.
For budgeting, keep the model consistent: use the same nominal voltage convention, SOC definition, efficiency boundary and tariff basis across scenarios. If the estimate influences a significant purchase or operating decision, compare the model with measured kWh from a representative charge cycle before relying on it.
The most defensible question is usually not “What does one full charge cost?” but “How many wall kWh do my normal recharge events consume, and what price applies when I charge?” The calculator is designed to make those assumptions visible.