Nine orders of magnitude on one datasheet

Microelectronics papers and datasheets put very different energies next to each other. A flash memory block erase may be listed in microjoules, while the energy to flip a single logic gate is quoted in femtojoules. To compare them you convert one into the other. This page multiplies microjoules by one billion so that a block-level figure and a gate-level figure sit on the same scale. The result makes it clear how many switching events a single microjoule could pay for, which is a common way to judge whether a design uses its energy budget well, and a fast sanity check when a paper reports the same quantity in two units.

The prefix arithmetic

The prefix micro stands for 10^-6 and femto for 10^-15, as listed by the BIPM SI Brochure. Because both prefixes attach to the joule, the conversion is a pure power of ten: one microjoule is 10^9 femtojoules. There is no rounding in the factor itself, and the page keeps it as 1,000,000,000. With the default of 10 µJ the answer is 10,000,000,000 fJ, which you would normally write as 1e10 fJ. The engine returns a value very slightly under that, 9,999,999,999.999998, due to floating point arithmetic, and the displayed figure is rounded accordingly. A reverse conversion divides by the same factor.

Switching energy of a gate

A simplified estimate of the energy to charge a node is one half times capacitance times voltage squared. Take an illustrative node of 2 fF at 0.8 V. The energy is 0.5 × 2e-15 × 0.64 = 6.4e-16 J, or 0.64 fJ. In microjoules that is 6.4e-10 µJ. To see how far apart the scales are, enter 0.003 µJ: the page returns 3,000,000 fJ, which would pay for more than four million such switching events. The numbers are illustrative and real circuits also lose energy to leakage and wiring, but the order of magnitude shows why chip designers talk in femtojoules.

Energy per bit and per memory access

Memory and interconnect papers often give energy per bit in femtojoules or picojoules. A link that costs 250 fJ per bit, a plausible figure for a short on-chip wire, moves a megabyte, about 8.4 million bits, for roughly 2.1 billion fJ, which is 2.1 µJ. You can check this by entering 2.1 as microjoules and reading 2,100,000,000 fJ. The conversion helps when a system architect has a budget in microjoules per frame and needs the number of bits that fits inside it. The numbers here illustrate the method and are not taken from a particular product.

Reverse direction for a sensor budget

A sensor chip data sheet might say an analog-to-digital conversion takes 400,000 fJ. Swapping the units and entering 400,000 fJ gives 0.0004 µJ, so a thousand conversions cost 0.4 µJ. A battery-free sensor harvesting a few microjoules per second can therefore afford thousands of conversions each second on that figure. The conversion is simple, but the unit shift makes the comparison less obvious when the numbers are written in different prefixes. It also helps when a spreadsheet mixes columns in µJ and fJ, which is common when data comes from separate vendors.

Reading very large femtojoule values

A result with ten digits or more is easy to miscount. The default output is 10,000,000,000 fJ, and one dropped zero makes a tenfold error. Write the answer in scientific notation, 1e10 fJ, or group digits in threes, 10 000 000 000. When pasting into a spreadsheet, format the cell as scientific so the exponent is visible. If the value should be a billion times the input, divide the output by the input and check that you get 1e9. A quick way to avoid mistakes is to keep the microjoule value next to the femtojoule value in the same row of your notes.

Choosing the right intermediate unit

Between microjoules and femtojoules lie nanojoules and picojoules, each a factor of 1,000 apart. In a long design document it can help to quote a block in nJ and a gate in fJ, since those keep numbers between 1 and 999. The microjoule to femtojoule jump skips two prefixes, so a slip of three digits is easy. When in doubt, convert in two steps: µJ to nJ by multiplying by 1,000, nJ to pJ by 1,000, pJ to fJ by 1,000. The product is 10^9 and should match the single step done here. If the numbers disagree, a prefix was misread.

Picking the unit to publish in

A results table should use the prefix that keeps values readable. If a block of memory takes 3 µJ and one gate takes 0.64 fJ, putting both in femtojoules gives 3,000,000,000 and 0.64, which are hard to scan side by side. Putting both in picojoules gives 3,000,000 and 0.00064, which has the same problem. A better layout lists each item in its natural unit and adds a ratio column, here about 4.7 billion gates per block event. Use this page to compute the ratio from the two converted figures. Journals in electronics usually accept fJ, pJ, nJ and µJ side by side as long as every number carries its unit symbol, and they expect scientific notation when a value exceeds six digits. Keep the conversion factor 10^9 in your methods notes so a reader can reproduce the arithmetic quickly, and give the supply voltage that goes with every femtojoule figure you quote.

Switching energy depends on operating conditions

The page converts a unit and does nothing else. It does not estimate the energy a particular chip uses, apply a process node, model leakage or check a device against a datasheet. Switching-energy figures depend on capacitance, supply voltage, activity and temperature, and those belong in the design tools of the chip vendor. Treat the result as a restatement of your own input in a smaller unit. If your femtojoule value is meant to be compared with a measurement, make sure both come from the same operating conditions before drawing a conclusion. Papers on low-power circuits usually state the supply voltage, the clock rate and whether the figure includes the clock tree and wiring. A switching energy that leaves those out can look several times better than a whole-block measurement. When you convert a published value, copy those conditions into your notes together with the converted number, so the comparison with your own design stays honest and the source can be found again.