A single step between neighboring prefixes
Giga and mega are adjacent steps in the SI prefix ladder, so the relation between them is the simplest one possible: multiply by 1,000 to go down, divide by 1,000 to go up. People use this pair when a document mixes sources. A national energy statistic may list gigajoules, while a fuel data sheet gives heating value in megajoules per kilogram or per cubic meter. To multiply a heating value by a quantity, both must be in the same unit, and this page supplies the missing change. Because only a decimal shift is involved, you can verify any answer by moving the decimal point three places. Rounding does not enter, so the converted figure carries exactly the digits you supplied. The pair is also common in policy documents, where national or provincial statistics are listed in petajoules and gigajoules, and individual projects in megajoules.
The default and two more cases
The page opens with 10 GJ, which becomes 10,000 MJ. A purchase of 0.75 GJ gives 750 MJ, and 4.2 GJ gives 4,200 MJ. A figure with more decimals works the same way: 0.0385 GJ becomes 38.5 MJ. These values are chosen to show the full range of what you are likely to see, from a small heating allotment to a large industrial total. The calculation involves no rounding, so the digits in the answer are the digits you typed, shifted. If you start with an integer number of gigajoules, the result is always an integer number of megajoules.
Heating values and why they use megajoules
Fuel energy content is customarily written per unit of mass or volume in megajoules, because the numbers stay manageable. Natural gas is often quoted at roughly 38 to 39 MJ per cubic meter, and gasoline is commonly given near 34 MJ per liter, though the value on any particular data sheet depends on composition and on whether the higher or lower heating value is used. Taking 38 MJ per cubic meter as an illustration, a delivery of 2.5 GJ, which is 2,500 MJ, corresponds to about 66 cubic meters. These figures are examples. Always take the heating value from the supplier statement for the fuel you actually buy. The gap between higher and lower heating value, which differs by whether the water vapor from combustion is counted as condensed, is about ten percent for natural gas, so state which one your source uses before you divide an energy total by it.
Reverse use for small totals
To go the other way, select megajoules as the source and gigajoules as the target. The page divides by 1,000. An input of 38 MJ returns 0.038 GJ, and 2,500 MJ returns 2.5 GJ. Reporting a very small number of gigajoules is awkward, so a result below 0.01 GJ is a sign that megajoules would serve better. Converting in this direction is also how you reconcile an equipment rating in megajoules per hour against a facility budget stated in gigajoules per year, after you multiply by the operating hours.
Megajoule per hour ratings on boilers and burners
Heating equipment is often rated in megajoules per hour, while annual consumption is stated in gigajoules. Suppose a burner is rated at 500 MJ per hour. Running 2,000 hours a year at that rating consumes 1,000,000 MJ, which is 1,000 GJ. The page makes the last step of that calculation fast. Rated input is a maximum capability, though, and actual hours at full rating are usually much fewer, so use measured or metered consumption when it exists. The converter only restates energy, and it makes no estimate of load or hours. The same multiplication shows up when you compare a quote from an equipment supplier, which lists an input rate, with a utility history that lists totals. Put both in megajoules or both in gigajoules before you look for a difference.
Energy per floor area as a worked case
Building energy intensity is frequently reported in megajoules per square meter per year, while the building total comes from utility bills in gigajoules. Take an illustrative office with 1,800 GJ of annual consumption and 5,000 square meters of floor area. Converting first, 1,800 GJ is 1,800,000 MJ, and dividing by 5,000 gives 360 MJ per square meter. Converting after the division gives the same value, since 0.36 GJ per square meter times 1,000 is also 360. The page handles the first step, and the division by area is yours to supply. Make sure the area basis is the same in every comparison, because gross and net floor area can differ by a large margin.
Watching the units around the prefix
A common slip is mixing the energy unit with a power unit. A megajoule is energy, while a megawatt is power, and one megawatt sustained for one second equals one megajoule. Another slip is reading mega as the lowercase m used for milli. The symbol for mega is a capital M, so MJ is megajoule and mJ is millijoule, a factor of 10^9 apart. When you copy values between systems, check the case of the letter. A capitalization error is invisible in a rough sanity check yet changes the answer by nine orders of magnitude.
Matching digits for 12.3456 GJ
Because the factor is 1,000, the output has the same number of significant digits as the input. 12.3456 GJ gives 12,345.6 MJ, and the page shows all of them. When you publish a figure, match the number of digits to the measurement. A meter that reads to 0.1 GJ should not be reported as 12,345.6 MJ, even though the conversion produces that string. Round the output to the same decimal place as the input in the larger unit, or one more, and keep a record of the unrounded value for later calculations.
Equipment rating and fuel quantity excluded
This page converts one energy quantity from one unit to another and does nothing else. It does not rate equipment, determine fuel quantity or compute cost, and it does not decide whether a total is high or low for any building or process. The definitions of the prefixes come from the SI Brochure and NIST SP 811, and the factor of 1,000 is exact. Anything beyond that, such as heating value or efficiency, must come from the supplier or the equipment documentation that applies to your case.