IEC60063 Preferred Values

This python module provides a generator for the IEC60063 Preferred Values. These are the ‘standard’ values for varius types of passive electrical components, such as resistors, capacitors, etc.

For more information about IEC60063, take a look at this Wikipedia page.

Usage Example

>>> import iec60063
>>> values = iec60063.gen_vals('resistor', 'E12', '1E', '10K')
>>> for value in values:
>>>     print value


Though this module provides the preferred values, there is no guarantee that the values generated will actually be something that you can find in a market near you. If this is something you intend to use to calculate values for components that you will physically need, you should first try to determine what ranges of values are easily available from wherever you normally obtain them for each series and component type.


This package can be installed from pypi using pip:

$ pip install iec60063

Or using easy_install:

$ easy_install iec60063

Source Downloads and Documentation

The simplest way to obtain the source for this package is to clone the git repository:

You can install it as usual, with:

python install

The latest version of the documentation can be found at ReadTheDocs.


iec60063 is distributed under the LGPLv3 license.

IEC60063 API

iec60063.E192 = [Decimal('1.00'), Decimal('1.01'), Decimal('1.02'), Decimal('1.04'), Decimal('1.05'), Decimal('1.06'), Decimal('1.07'), Decimal('1.09'), Decimal('1.10'), Decimal('1.11'), Decimal('1.13'), Decimal('1.14'), Decimal('1.15'), Decimal('1.17'), Decimal('1.18'), Decimal('1.20'), Decimal('1.21'), Decimal('1.23'), Decimal('1.24'), Decimal('1.26'), Decimal('1.27'), Decimal('1.29'), Decimal('1.30'), Decimal('1.32'), Decimal('1.33'), Decimal('1.35'), Decimal('1.37'), Decimal('1.38'), Decimal('1.40'), Decimal('1.42'), Decimal('1.43'), Decimal('1.45'), Decimal('1.47'), Decimal('1.49'), Decimal('1.50'), Decimal('1.52'), Decimal('1.54'), Decimal('1.56'), Decimal('1.58'), Decimal('1.60'), Decimal('1.62'), Decimal('1.64'), Decimal('1.65'), Decimal('1.67'), Decimal('1.69'), Decimal('1.72'), Decimal('1.74'), Decimal('1.76'), Decimal('1.78'), Decimal('1.80'), Decimal('1.82'), Decimal('1.84'), Decimal('1.87'), Decimal('1.89'), Decimal('1.91'), Decimal('1.93'), Decimal('1.96'), Decimal('1.98'), Decimal('2.00'), Decimal('2.03'), Decimal('2.05'), Decimal('2.08'), Decimal('2.10'), Decimal('2.13'), Decimal('2.15'), Decimal('2.18'), Decimal('2.21'), Decimal('2.23'), Decimal('2.26'), Decimal('2.29'), Decimal('2.32'), Decimal('2.34'), Decimal('2.37'), Decimal('2.40'), Decimal('2.43'), Decimal('2.46'), Decimal('2.49'), Decimal('2.52'), Decimal('2.55'), Decimal('2.58'), Decimal('2.61'), Decimal('2.64'), Decimal('2.67'), Decimal('2.71'), Decimal('2.74'), Decimal('2.77'), Decimal('2.80'), Decimal('2.84'), Decimal('2.87'), Decimal('2.91'), Decimal('2.94'), Decimal('2.97'), Decimal('3.01'), Decimal('3.05'), Decimal('3.09'), Decimal('3.12'), Decimal('3.16'), Decimal('3.20'), Decimal('3.24'), Decimal('3.28'), Decimal('3.32'), Decimal('3.36'), Decimal('3.40'), Decimal('3.44'), Decimal('3.48'), Decimal('3.52'), Decimal('3.57'), Decimal('3.61'), Decimal('3.65'), Decimal('3.70'), Decimal('3.74'), Decimal('3.79'), Decimal('3.83'), Decimal('3.88'), Decimal('3.92'), Decimal('3.97'), Decimal('4.02'), Decimal('4.07'), Decimal('4.12'), Decimal('4.17'), Decimal('4.22'), Decimal('4.27'), Decimal('4.32'), Decimal('4.37'), Decimal('4.42'), Decimal('4.48'), Decimal('4.53'), Decimal('4.59'), Decimal('4.64'), Decimal('4.70'), Decimal('4.75'), Decimal('4.81'), Decimal('4.87'), Decimal('4.93'), Decimal('4.99'), Decimal('5.05'), Decimal('5.11'), Decimal('5.17'), Decimal('5.23'), Decimal('5.30'), Decimal('5.36'), Decimal('5.42'), Decimal('5.49'), Decimal('5.56'), Decimal('5.62'), Decimal('5.69'), Decimal('5.76'), Decimal('5.83'), Decimal('5.90'), Decimal('5.97'), Decimal('6.04'), Decimal('6.12'), Decimal('6.19'), Decimal('6.26'), Decimal('6.34'), Decimal('6.42'), Decimal('6.49'), Decimal('6.57'), Decimal('6.65'), Decimal('6.73'), Decimal('6.81'), Decimal('6.90'), Decimal('6.98'), Decimal('7.06'), Decimal('7.15'), Decimal('7.23'), Decimal('7.32'), Decimal('7.41'), Decimal('7.50'), Decimal('7.59'), Decimal('7.68'), Decimal('7.77'), Decimal('7.87'), Decimal('7.96'), Decimal('8.06'), Decimal('8.16'), Decimal('8.25'), Decimal('8.35'), Decimal('8.45'), Decimal('8.56'), Decimal('8.66'), Decimal('8.76'), Decimal('8.87'), Decimal('8.98'), Decimal('9.09'), Decimal('9.20'), Decimal('9.31'), Decimal('9.42'), Decimal('9.53'), Decimal('9.65'), Decimal('9.76'), Decimal('9.88')]

