ThisCalculator

Physics

AI Energy Calculator: Estimate Electricity Use

Updated · Standard formula, shown below

The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.

AI Energy Calculator: Estimate Electricity Use

An AI energy calculator estimates the electricity used by an AI task, such as generating text or images, or by running an AI model on a computer. Enter the energy per task and the number of tasks to calculate total energy use, with an optional conversion to kilowatt-hours for easier comparison.

Formula

Total energy (Wh) = energy per task (Wh) × number of tasks. To convert watt-hours to kilowatt-hours, divide by 1,000: total energy (kWh) = total energy (Wh) ÷ 1,000. A watt-hour is a unit of energy, not power; a kilowatt-hour is 1,000 watt-hours.

  • Energy per task is the estimated electricity used by one defined AI task, measured in watt-hours (Wh).
  • Number of tasks is the count of equivalent tasks. It is a non-negative number; use a whole number for completed requests.
  • Total energy is the calculated energy for all tasks, shown in Wh and kWh.

The calculator does not determine energy per task from a model name or prompt. That figure must come from a measurement or a credible, clearly scoped estimate. The default of 1 Wh per task is only a placeholder to demonstrate the arithmetic, not a typical or universal AI energy figure.

Worked Example

Using the calculator’s defaults—1 Wh per task and 100 tasks:

  1. Total energy = 1 Wh/task × 100 tasks = 100 Wh.
  2. Convert to kilowatt-hours: 100 Wh ÷ 1,000 = 0.100 kWh.

The units cancel correctly: watt-hours per task multiplied by tasks gives watt-hours. The displayed results are rounded to two decimal places for Wh and three for kWh.

What an AI Energy Calculator Can Estimate

“AI energy calculator” can mean two different things. A simple calculator like this one scales a supplied per-task estimate to a chosen number of tasks. More detailed tools estimate or measure energy from information such as model workload, hardware, run time, and data-center overhead. Their results are only meaningful if those inputs and the system boundary are clear.

For an inference task—using an already trained model to answer a request—the relevant energy may include accelerator and server electricity during processing. Depending on the method, it may also include idle capacity, cooling, power conversion losses, networking, or other data-center operations. Training a model is a separate workload; its energy should not be silently mixed with the energy of one inference request.

A prompt alone does not reveal electricity use. Different models and hardware can use different amounts of energy, and a longer request or generated output may require more computation. Even the same service can vary with batching, system load, software, and the infrastructure included in the estimate.

How to Get a Useful Per-Task Estimate

First define what counts as one task. It might be one request, one generated image, or a fixed batch of tokens. Then seek a measured energy figure or a documented estimate for that workload. Check whether it covers only the computing device or the wider facility, and whether it is for training or inference.

  • Match the task definition: do not apply an estimate for a short text answer to a different workload without justification.
  • Check the unit. A source may report watts (power), joules (energy), or Wh. These are not interchangeable without duration or conversion.
  • Look for the measurement boundary, hardware, model, workload, and date. An estimate without these details may not transfer well to another setup.
  • If a source gives power in watts and task duration in seconds, estimate energy as watts × seconds, then divide by 3,600 to convert joules to Wh. This assumes the stated power applies throughout that duration.

If the estimate is uncertain, calculate a low and high scenario using separate per-task inputs rather than presenting a single precise-looking answer. This calculator multiplies whichever value you enter; it cannot validate the source or uncertainty.

Interpreting Results and Common Mistakes

Use the result as an energy estimate for the defined batch, not as a direct measure of environmental impact. To estimate emissions, electricity use must be combined with a relevant electricity carbon-intensity figure, which varies by location and time. This calculator does not make that conversion.

  • Confusing watts and watt-hours: watts measure the rate of energy use; Wh measures energy accumulated over time.
  • Mixing boundaries: a device-only estimate is not directly comparable to one that includes cooling and facility overhead.
  • Multiplying unlike tasks: a count is useful only when tasks are reasonably comparable to the per-task estimate.
  • Over-reading decimals: the output’s decimal places are formatting, not evidence that the input estimate is precise.
  • Counting training twice: training energy and later usage energy are distinct. Include training only when the question and estimate explicitly account for it.

Limits and Better Comparisons

There is no single electricity value that accurately describes every AI query. Public estimates can differ because researchers measure different hardware, workloads, and system boundaries. Some estimates are averages; others represent a particular run or an idealized calculation. A calculator cannot make incompatible estimates comparable by multiplying them by the same task count.

For a fair comparison between two AI workflows, keep the task definition and accounting boundary consistent. Compare the same type and amount of output, use comparable energy data, and report assumptions alongside the result. If no defensible per-task figure is available, say so rather than treating the demonstration default as a factual benchmark.

Frequently Asked Questions

How much electricity does one AI query use?
There is no universal figure. It depends on the model, request, hardware, and what parts of the computing system are counted. Use a source that describes its measurement boundary and workload.

How do I calculate AI energy use?
Multiply energy per task in Wh by the number of comparable tasks. Divide the result by 1,000 to express it in kWh.

Is AI energy measured in watts or watt-hours?
Energy use is expressed in Wh or kWh. Watts describe power, the rate of energy use; converting power to energy requires a duration.

Does this calculator include data-center cooling?
No. It multiplies the per-task value you enter and does not add cooling, power losses, or other facility overhead. Those are included only if the input estimate includes them.

Can I use it to compare AI models?
Yes, as arithmetic, if the per-task estimates use comparable task definitions and system boundaries. The calculator does not establish that the estimates themselves are comparable or accurate.

Related

Formula used
in energy | Energy per task | Wh | 1 | 0
in count | Number of tasks | tasks | 100 | 0
out total | Total energy | Wh | energy * count | 2
out kwh | Total energy | kWh | total / 1000 | 3

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.