Overview

When exploring the world of electronics, these units of measurement are very important and allow people from all over the world to communicate and share their work and discoveries. Some common units used in electronics include voltage for electrical potential difference, ampere for electrical current, watts for power, farad for capacitance, henry’s for inductance, and ohms for resistance.

This tutorial will not only go over some of the most commonly used units in electronics but will also teach you the metric prefixes that help describe all of these base units in quantities ranging from the insanely large to the incredibly small.

Suggested Reading

If you would like to know more about the components that use the units and prefixes described in this tutorial, check out some of these related tutorials.

SI Units

We’ve been measuring stuff for millennia, and our units used for those measures have been evolving since then. There are now dozens of units to describe physical quantities. For example, length can be measured by the foot, meter, fathom, chain, parsec, league, and so on. In order to better communicate measurements, we needed a standardized system of units, which every scientist and measurer could use to share their findings. This standardized system has come to be called the <epic voice> International System of Units </epic voice>, abbreviated SI.

Physical SI Units

Quantity

SI Unit

Unit Abbreviation

Time

second

s

Length

meter

m

Mass

gram

g

Temperature

kelvin

K

Force

newton

N

While we can still use units like feet or miles for distance (instead of meters), liters to describe volume (instead of m3), and Fahrenheit or Celsius to describe temperature (instead of °K), the units above are a standardized way for every scientist to share their measurements. Using the units above means everyone is speaking the same language.

Common Electronics Units

In dealing with electronics, there are a handful of units we’ll be encountering more often than others. These include:

Quantity

SI Unit

Unit Abbreviation

Electric Potential Difference (Voltage)

volts

V

Electric Current

ampere

A

Power

watt

W

Energy/Work/Heat

joule

J

Electric Charge

coulomb

C

Resistance

ohm

&ohm;

Capacitance

farad

F

Inductance

henry

H

Frequency

hertz

Hz

Now that we know the units, let’s look at how they can be augmented with prefixes to make them even more usable!

The Prefixes

When first learning about metric prefixes, chances are you were taught these six prefixes first:

Prefix (Symbol)

Power

Numeric Representation

kilo (k)

103

1,000

hecto (h)

102

100

deka (da)

101

10

no prefix

100

1 unit

deci (d)

10-1

0.1

centi (c)

10-2

0.01

milli (m)

10-3

0.001

These are what we’ll consider the standard six prefixes taught in most High School science courses. You may have even learned a fun mnemonic to go along with these such as Kangaroos Have Dirty Underwear During Cold Months. However, as you’ll soon see, when learning about electronics and computer science, the range of prefixes well exceeds the standard six. While these prefixes cover a rang of 10-3 to 103, many electronic values can have a much larger range.

Describing the Large

Prefix (Symbol)

Power

Numeric Representation

yotta (Y)

1024

1 septillion

zetta (Z)

1021

1 sextillion

exa (E)

1018

1 quintillion

peta (P)

1015

1 quadrillion

tera (T)

1012

1 trillion

giga (G)

109

1 billion

mega (M)

106

1 million

kilo (k)

103

1 thousand

no prefix

100

1 unit

These above prefixes dramatically help describe quanities of units in large amounts. Instead of saying 3,200,000,000 Hertz, you can say 3.2 GigaHertz, or 3.2 GHz for shorthand written notation. This allows us to describe incredibly large numbers of units succinctly. There are also prefixes for helping communicate tiny numbers as well.

Describing the Small

Prefix (Symbol)

Power

Numeric Representation

no prefix

100

1 unit

milli (m)

10-3

1 thousandth

micro (µ)

10-6

1 millionth

nano (n)

10-9

1 billionth

pico (p)

10-12

1 trillionth

femto (f)

10-15

1 quadrillionth

atto (a)

10-18

1 quintillionth

zepto (z)

10-21

1 sextillionth

yocto (y)

10-24

1 septillionth

Now, instead one trillionth of a second, it can be referred to as a picosecond. One thing to notice about the prefixes for small values, is that their shorthand notations are all lower case while the large number prefixes are upper case (with the exception of kilo-*, hecto- and deca-). This allows you to distinguish between the two when they use the same letter. As an example, one mW (milliwatt) does not equal one MW (megawatt).

*Note: Since the upper case ‘K’ was already used to describe Kelvins, a lower case ‘k’ was chosen to represent the prefix kilo-. As you’ll see in the Bits and Bytes section, there is also some confusion with k and K when dealing with the binary (base 2) prefixes.

Conversion

The beautiful thing about these metric prefixes is that, once you get the hang of conversion between a few of them, translating that ability to all the other prefixes is easy.

As a first simple example, lets translate 1 Ampere (A) into smaller values. A milliampere is 1 thousandth of the unit Ampere hence 1 Ampere is equal to 1000 milliamperes. Going further, 1 milliampere is equivalent to 1000 microamperes and so on. Going in the opposite direction, 1 Ampere is .001 Kiloampere, or 1000 Amperes is 1 Kiloampere. Now that’s a lot of current!

