Battery Calculatorby Voltage Drop Calculator

Battery calculators / Health & measurement

Understand your battery. Plan your power.

Battery Capacity Test Calculator

Calculate delivered charge capacity from a controlled constant-current discharge test.

Your inputs

A
h
V

Defaults are illustrative. Enter your battery or equipment data. Efficiency and usable capacity inputs are percentages.

Your result

Awaiting your inputs

Enter your values and press Calculate. Your result will appear here.

Explained formula · Sources listed below · No sign-up

The method

Formula and calculation steps

Measured Ah = test A × hours; approximate Wh = average V × measured Ah

The time must end at the battery manufacturer test cutoff under the specified test conditions. Use an average measured voltage for energy, not a momentary sample.

This assumes constant current. For a varying current or voltage, integrate logged readings instead. Never discharge a lithium cell below its approved limit.

Battery Ah capacity calculation from a discharge test

To calculate Ah of a battery from testing, discharge under the specified conditions and record constant current and time to the defined cutoff. Amp-hours equal current times hours. This is different from guessing capacity from terminal voltage or physical battery size.

A battery capacity calculation sheet should record the battery identity, test temperature, starting condition, current, cutoff voltage and duration. For laptop capacity, the reported full-charge energy is often more convenient than running a separate test. Keep energy and charge units distinct when comparing results.

Worked example

A transparent starting point

5 A for 20 hours delivers 100 Ah; at an average 12 V the energy is approximately 1,200 Wh.

The values below are computed with the same formula as the calculator. They are examples, not manufacturer performance claims.

How one input changes the answer

Time to specified cutoff (h)Delivered charge in test
10 h50 Ah
20 h100 Ah
30 h150 Ah

All other inputs use the illustrative defaults in the form.

Battery Ah capacity calculation from a discharge test — calculated examples

Each row below is calculated from the stated case inputs. Inputs not changed in a row use the assumptions listed after the table.

CaseChanged inputsResult
1A test for 5hConstant test current: 1 A; Time to specified cutoff: 5 h5 Ah
1A test for 10hConstant test current: 1 A; Time to specified cutoff: 10 h10 Ah
5A test for 5hConstant test current: 5 A; Time to specified cutoff: 5 h25 Ah
5A test for 10hConstant test current: 5 A; Time to specified cutoff: 10 h50 Ah
10A test for 5hConstant test current: 10 A; Time to specified cutoff: 5 h50 Ah
10A test for 10hConstant test current: 10 A; Time to specified cutoff: 10 h100 Ah
20A test for 5hConstant test current: 20 A; Time to specified cutoff: 5 h100 Ah
20A test for 10hConstant test current: 20 A; Time to specified cutoff: 10 h200 Ah

Unchanged inputs: Constant test current = 5 A; Time to specified cutoff = 20 h; Measured average discharge voltage = 12 V. Rows change only the listed inputs. Values are arithmetic examples, not manufacturer performance claims.

Common questions

Can I compare two tests made at different currents?

Not directly. Keep current, temperature and cutoff consistent, especially for lead-acid batteries.

How should I use the result?

This assumes constant current. For a varying current or voltage, integrate logged readings instead. Never discharge a lithium cell below its approved limit.

What is the formula for calculating battery capacity?

For constant current, capacity Ah = A × hours to the specified cutoff. Energy Wh additionally needs average discharge voltage or direct integration of power.

Can I calculate 12V battery amp hours from voltage alone?

No. Many batteries have the same nominal voltage and very different capacities. Obtain a rating or perform a controlled capacity measurement.

How do I calculate mAh of a battery?

Compute Ah from current and time, then multiply by 1,000. A 0.1 A discharge lasting two hours delivers 200 mAh.

Is a battery capacity test also a health check?

Compare measured capacity to an original reference under comparable conditions to calculate capacity retention. This does not by itself assess every failure mechanism.

How do I do a battery calculation on Excel or Excel VBA?

For a constant current in B2 and time in C2, Ah is =B2*C2. If average voltage is in D2, approximate Wh is =B2*C2*D2. The same arithmetic can be written in VBA, but no macro or downloadable workbook is included.

Which battery parameters belong in a calculation worksheet?

Record units, nominal voltage, rated and measured capacity, test current, temperature, start condition and end cutoff. A worksheet without those conditions can compare incompatible capacity ratings.

Sources and formula basis

Source addresses are shown as plain text. Algebraic rearrangements, example tables and user-selected loss factors are calculated on this site. A reference does not endorse every illustrative input.

  1. Cadex Battery University BU-904 — capacity testing and reserve capacityhttps://www.batteryuniversity.com/article/bu-904-how-to-measure-capacity
  2. Cadex Battery University BU-503 — power, energy and timehttps://www.batteryuniversity.com/article/bu-503-determining-power-deliver-by-the-ragone-plot

Source pages checked: November 19, 2026. Verify current product data and locally adopted requirements before design or installation.