Batteries are labeled in watt-hours
Phone batteries, laptop packs, power banks, e-bike batteries and home storage units all carry a capacity in watt-hours or kilowatt-hours. A utility statement, a fuel delivery or a heat plant report may use gigajoules. Anyone sizing a battery for a cabin, comparing a stored amount with a fuel energy, or checking a spec sheet against a bill needs the two units side by side. Shoppers comparing portable power stations meet the same issue, because the box states watt-hours while an article about energy storage may state megajoules. This page converts a gigajoule value into watt-hours, the unit printed on the battery label. The conversion is unit arithmetic. It says nothing about how much of a battery can be used, which depends on its chemistry, temperature and discharge rate.
The factor behind 277,777.78
A watt is one joule per second, and an hour is 3,600 seconds, so one watt-hour is 3,600 joules, a definition NIST SP 811 lists. Dividing 10^9 joules by 3,600 gives 277,777.777778 Wh per gigajoule, a repeating decimal cut at twelve digits. The default 10 GJ then gives 2,777,777.777778 Wh. A handy anchor is that 3.6 MJ equals 1,000 Wh, so 0.0036 GJ is one kilowatt-hour. If you remember that anchor, you can check any result: multiply the gigajoule value by 277,778 and compare it with the page output.
What common batteries look like in gigajoules
Everyday capacities are tiny compared with a gigajoule. A smartphone battery of about 15 Wh holds 54,000 J, or 0.000054 GJ. A laptop pack of 60 Wh holds 216,000 J. A home storage unit of 10 kWh, which is 10,000 Wh, holds 36,000,000 J, or 0.036 GJ. A large electric-car pack of 60 kWh holds 0.216 GJ. These values are illustrative round numbers that reflect common device sizes, so use the rating on your own label. One gigajoule would equal the labeled capacity of about 4.6 such 60 kWh car packs, a way to sense how much energy the unit represents.
Worked entries for common label values
Enter 0.216 GJ and the page returns 60,000 Wh, the 60 kWh pack from the previous example. Enter 1 GJ and the result is 277,777.78 Wh. Enter 0.036 GJ and you get 10,000 Wh. In the other direction, 60 Wh returns 0.000216 GJ, and 10,000 Wh returns 0.036 GJ. The reverse conversion divides by 277,777.777778, equivalent to multiplying by 0.0036 MJ per Wh, then dividing by 1,000. If you plan to size solar panels or a generator from these numbers, remember that the figures describe stored or delivered energy, and that you also need power ratings and running time.
Watt-hours versus watts and amp-hours
The most frequent confusion on battery labels is between watt-hours, which measure energy, and watts, which measure power. A 60 Wh battery can supply 60 W for one hour or 6 W for ten hours. Another is amp-hours. A power bank labeled 10,000 mAh at 3.7 V holds 37 Wh, because energy equals charge times voltage, and the same bank rated at a different voltage holds a different amount of energy. The 37 Wh figure is nominal, and the energy a bank delivers through its USB port is lower once the internal converter losses are subtracted, which is why a 10,000 mAh bank rarely charges a 3,000 mAh phone more than two or three times. When you convert a gigajoule total to watt-hours, you get energy. To compare with an amp-hour rating, multiply the rating by its nominal voltage first.
Repeating decimal 277,777.777778 and error size
The factor 277,777.777778 is a repeating decimal rounded at twelve digits, so its error is smaller than one part in a trillion. For household figures, two decimals are more than enough. A total of 0.5 GJ becomes 138,888.89 Wh, and 2.5 GJ becomes 694,444.44 Wh. Avoid shortening the factor to 277,778 on large inputs, since 10 GJ would then show 2,777,780 Wh, which is 2.22 Wh above the precise figure. That is minor for one number, but errors of this kind accumulate in a table of many rows. Keep the full factor in formulas and round only the displayed output. In a spreadsheet, store the factor in one cell, or better, use a formula that divides joules by 3,600, so that every row uses the same constant. Readers who check the sheet then need to audit only one number. If a column is later changed to kilowatt-hours, only the divisor changes, and the rest of the formulas stay intact.
Larger units on the same scale
Watt-hours give long numbers at gigajoule scale, so most documents move to kilowatt-hours or megawatt-hours. One gigajoule is 277.78 kWh and 0.27778 MWh. Shifting the decimal point by three places turns Wh into kWh, which is how most home battery and electric-vehicle specifications are written. A figure of 2,777,777.78 Wh is easier to read as 2,777.78 kWh. Choose the unit that keeps the number between 1 and 1,000, and use the same unit down a column to avoid mistakes when someone scans the table.
Sizing a cabin battery from a fuel total
A home or cabin owner who heats with a fuel measured in gigajoules, and who wants to run lights and a fridge from a battery bank, can use the conversion as a first step. If the lights and fridge use 2,000 Wh a day, a 12,000 Wh bank holds six days of that load before losses. In gigajoules, 12,000 Wh is 0.0432 GJ, since 12,000 times 3,600 J is 43,200,000 J. The comparison with a fuel total, such as 1 GJ, shows how much more energy a fuel delivery stores than a household battery. Remember that a battery has to be recharged from a source, so its size is only half of a planning question.
Charger and inverter losses not included
The result is the same energy in another unit. It does not account for conversion losses in a charger or inverter, the usable fraction of a battery, aging, temperature, or the energy content of a fuel. A battery rated 10 kWh does not deliver 10 kWh to a load once inverter losses and reserve limits are applied, and a gigajoule of heating fuel does not become a gigajoule of electricity. For planning, apply the efficiency and usable-capacity figures from the manufacturer to the converted number, not before it.