The E192 Number Series

iec60063.E96 = [Decimal('1.00'), Decimal('1.02'), Decimal('1.05'), Decimal('1.07'), Decimal('1.10'), Decimal('1.13'), Decimal('1.15'), Decimal('1.18'), Decimal('1.21'), Decimal('1.24'), Decimal('1.27'), Decimal('1.30'), Decimal('1.33'), Decimal('1.37'), Decimal('1.40'), Decimal('1.43'), Decimal('1.47'), Decimal('1.50'), Decimal('1.54'), Decimal('1.58'), Decimal('1.62'), Decimal('1.65'), Decimal('1.69'), Decimal('1.74'), Decimal('1.78'), Decimal('1.82'), Decimal('1.87'), Decimal('1.91'), Decimal('1.96'), Decimal('2.00'), Decimal('2.05'), Decimal('2.10'), Decimal('2.15'), Decimal('2.21'), Decimal('2.26'), Decimal('2.32'), Decimal('2.37'), Decimal('2.43'), Decimal('2.49'), Decimal('2.55'), Decimal('2.61'), Decimal('2.67'), Decimal('2.74'), Decimal('2.80'), Decimal('2.87'), Decimal('2.94'), Decimal('3.01'), Decimal('3.09'), Decimal('3.16'), Decimal('3.24'), Decimal('3.32'), Decimal('3.40'), Decimal('3.48'), Decimal('3.57'), Decimal('3.65'), Decimal('3.74'), Decimal('3.83'), Decimal('3.92'), Decimal('4.02'), Decimal('4.12'), Decimal('4.22'), Decimal('4.32'), Decimal('4.42'), Decimal('4.53'), Decimal('4.64'), Decimal('4.75'), Decimal('4.87'), Decimal('4.99'), Decimal('5.11'), Decimal('5.23'), Decimal('5.36'), Decimal('5.49'), Decimal('5.62'), Decimal('5.76'), Decimal('5.90'), Decimal('6.04'), Decimal('6.19'), Decimal('6.34'), Decimal('6.49'), Decimal('6.65'), Decimal('6.81'), Decimal('6.98'), Decimal('7.15'), Decimal('7.32'), Decimal('7.50'), Decimal('7.68'), Decimal('7.87'), Decimal('8.06'), Decimal('8.25'), Decimal('8.45'), Decimal('8.66'), Decimal('8.87'), Decimal('9.09'), Decimal('9.31'), Decimal('9.53'), Decimal('9.76')]

The E96 Number Series

