The widest gap on the energy scale

Most conversion pages sit between neighbors. This one connects the smallest energy unit people use in electronics with one of the largest units used in national statistics. The femto prefix is 10^-15 and tera is 10^12, so the factor is 10^-27, as the page formula TJ = fJ × 1e-27 shows. A single femtojoule is a trillionth of a trillionth of a trillionth of a terajoule. You will rarely need the conversion for a real measurement. Its use is educational and for scale comparisons, for example showing how many microscopic events add up to a unit that energy agencies publish.

Floating point tail on a 1e-26 TJ result

The default input of 10 fJ returns about 1e-26 TJ. The engine shows a long decimal tail, which is only floating-point noise from multiplying by a tiny constant. The true value is 10^-26 TJ. Treat the answer as a pure power of ten. A quick way to check any output on this page is to count the exponent. Take the exponent of the input in joules, which is -15 plus the number of digits, and subtract 12 for the tera shift. For 10 fJ the joule value is 10^-14 J, and 10^-14 divided by 10^12 gives 10^-26. This habit helps when you see a result written in scientific notation. Write the steps in order when you teach this to someone else: convert to joules, then divide by 10^12. Each step is easy alone, and the exponents are small enough to track by hand even though the final number is not. A student who learns this routine can convert any pair of SI-prefixed units, whether the prefixes are close or far apart, without relying on a memorized factor.

Milestones worth entering

The kilowatt-hour is a handy anchor. One kWh is 3.6 million joules, which is 3.6 × 10^21 fJ, and the page returns 0.0000036 TJ for it. Entering 10^18 fJ, a thousand joules, gives 10^-9 TJ. For a large example, one kiloton of TNT is defined by convention as 4.184 × 10^12 J, so 4.184 TJ, and entering 4.184 × 10^27 fJ returns 4.184 TJ. These examples show the direction of travel: a quantity needs about 10^27 femtojoules before a terajoule appears, so anything under 10^15 fJ barely registers against the larger unit. Each of these checks takes only a few seconds on the page, and each reinforces the exponent arithmetic described earlier.

What a terajoule means in practice

The terajoule is the unit used in many government energy balances, for natural gas volumes, fuel imports and national consumption tables, because values in joules would run to impractical lengths. One terajoule equals about 277.8 megawatt-hours, since 10^12 J divided by 3.6 × 10^9 J per MWh gives 277.78. A household using 10 MWh a year consumes about 0.036 TJ in that period. Compared with that, a femtojoule is a quantity that no meter attached to a power system could read, which is why the two units only meet inside a calculator like this one. The same figure expressed in petajoules is 0.001 PJ, which shows why agencies switch to PJ for national totals.

Using the reverse direction

To go the other way, choose terajoules as the From unit and femtojoules as To. Each terajoule becomes 10^27 fJ, so 2 TJ is 2 × 10^27 fJ. Results that large exceed the digits a spreadsheet cell shows by default, and exponent form is the sensible way to write them. When you quote such a figure, keep the significant digits of the source. A national statistic listed as 2.0 TJ supports two significant figures, so write 2.0 × 10^27 fJ rather than a string of zeros that suggests twenty-eight known digits. For example, a national gas balance of 450 TJ restated in femtojoules is 4.5 × 10^29 fJ. Few readers will ever need it, yet the exercise confirms that the factor works in both directions and that the exponent is the only thing that changes between them.

Precision and floating-point display

Computers store numbers as binary floating-point values with about 15 to 16 decimal digits of precision. A factor like 10^-27 cannot be stored perfectly, so the page can print a result such as 1.0000000000000002e-26 for an input of 10. The seventeenth digit is an artifact of storage, and the error is around two parts in 10^16, far below any real measurement. Round to the digits you trust. If you are building a script on top of this result, compare values with a relative tolerance instead of testing for equality, since two ways of computing the same quantity may differ in the last bit.

Mixing up prefixes at the extremes

Because the page spans so many powers of ten, a single slipped exponent produces a number that looks sensible only in scientific notation. The prefixes between femto and tera, in thousands, are pico, nano, micro, milli, kilo, mega and giga, and the page jumps over all of them. A common error is to treat tera as 10^9, which is giga. Another is to assume petajoule and terajoule differ by 100. They differ by 1,000. Writing the exponents next to each unit before you convert catches nearly all of these slips, and it costs a few seconds. A safe routine is to write the input in joules first, then in terajoules, and compare the two exponents with the page output before copying anything.

What the number does not describe

The page restates energy in another unit. It does not tell you whether a quantity is stored, released or transferred, and it says nothing about power or time. A terajoule delivered over a year is a mean power of about 31.7 kilowatts, since 10^12 J divided by 31,557,600 seconds in a Julian year is about 31,688 W. A terajoule delivered in a second would be a terawatt. When you compare a tiny energy with a huge one, state the process behind each, because the conversion factor is the least informative part of that comparison.

Counting events to reach one terajoule

A quick calculation shows the size of the gap. If a single operation cost 10 fJ, a terajoule would pay for 10^26 of them, a hundred trillion trillion. A modern processor running a billion operations per second would need about 3 × 10^9 years to use that many, since 10^26 divided by 10^9 per second is 10^17 seconds, and a year has about 3.16 × 10^7 seconds. That is on the order of the age of the oldest rocks on Earth, an illustrative scale comparison only, because real chips use more energy per operation than the logic alone. The exercise shows why the page output for small inputs is always a very small power of ten.