Battery labels are written in watt-hours
Laptop batteries, power banks and many consumer battery packs state their capacity in watt-hours, while processors and sensors state the energy of each operation in picojoules. A designer who wants to know how many operations a battery could in principle fund, or a student who wants to see the scale of the gap, has to convert across fifteen orders of magnitude. This page multiplies the picojoule value by the watt-hour factor and returns the result in Wh. It is aimed at hardware students, firmware developers sizing a battery for a sensor and anyone checking the arithmetic in an article about the energy cost of computing.
3,600 joules in one watt-hour
A watt-hour is one watt sustained for one hour, which is 1 W × 3,600 s = 3,600 J. One picojoule is 10^-12 J, so a watt-hour holds 3.6 × 10^15 pJ. The formula is Wh = pJ × 2.77777777778 × 10^-16, which is the reciprocal of 3.6 × 10^15. The watt and the second come from the SI, and NIST SP 811 lists the watt-hour as a unit outside the SI that is accepted for use with it. By hand, divide the picojoule value by 3.6 × 10^15. Check one known value: 3.6 × 10^15 pJ should return 1 Wh on the page.
Ten picojoules in watt-hours
The default of 10 pJ returns about 2.7778 × 10^-15 Wh. Written in plain decimals that has fourteen zeros after the point, so the page uses scientific notation. A 1 pJ event gives 2.7778 × 10^-16 Wh, and a 1,000 pJ event, one nanojoule, gives 2.7778 × 10^-13 Wh. These are meaningful mainly as ratios. One watt-hour of energy pays for 3.6 × 10^14 events of 10 pJ each, which is 360 trillion. Dividing the capacity by the event energy gives that count in a single step, and it is the number a designer actually uses. At 10 pJ per event, a power bank rated at 20 Wh would cover 7.2 × 10^15 events in the ideal case, since 20 × 3.6 × 10^15 / 10 gives that count, but the same bank used with a phone loses part of its energy in the voltage converter and the charging circuit.
From milliamp-hours and volts to picojoules
Battery labels often give milliamp-hours and a nominal voltage. To get watt-hours, multiply the two and divide by 1,000. A 4,000 mAh phone battery at 3.85 V holds 15.4 Wh, which is 55,440 J or 5.544 × 10^16 pJ. A pair of earbuds with a 50 mAh cell at 3.7 V holds 0.185 Wh, which is 6.66 × 10^14 pJ. The nominal voltage is an average over the discharge curve, so the real energy depends on load and temperature. Use the page for the unit step after you have the watt-hour figure, and apply the mAh and volt arithmetic first when only those are printed.
How many sensor readings a coin cell can fund
A CR2032 coin cell rated at 225 mAh and 3 V holds about 0.675 Wh, which is 2,430 J or 2.43 × 10^15 pJ. If an illustrative sensor spends 50 µJ on each measurement and radio message, the cell funds 2,430 / 0.00005 = 48,600,000 of them in the ideal case. At one reading every minute, that is about 92 years, which no coin cell survives, because self-discharge and the limits of pulse current end its life long before. The calculation shows why energy per event is only one factor, and why real battery life estimates come from measured profiles.
Watt-hours back to picojoules
Set watt-hours as the From unit and picojoules as the To unit. A 50 Wh laptop battery is 1.8 × 10^17 pJ, and a 0.5 Wh device is 1.8 × 10^15 pJ. Divide by an energy per operation to get a count. At 20 pJ per operation, the 50 Wh battery covers 9 × 10^15 operations in theory. Laptops also power displays, storage and radios, so the share spent on computation is smaller. The reverse direction also helps check a claim in an article. If a statement says a battery runs a billion operations a second for a year on a few watt-hours, this conversion shows quickly whether the numbers can be true. A billion operations per second for a year is 3.1536 × 10^16 operations, and at 20 pJ each that is about 6.3 × 10^5 J, or roughly 175 Wh, so a few watt-hours would fall well short.
Rounding the answer
A battery label gives two or three digits, and a per-operation figure from a data sheet gives one or two. The conversion adds no error, but the result should not suggest more precision than the inputs. Quote 2.8 × 10^-15 Wh for the default, not 2.7777777777777776e-15, and round only at the end of a calculation. A spreadsheet will accept an exponent such as 2.78E-15, so there is no need to write out a long decimal. If you compare two devices, use the same number of digits for both so that the comparison is not distorted by differing rounding.
Usable capacity is smaller than the label
The printed capacity is a rating under stated conditions. A battery delivers less when it is cold, when the load is heavy or when it has aged, and the electronics stop drawing before the cell is fully empty. A converter between energy units cannot see any of that. When you plan how long a device lasts, start from the watt-hours the manufacturer states for your operating conditions, take a realistic fraction for usable energy, and then divide by the average power. Use the picojoule conversion only for the step that relates one event to the whole battery. If a manufacturer lists capacity at two discharge rates, take the one closest to your load, and say which one you chose in the notes, because a cell can show noticeably different capacity at a low drain and a high drain.
Carrying a large battery pack on a flight
A cell energy given in picojoules is converted to watt-hours here and nothing else. It does not size a battery, account for self-discharge, check shipping rules for lithium cells or judge whether a design is safe. Battery limits for travel and transport are set by carriers and regulators and depend on watt-hour ratings, so check the current rules before you carry a large pack. For design work, rely on the cell data sheet and a qualified engineer. The converter keeps the numbers consistent between the label and the data sheet.