From a chip event to a meter reading
The kilowatt-hour is how households and businesses buy electricity, and the femtojoule is how chip designers count the energy of one switching event. A reader who uses both is typically estimating what a fleet of devices costs to run, or showing in an energy audit that a computing task made of an enormous number of tiny operations adds up to a metered quantity. The conversion supplies the first link in that chain. It tells you how many kilowatt-hours a given femtojoule energy equals, and the answer is always a very small number, which is why the second link, multiplying by the number of events, matters more than the conversion itself. For a rough sense of the chain, a billion devices each performing a billion operations per second at 10 fJ would draw 1e9 × 1e9 × 1e-14 = 1e4 W, which is 10 kW, or 10 kWh for every hour of operation.
Definition of the kilowatt-hour
One kilowatt-hour is the energy used by a power of 1,000 watts over one hour, which is 1,000 W × 3,600 s = 3,600,000 J exactly. The hour is not an SI unit but is accepted for use with the SI, as the SI Brochure and NIST SP 811 explain. Taking 1 fJ as 1e-15 J and dividing by 3.6e6 gives 2.7777...e-22 kWh, shown on the page as 2.77777777778e-22. Conversely, 1 kWh is 3.6e21 fJ. Since both numbers are exact by definition, no measurement uncertainty enters the factor, and any extra digit in an answer is floating point rounding.
What 10 fJ gives
The default entry returns 2.777777777777778e-21 kWh. Written in plain decimals, that is 0.000000000000000000002777777777777778 kWh. To put it in perspective, a single kilowatt-hour costs somewhere around a few tens of cents in many places, an illustrative figure that varies by country and tariff, so the cost of 10 fJ would be below 1e-21 dollars. A utility meter resolves hundredths of a kilowatt-hour, which is about 3.6e4 J. The default result is therefore eighteen orders of magnitude below the smallest quantity any household meter can record, and a clear case for exponent notation.
Worked example with a billion femtojoules
An energy of 1,000,000,000 fJ is 1 µJ, and the converter gives 2.7777777777777777e-13 kWh. Now take a data center running a workload of 1e15 operations per day with 1 µJ per operation, which is a plausible order of magnitude for a software task including memory movement, though it is only an illustration. The energy is 1e15 × 1e-6 J = 1e9 J, which is 277.78 kWh. At an illustrative price of 0.12 per kWh, the day costs about 33.33 in whatever currency applies. The calculation shows the pattern: convert the per-event energy, multiply by the count, then apply the price.
From kilowatt-hours to femtojoules
Reverse the selectors and the page multiplies by 3.6e21. One watt-hour, 0.001 kWh, is 3.6e18 fJ, a typical smartphone battery of 15 Wh holds 0.015 kWh, which is 5.4e19 fJ, and a household using 10 kWh in a day consumes 3.6e22 fJ. Those numbers are too large for most spreadsheets to show without exponent format. For a readable comparison, convert both quantities to joules first: 10 kWh is 3.6e7 J and the phone battery is 54,000 J. Then divide to find ratios. The kWh to fJ route is rarely needed except when feeding a model that insists on femtojoules.
kW, kWh and the common confusion
A kilowatt measures power, and a kilowatt-hour measures energy. A heater rated at 2 kW running for 3 hours uses 6 kWh. The confusion arises because bills and labels mention both, and because people write kWh as kW/h, which is not the same thing and would mean power per time. This converter deals with energy only. A femtojoule number must not be treated as power. If a chip dissipates 10 fJ per cycle at 2 GHz, the power is 2e-5 W, and that figure needs a time before it becomes kilowatt-hours: one hour gives 7.2e-2 J, which is 2e-8 kWh.
Other energy units on a bill
Gas is billed in therms, cubic meters or kilowatt-hours in many countries, with 1 therm equal to 100,000 BTU, about 29.3 kWh. Heating oil and propane are billed by volume. Joules, megajoules and gigajoules appear on bills in Australia and Canada for gas. A kilowatt-hour of electricity and a kilowatt-hour of gas are the same energy by definition, though not the same cost or efficiency of use. The converter treats kWh as pure energy, and the sibling pages for megajoules and gigajoules help with those other bills. Choose the unit your document needs and keep it consistent through the whole table. A therm is also a useful bridge for US readers, because 29.3 kWh per therm lets a gas bill be compared with an electricity bill after one multiplication.
Precision and exponent notation
The repeating decimal 2.7777...e-22 is stored to about sixteen digits, and the page shows a twelve-digit factor in the formula line. Both are far more precise than any energy input. Round the answer to the number of figures in your input: two figures for 10 fJ means 2.8e-21 kWh. A utility records usage to the nearest 0.1 or 0.01 kWh, so nothing beyond that precision ever appears on a bill. Exponent notation is the right choice in a report because the decimal form has twenty zeros. If you paste the value into a spreadsheet, check the cell format, since some locales and some cell formats convert tiny numbers to zero when they are shown with a fixed number of decimal places, which silently discards the value. Before relying on a pasted result, change the format to scientific and confirm the exponent reads -21 for the default case.
No cost, consumption or efficiency estimate
The page expresses an energy in a different unit and makes no estimate of cost, consumption or efficiency. It does not tell you the energy a device uses over time, since that needs a power and a duration, and it does not account for losses between a wall socket and a chip. Tariffs, taxes and time-of-use rates come from your utility. The unit relation follows from the SI Brochure and NIST SP 811. Use the converter to restate a known energy in kilowatt-hours, and bring prices and usage patterns from the sources that apply to your account.