Battery labels use watt hours
Power banks, laptop batteries, e-bike packs and many small gadgets list capacity in watt hours or milliamp hours. A designer of a wireless sensor, on the other hand, measures what each reading and each message costs in microjoules. To judge how long a battery will last, the two sides have to be in one unit. This page converts microjoules into watt hours, the unit that matches the battery label. With the result, dividing the battery capacity by the energy per event gives the number of events the cell could support in the ideal case, and a quick comparison with the intended life of the product shows whether the design is plausible.
Where the factor comes from
A watt is a joule per second, so a watt hour is 3,600 J. In microjoules that is 3.6e9. The factor on the page, 2.77777777778e-10 Wh per microjoule, is the reciprocal. The default 10 µJ is 2.7778e-9 Wh. The engine prints 2.7777777777777776e-9, the same number with floating point noise. NIST SP 811 lists the watt hour and its relation to the joule. A related unit, the milliamp hour, is a charge, and turning it into energy needs the battery voltage: 225 mAh at 3 V holds 0.675 Wh, because energy equals charge times voltage.
A coin cell and a radio packet
A common 3 V lithium coin cell is rated at about 225 mAh, which is 0.675 Wh and 2.43e9 µJ. Suppose a sensor sends one message using 3,000 µJ. Dividing, the cell could in principle pay for 810,000 messages, or about 2,200 a day for a year. In practice the usable capacity is lower at high pulse currents, and self-discharge, sleep current and the sensor itself take their share. The page lets a designer start from the ideal case quickly. If even that figure falls short, a different cell, a lower message rate or an energy harvester is needed, and no refinement of the estimate will change that.
A power bank for comparison
A power bank rated at 20,000 mAh at a nominal 3.7 V holds 74 Wh, which is 2.664e11 µJ. A phone charge uses perhaps 10 to 15 Wh of that after conversion losses, so the bank covers several charges. Using the page in reverse, 74 Wh gives 2.664e11 µJ, almost 90 million times the 3,000 µJ coin cell message above. The comparison is a reminder of how different the scales are in sensors and in handheld electronics, and it helps a student to see why a sensor can run for years on a button cell while a phone needs a charge every day or two. A laptop battery of 50 Wh is 1.8e11 µJ, so a phone-sized 15 Wh battery is 5.4e10 µJ, and the ratio of one to the other is the same 3.33 that you get from the watt hour figures. Keeping both columns in view makes it harder to carry a stray factor of 3,600 from one row into another.
Converting small readings from a meter
Plug-in energy monitors and bench power analyzers often display watt hours or milliwatt hours. A sensor board that shows a total of 0.0005 Wh over a test run has used 1.8e6 µJ, which is 1.8 J. If the test comprised 600 readings, that is 3,000 µJ per reading. The route from a watt hour reading to a per-event energy in microjoules is the reverse of the one on the page: multiply by 3.6e9 and divide by the count. The conversion shows whether a measured average agrees with the figure in the vendor documentation.
Watt hours and their prefixes
A milliwatt hour is 3.6 J and a microwatt hour is 3,600 µJ, so a microwatt hour is a convenient bridge for sensor work. One watt hour is 1,000 mWh and 1,000,000 µWh. The prefix on the hour unit can be confusing because microjoules and microwatt hours are neighbors in magnitude but not equal. If a spec sheet lists a harvester output of 5 µWh per hour, that is 18,000 µJ per hour, or 5 µW as an average power. Writing the unit chain makes it clear which quantity is an energy and which is a rate.
Interpreting a very small result
A value like 2.78e-9 Wh has no meaning on a battery label, but it becomes useful as a share of the capacity. Dividing by 0.675 Wh gives about 4.1e-9 of the coin cell for one 10 µJ event. Multiplying by the number of events a day and the days of operation gives the share used, and adding the sleep current share gives a rough life estimate. Keep results in scientific notation, because a long decimal such as 0.0000000027778 hides the exponent and invites a miscount of zeros when the number is typed into another system.
Frequent slips
Watt hours and watts are often swapped in casual speech, as are watt hours and milliamp hours. A battery that says 5,000 mAh is not 5,000 Wh, and without the voltage it has no energy value. Another slip is dropping a factor of 3,600 when moving between joules and watt hours. If your answer is a thousand times off, check that you did not confuse µJ with mJ. The page converts energy only, so if you hold a power and a time, multiply them first to get joules or watt hours. A sensor that draws 30 µW on average for 24 hours, for instance, uses 30 × 24 = 720 µWh a day, which is 0.00072 Wh, and the page returns the same value when you enter 2,592,000 µJ.
Derating battery capacity for pulsed loads
This tool converts one energy value. It does not model battery chemistry, discharge rate, temperature effects or the efficiency of regulators and converters, all of which affect how much of the rated capacity a device can actually use. It also gives no safety guidance for batteries. Treat the result as a restatement of your own figure in another unit. Rated capacity is measured under standard test conditions, and a cell loaded with short, strong pulses delivers less. For a first estimate, many designers apply a derating of 20 to 50 percent to the converted capacity, then check the datasheet curves for the actual pulse current. That derating is a design assumption you choose, and it is separate from the unit conversion on this page.