Calculators.Life Calculator
Physics

Watt-Hour (Wh) Calculator

Input Parameters

Scenarios
Nominal electrical potential difference in Volts (e.g. 3.7V for Li-ion cell, 12V for lead-acid).
Battery capacity rating in mAh or Ah.
Power draw or generation in Watts.
Duration of operation in selected time units.

Computed Results

Energy (Watt-hours / Wh)
9.25
Energy (Kilowatt-hours / kWh)0.0092
Energy (Joules / J)33,300
Equivalent Amp-Hours (at V)2.5

The watt-hour (Wh) calculator determines the total electrical energy stored in a battery or consumed by a device over time. By entering either battery capacity and voltage or power draw and operating time, you can quickly find the total energy in watt-hours, kilowatt-hours, and joules.

Practical Use Cases

Calculating watt-hours is essential for comparing the true energy capacity of batteries that operate at different voltages. For example, a 12-volt battery and a 3.7-volt battery with the same amp-hour rating hold vastly different amounts of total energy. This calculator helps you standardize those measurements into watt-hours. It is also useful for determining how much energy a specific device will consume over a set period, which is necessary when sizing solar setups, backup power systems, or portable electronics.

Formulas and Explanation

The calculator uses two primary methods to determine energy in watt-hours, depending on the information you have available.

Calculating from Battery Capacity

When calculating energy from a battery's specifications, the formula multiplies the electrical potential (voltage) by the total charge capacity in amp-hours (Ah):

Wh = Voltage × Amp-Hours (Ah)

If your battery capacity is rated in milliamp-hours (mAh), the calculator first divides that number by 1,000 to convert it to amp-hours before multiplying by the voltage.

Calculating from Power and Time

When calculating the energy consumed or generated by a device, the formula multiplies the power draw by the duration of operation:

Wh = Power (W) × Time (Hours)

If the operating time is provided in minutes, it is divided by 60 to convert to hours. If provided in days, it is multiplied by 24. The calculator also provides conversions to kilowatt-hours (kWh) by dividing the watt-hours by 1,000, and to Joules (J) by multiplying the watt-hours by 3,600.

Verified Scenario Walkthroughs

High Capacity Deep Cycle Battery

Consider a 12.8V deep cycle battery with a charge capacity of 200 Ah. Using the battery calculation method, the calculator multiplies 12.8V by 200 Ah to find the total energy. This results in 2,560 Wh, which is equivalent to 2.56 kWh or 9,216,000 Joules. The equivalent amp-hours remain 200 Ah.

Short Duration High Power Draw

Suppose you have a device drawing 500 Watts of power for 15 minutes on a 12V system. Using the power and time calculation method, the 15 minutes is converted to 0.25 hours. Multiplying 500 W by 0.25 hours yields 125 Wh. This equals 0.125 kWh or 450,000 Joules. To find the equivalent amp-hours at 12V, the calculator divides 125 Wh by 12V, resulting in 10.4167 Ah.

How to Use the Calculator

Follow these steps to calculate watt-hours based on your available data:

  1. Select your Calculation Method: choose either to calculate from battery specifications or from power and time.
  2. If calculating from a battery, enter the Voltage (V), select your Charge Unit (mAh or Ah), and input the Charge Capacity.
  3. If calculating from power, enter the system Voltage (V) (optional, used to calculate equivalent Ah), the Power (Watts), select your Time Unit (minutes, hours, or days), and input the Operating Time.
  4. Review the results to see the total energy in watt-hours, kilowatt-hours, and joules, along with the equivalent amp-hours.

Inputs and Outputs

FieldTypeDescription
Calculation MethodInputSelect whether to calculate using battery capacity or power draw over time.
Voltage (V)InputThe nominal electrical potential difference in Volts.
Charge UnitInputThe unit of electrical charge (mAh or Ah).
Charge CapacityInputThe battery's capacity rating.
Power (Watts)InputThe power draw or generation of the device.
Time UnitInputThe unit of time for the operation duration (minutes, hours, or days).
Operating TimeInputThe duration the device is operating.
Energy (Watt-hours / Wh)OutputThe total calculated electrical energy in watt-hours.
Energy (Kilowatt-hours / kWh)OutputThe total energy converted to kilowatt-hours.
Energy (Joules / J)OutputThe total energy converted to joules.
Equivalent Amp-Hours (at V)OutputThe equivalent charge capacity in amp-hours based on the provided voltage.

Frequently Asked Questions

What is the difference between mAh and Wh?

Milliamp-hours (mAh) measure electrical charge capacity, while watt-hours (Wh) measure total electrical energy. Watt-hours account for the voltage of the battery, making it a more accurate measurement for comparing the total energy capacity of batteries with different voltages.

How do I convert watt-hours to kilowatt-hours?

To convert watt-hours to kilowatt-hours, divide the total watt-hours by 1,000. For example, 2,500 Wh is equal to 2.5 kWh.

Why do I need to know the voltage to calculate watt-hours from amp-hours?

Energy (watt-hours) is the product of electrical charge (amp-hours) and electrical potential (voltage). Without knowing the voltage, you only know how many electrons the battery can move, not how much actual work or energy those electrons can provide.

Author portrait
About the Author
Arnab Biswas

Calculator developer and SEO strategist who builds practical online calculators and tests calculation logic, input handling, and expected results using real-world scenarios.