As you may have noticed, switching between prefixes is the same as moving the decimal point over by 3 places. This is also the same as multiplying or dividing by 1000. When you’re going up to a larger prefix, from Kilo to Mega for example, the decimal place is moved three places to the left. 100,000 Kilowatts equals 100 Megawatts. 10 Kilowatts equals .01 Megawatts. Mega is the prefix right above Kilo so regardless of whether we are talking about Watts, Amperes, Farads, or whatever unit, the movement of the decimal place by three positions to the left still works when moving up a prefix.

When moving down a prefix, let’s say from nano- to pico-, the decimal place is moved three places to the right. 1 nanoFarad equals 1000 picoFarads. .5 nanoFarad equals 500 picoFarads. Here’s a short list so you can see the pattern:

See the trend? Each prefix is a thousand times larger than the previous. While a little overwhelming at first, translation from one prefix to another eventually becomes second nature.

Bits and Bytes

Working with bits and bytes can cause a bit confusion (pun intended). Since computers work with base 2 numbers instead of base 10, it is often unclear which number base one is referring to when using the metric prefixes. For example, 1 Kilobyte is often used to mean 1000 bytes (base 10), or it can be used to represent 1024 bytes (base 2), resulting in misunderstandings.

To eliminate these mix-ups, the International Electrotechnial Commision came up with some new prefixes for the base 2 bits and bytes. These are referred to as binary prefixes.

Prefix (Symbol)

Power

Numeric Representation

exbi- (Ei-)

260

1,152,921,504,606,846,976

pebi- (Pi-)

250

1,125,899,906,842,624

tebi- (Ti-)

240

1,099,511,627,776

gibi (Gi-)

230

1,073,741,824

mebi- (Mi-)

220

1,048,576

kibi- (Ki-)

210

1,024

no prefix

20

1 bit or byte

Adopting this would mean 1 Megabyte = 1000 Kilobytes while 1 Mebibyte equals 1024 Kibibytes. Essentially for bits and bytes, each jump in prefix would be a multiple of 1024 (210) instead of 1000 (103). Unfortunately, this system is not widely used in practice, so anytime you hear a number of bytes or bits, you have to wonder if they are talking about them in base 2 or base 10.

Hard drive companies and others typically sell products in base 10 as it makes it sound larger. A 1 Terabyte hard drive will turn out to actually be about 931.3 Gibibytes.

This is where we run into the upper case and lower case ‘k’ situation. The proper prefix for kibi if ‘Ki’. However, it will sometimes appear as just and upper case ‘K’, which, again, represents temperature in Kelvins. So, any time you hear the word Kilobyte, you still have to wonder if it signifies 1000 bytes (base 10) or 1024 bytes (base 2). On the other hand, if you see the term kibibyte, you know for sure it’s talking about the base 2 version interpretation of digital storage (1024 bytes).

Converting Bits to Bytes and Bytes to Bits

We’ve covered converting bits and bytes to larger or smaller numbers of each, but there is also the matter of converting bits to bytes and vise versa. Remember that 1 Byte is equal to 8 bits (a majority of the time), and one bit is equal to 0.125 bytes (or 1/8). Granted, there are many orders of magnitude pertaining to bits, but byte is typically used most frequently. The practice of converting between one and the other is not all that common, but it is still useful information when dealing with electronics, especially when it comes to memory. For example, you could be writing code that stores individual bits, but your memory is defined as bytes.

Practice

Now for some practice exercises. We’ll use standard abreviations for each unit type we’ll convert:

A for Amperes

V for Volts

W for Watts

Hz for Hertz

F for Farads

H for Henry’s

Ω for Ohms

s for Seconds

B for Bytes

b for bits

Conversion Example:

Convert: 400 mA to A

Answer: 400 mA = .4 A

Convert:

50 mA to A

10 nF to pF

500 kW to W

.01 mV to µV

20,000 kΩ to MΩ

4680 MHz to GHz

4 TiB to GiB

200 Mb to kb

.00007 s to µs

1450 nH to µH

Practice Answers

.05 A

10,000 pF

500,000 W

10 µV

20 MΩ

4.68 GHz

4096 GiB

200,000 kb

70 µs

1.45 µH

Soon, switching between prefixes when needed becomes very quick.

Going Further

Being able to convert numbers to the best prefix depending on the size of the number is an important skill to have. It allows you to avoid really long and messy numbers like 5,600,000 or .000000002. Using 5.6M or 2n allows you to convey the information faster and in a much tidier and easier to read format.

Now that you are familiar with the metric prefixes, consider taking a look at our How to Use a Multimeter tutorial. Using a multimeter requires a good understanding of all the prefixes since your measurements will often show up as such.

SparkFun is an online retail store that sells the bits and pieces to
make your electronics projects possible. Whether it's a robot that can
cook your breakfast or a GPS cat tracking device, our products and
resources are designed to make the world of electronics more accessible.

In addition to products, SparkFun also offers
classes and online tutorials to help educate
individuals in the wonderful world of embedded electronics.