From a bill to a sensor and back

Electricity bills charge by the kilowatt-hour. The devices that people monitor, such as wireless sensors, smart tags and energy-harvesting switches, are specified in microjoules per measurement or per message. A homeowner thinking about adding two hundred sensors to a house, or a building manager asking whether a monitoring network will matter on the bill, has to bridge the two. This page gives the bridge in one direction: enter an energy in microjoules and read the kilowatt-hours it represents. The numbers are tiny, which is the point. Seeing 1e-7 kWh next to a monthly bill of hundreds of kWh puts the sensor in perspective at once.

Where 3.6 million comes from

A watt is one joule per second, and a kilowatt-hour is 1,000 W for 3,600 s, which is 3,600,000 J. In microjoules that is 3.6e12. The factor on this page, 2.77777777778e-13 kWh per microjoule, is the reciprocal of that number. The default 10 µJ becomes 2.7778e-12 kWh, shown in the engine as 2.7777777777777773e-12 because of floating point arithmetic. The relationship 1 kWh = 3.6 MJ is listed in NIST SP 811. Remember that the kilowatt-hour is an amount of energy, while the kilowatt is a rate, so a device rated in kW only gives energy once you multiply by time.

Standby power through a year

A device on standby at 0.5 W uses 12 Wh a day, which is 0.012 kWh and 4.32e10 µJ. Over 8,760 hours in a year it draws 4,380 Wh, or 4.38 kWh, which at an illustrative 0.15 per kWh costs about 0.66. The page confirms the daily value: enter 43,200,000,000 µJ and read 0.012 kWh. Standby loads are a classic way to see how small powers add up, and a plug-in meter will show the same kWh. Several such devices in one house easily reach tens of kilowatt-hours a year, which is why standby is often the first target in a household energy audit. A plug-in meter, set to show kilowatt-hours, will confirm the arithmetic after a week or two of logging, and the reading can be converted here to microjoules when you want to compare it with a laboratory figure on the same scale.

A sensor node on a battery

Imagine a sensor that spends 150 µJ per reading and takes 100 readings an hour. That is 15,000 µJ an hour, or 360,000 µJ a day. The page converts 360,000 µJ to 1.0e-7 kWh. Over a year that sums to about 3.65e-5 kWh, far below the cost of a single second of a kettle. The design question for such nodes is therefore battery life, and not the electricity bill. A coin cell holding roughly 0.6 Wh, which is 6e-4 kWh, would last many years on this load if self-discharge allowed, an illustrative estimate that ignores the radio and sleep currents of a real node.

A kettle for comparison

A 1.8 kW kettle that runs for three minutes uses 0.09 kWh. In microjoules that is 3.24e11 µJ, as you can check by swapping the menus and entering 0.09 kWh. Dividing the kettle by the sensor day above, 3.24e11 / 3.6e5, gives about 900,000. One kettle boil equals the energy of nearly a million days of the sensor node. That kind of ratio is the useful output of a conversion like this one: the unit shift makes two energies comparable, and the ratio tells you where the bill actually comes from in a house or an office.

Reading the very small result

A result such as 2.78e-12 kWh has no practical meaning in a bill, because meters record to at least 0.001 kWh in the best case and often to 1 kWh. The value only matters as a share of a larger energy. If you add up thousands of small events, first add in microjoules, then convert the sum once. A farm of ten thousand sensors each using 360,000 µJ a day totals 3.6e9 µJ, which is 0.001 kWh. Converting the total gives a clear figure, while converting every sensor separately and adding rounded numbers loses digits.

Reverse use: kilowatt-hours to microjoules

To move the other way, swap the units. 1 kWh equals 3,600,000,000,000 µJ, and 0.5 kWh equals 1.8e12 µJ. This direction is used when a student wants to express a household figure in lab units, or when a researcher compares a harvested energy per day with the energy of a battery in kilowatt-hours. It also gives a quick check on any result in this page: multiply the output by 3.6e12 and you must get back the input. The same check works for a result copied from a spreadsheet that applied the factor by hand. A watt-hour meter reading of 4,380 Wh for a year of standby, entered as 4.38 kWh, comes to 1.5768e13 µJ, and if your own sheet shows a different power of ten, the error sits in the prefix and not in the energy itself.

Kilowatt versus kilowatt-hour slips

Do not mix kilowatts and kilowatt-hours, and do not forget that a watt-hour is a thousandth of a kilowatt-hour. A reading of 12 Wh is 0.012 kWh. Another frequent error is treating µJ as mJ and ending up a thousand times too large. If you work with electricity prices, convert to kilowatt-hours first and then multiply by the tariff in your currency per kWh, instead of applying the price to microjoules, which would need a factor most spreadsheets do not carry.

Matching sensor periods to meter periods

The page changes the unit of one energy value. It does not model a battery, compute the cost of electricity, or judge whether a device is efficient. Your tariff, any time-of-use rates and standing charges are outside it, and the result carries only the precision of the number you enter. Smart meters and utility portals often report in kilowatt-hours per half hour or per day, so match the period of your sensor figure to the period of the meter figure before drawing any comparison. A daily sensor total of 1e-7 kWh set against a monthly bill of 300 kWh needs thirty days of sensor data, which is 3e-6 kWh, to line up fairly. Keep unit symbols with every figure so that readers can follow the path from the microjoule input to the kilowatt-hour result. For a household comparison, record the date range of any meter reading, because a number of kilowatt-hours without the days it covers cannot be turned into a daily energy or compared with a per-day figure from a sensor log.