Formula and method
Runtime seconds = total training FLOPs ÷ [effective sustained throughput per accelerator (TFLOP/s) × 10¹² × accelerator count]. Accelerator energy (kWh) = average accelerator power (W) × count × runtime hours ÷ 1,000. Facility energy estimate = accelerator energy × entered PUE. The effective throughput input must already reflect the chosen workload and achieved sustained rate; it is not a manufacturer peak specification.
Worked example
For 2.4 × 10²¹ FLOPs, eight accelerators each sustaining an effective 100 TFLOP/s, runtime is about 3,000,000 seconds or 34.72 days. At 700 W average per accelerator and PUE 1.5, estimated facility electricity is about 7,000 kWh. The estimate excludes work not captured in the entered compute total.
Use sustained, workload-relevant throughput
FLOP/s is a rate; FLOPs without “per second” is a total amount of arithmetic work. This estimate divides a total-work assumption by the aggregate effective sustained throughput of the accelerator group. Use a measured throughput representative of the actual model, precision, sequence length, parallelism and software stack when available. If you only have a theoretical peak, the result can be highly optimistic. Do not enter a peak number and call it measured performance.
For a dense Transformer, a common rough training-work heuristic is approximately 6 × parameter count × training-token count. That approximation is not universal: model architecture, attention pattern, mixture-of-experts routing, recomputation, padding, optimizer operations, precision and implementation can change the work. The calculator therefore asks for total compute directly instead of silently assuming a model architecture or counting rule.
Energy is not the same as accelerator power
Average device power multiplied by runtime produces an accelerator-energy estimate. PUE can scale that estimate to facility electricity only when its boundary is appropriate and the accelerator power estimate represents the IT equipment basis you intend to model. Hosts, networking, storage, idle periods and other devices may add energy. A board power limit or one-second telemetry sample is not a full-job average. For an audited result, integrate time-series power readings and document what equipment was included.
The price is a user-supplied simple per-kWh assumption, not a provider quote; it omits demand charges, contract terms, taxes and scheduling fees. Results are scenarios, not a hardware purchasing recommendation, benchmark claim, guaranteed completion time or live connection to an AI cluster. Keep measured values, assumptions and the measurement boundary separate.
References and source notes
Use the linked source to verify its edition, date, scope, units and measurement method before citing or comparing values. These references explain methodology; they do not mean Friendly Calculator has a live partnership or data feed from the listed organizations.