iec60063.E48 = [Decimal('1.00'), Decimal('1.05'), Decimal('1.10'), Decimal('1.15'), Decimal('1.21'), Decimal('1.27'), Decimal('1.33'), Decimal('1.40'), Decimal('1.47'), Decimal('1.54'), Decimal('1.62'), Decimal('1.69'), Decimal('1.78'), Decimal('1.87'), Decimal('1.96'), Decimal('2.05'), Decimal('2.15'), Decimal('2.26'), Decimal('2.37'), Decimal('2.49'), Decimal('2.61'), Decimal('2.74'), Decimal('2.87'), Decimal('3.01'), Decimal('3.16'), Decimal('3.32'), Decimal('3.48'), Decimal('3.65'), Decimal('3.83'), Decimal('4.02'), Decimal('4.22'), Decimal('4.42'), Decimal('4.64'), Decimal('4.87'), Decimal('5.11'), Decimal('5.36'), Decimal('5.62'), Decimal('5.90'), Decimal('6.19'), Decimal('6.49'), Decimal('6.81'), Decimal('7.15'), Decimal('7.50'), Decimal('7.87'), Decimal('8.25'), Decimal('8.66'), Decimal('9.09'), Decimal('9.53')]

The E48 Number Series

iec60063.E24 = [Decimal('1.0'), Decimal('1.1'), Decimal('1.2'), Decimal('1.3'), Decimal('1.5'), Decimal('1.6'), Decimal('1.8'), Decimal('2.0'), Decimal('2.2'), Decimal('2.4'), Decimal('2.7'), Decimal('3.0'), Decimal('3.3'), Decimal('3.6'), Decimal('3.9'), Decimal('4.3'), Decimal('4.7'), Decimal('5.1'), Decimal('5.6'), Decimal('6.2'), Decimal('6.8'), Decimal('7.5'), Decimal('8.2'), Decimal('9.1')]

The E24 Number Series

iec60063.E12 = [Decimal('1.0'), Decimal('1.2'), Decimal('1.5'), Decimal('1.8'), Decimal('2.2'), Decimal('2.7'), Decimal('3.3'), Decimal('3.9'), Decimal('4.7'), Decimal('5.6'), Decimal('6.8'), Decimal('8.2')]

The E12 Number Series

iec60063.E6 = [Decimal('1.0'), Decimal('1.5'), Decimal('2.2'), Decimal('3.3'), Decimal('4.7'), Decimal('6.8')]

The E6 Number Series

iec60063.E3 = [Decimal('1.0'), Decimal('2.2'), Decimal('4.7')]

The E3 Number Series

iec60063.cap_ostrs = ['fF', 'pF', 'nF', 'uF', 'mF', 'F']

Order Strings for Capacitors

iec60063.res_ostrs = ['m', 'E', 'K', 'M', 'G']

Order Strings for Resistors

iec60063.zen_ostrs = ['V']

Order Strings for Zener Diodes

iec60063.ind_ostrs = ['nH', 'uH', 'mH']

Order Strings for Inductors

iec60063.num_ostrs = ['']

Order Strings for Numbers


Given a device type, returns the order strings to be used for that type.

Supports the following types:
  • resistor
  • capacitor
  • zener
  • inductor
  • number (Default)
Parameters:stype – The type of component you want the order strings for.

Given a specific series name, returns the Number series.

Supports the following series:
  • E192
  • E96
  • E48
  • E24
  • E12
  • E6
  • E3
Parameters:seriesst – The IEC60063 series you want.
iec60063.gen_vals(series, ostrs, start=None, end=None)[source]

Generate values for a specific type over a specific series within an optional range.

The series parameter would typically be a string, naming one of the standard IEC60063 series. It could also be an arbitrary list of numbers (decimal.Decimal is recommended).

Similarly, the ostrs parameter would be a string naming one of the component types supported. You can provide a list of order strings of your own choosing instead.

For each order string in ostrs, if a list is provided, or the list of strings returned by get_ostr(), this will generate all values of the series between 1 and 999, both included, subject to start / end conditions that may be specified using those parameters.

If the start and / or end is not specified, this function will return all the possible values, given the order strings it has available.

  • series (str) – Which IEC60063 series to use. See get_series().
  • ostrs (str) – What order strings to append to the numbers. See get_ostr().
  • start (str) – The value to start from. This value must be a part of the series.
  • end (str) – The value to end at. This value must be a part of the series.

A generator which produces all the values within the range.

Return type:


Indices and tables