The scale of per-operation energy
Computing and communications hardware is described by the energy it spends on each small operation: per instruction, per memory access, per transmitted bit. Those figures are in nanojoules or less. Operators of data centers and designers of battery devices, meanwhile, pay for kilowatt-hours. Linking the two means turning a kWh into nanojoules and dividing by the cost of one operation. This page performs that conversion. It multiplies by 3.6 × 10^15, so that a single kilowatt-hour appears as 3.6 quadrillion nanojoules, and a per-operation energy of a few nanojoules becomes a count of billions of operations per kilowatt-hour.
Building 3.6 × 10^15
One kilowatt-hour is 3,600,000 J, according to NIST SP 811. A nanojoule is 10^-9 J, so one joule is 1,000,000,000 nJ. Multiplying gives 3,600,000 × 1,000,000,000 = 3.6 × 10^15 nJ per kWh. The page formula is nJ = kWh × 3,600,000,000,000,000. The factor is exact. Converting the other way divides by 3.6 × 10^15, so 1 nJ is about 2.78 × 10^-16 kWh. Numbers with sixteen or more digits are difficult to read, so scientific notation is the sensible form in reports, with the unit attached.
The default 10 kWh and floating-point digits
Entering 10 kWh gives 3.6 × 10^16 nJ, which is 36,000,000,000,000,000 nJ. Because the result has seventeen digits, it is at the edge of what double-precision arithmetic stores exactly, and a display may show a trailing digit slightly off, for example 35,999,999,999,999,996. The true value is 36 quadrillion and the difference is floating-point noise at the sixteenth digit, far below any meaningful precision for an energy figure. Quote the leading digits only, and use scientific notation when you copy the result into a report or a spreadsheet to avoid propagating the apparent extra digits.
Energy per bit on a wireless link
Take a radio that draws an illustrative 1 W while transmitting at 100 Mbit/s. The energy per bit is 1 W / 10^8 bit/s = 10^-8 J, which is 10 nJ per bit. One kilowatt-hour at that rate carries 3.6 × 10^15 / 10 = 3.6 × 10^14 bits, which is 4.5 × 10^13 bytes, or about 45 terabytes. In practice network equipment, cooling and protocol overhead raise the real energy per delivered bit, so the figure is an optimistic bound for the radio alone. The calculation shows how a unit of electricity scales into a very large number of transmitted bits, and it needs the conversion on this page to start. Short-range radios used in wearables can spend far less per bit than a Wi-Fi link, and data sheets quote figures from a few nanojoules down to fractions of a nanojoule per bit for low-power modes. Setting such a figure beside the kilowatt-hour count shows how many bits a single unit of electricity could carry, and how quickly the answer changes with a different energy per bit.
Processor energy per cycle
A microcontroller drawing an illustrative 30 mW at a 100 MHz clock uses 0.03 W / 10^8 s^-1 = 3 × 10^-10 J per cycle, which is 0.3 nJ. A kilowatt-hour then covers 3.6 × 10^15 / 0.3 = 1.2 × 10^16 cycles. At 100 million cycles per second, that is 1.2 × 10^8 seconds of running time, about 3.8 years, if the microcontroller were the only load. Real systems add sensors, radios and regulators, and processors scale their power with load. The conversion makes the link between a data-sheet current figure and a number of operations per unit of purchased energy explicit. Data sheets usually give current per megahertz at a stated supply voltage, so multiply the current by the voltage to get power, then divide by the frequency to get energy per cycle. A part rated at 100 µA per MHz at 3 V draws 0.3 mW per MHz, which is 0.3 nJ per cycle, the same figure as above, and the check confirms the arithmetic.
Energy per sensor reading in a fitness band
Wearables and sensor nodes are specified by what a single measurement costs. Suppose, as an illustration, that a fitness band has a 200 mAh battery at 3.7 V, which stores 0.74 Wh, or 0.00074 kWh. Multiplying by 3.6 × 10^15 nJ per kWh gives 2.664 × 10^12 nJ. If one heart-rate reading costs an illustrative 50 µJ, which is 50,000 nJ, the battery would cover about 5.33 × 10^7 readings, ignoring the display, the radio and battery aging. Dividing the stored energy by the cost per reading is the whole calculation, and the converter handles the kWh to nJ step so both numbers share a unit. Check the division: 2.664 × 10^12 divided by 5 × 10^4 is 5.328 × 10^7. A band that takes one reading every second needs 86,400 readings a day, so the same battery would last about 617 days on readings alone. In practice the display, the radio and charger efficiency dominate, so the data sheet figures matter more than this ceiling. Comparing every component in a common unit shows where the energy goes.
Data center and fleet-scale estimates
Large fleets of devices turn small per-operation energies into real electricity totals. If 10 million sensors each use 5 µJ, which is 5,000 nJ, for a daily reading, the daily energy is 5 × 10^10 nJ. Divided by 3.6 × 10^15, that is about 1.4 × 10^-5 kWh per day, which is negligible. If instead each device runs a 3 W radio for one hour a day, the fleet uses 30,000 kWh, which is 1.08 × 10^20 nJ. The comparison shows where an efficiency effort pays off. The converter turns each figure into a common unit for the comparison.
Pitfalls with very small and very large numbers
Dropping a factor of 1,000 is the commonest error, since nano, micro and milli are easily mixed. A result for a one-digit kWh input should have sixteen digits. Another trap is power versus energy: nanowatts and nanojoules differ by a time factor. A third is precision. Spreadsheets also store about 15 digits, so a cell that holds 3.6 × 10^15 can display exact digits, while a sum of such values and a very small number loses the small one. Use scientific notation and separate columns for quantities of very different size.
Device energy needs its own model
The page converts one energy quantity into another unit. It does not estimate processor or radio energy, battery life, efficiency losses, tariffs or emissions. Those need device data and a model. The factor is exact, and the accuracy of the result is the accuracy of the number you enter. Per-operation energies from data sheets are typical values at one supply voltage, temperature and clock frequency, and they change when those conditions change, so a design estimate should state the conditions used.