MECHOWL ENGINEERING AI

4–20 mA Signal and Measured Value Conversion Calculator (Scaling)

Converts a 4–20 mA current signal to the measured value, or the measured value to the current, from the measuring range of the sensor (the values at 4 mA and 20 mA).

Last updated

Unit system (SI / gravitational units)

Inputs

What to find

Choose whether to convert a current to the measured value, or the measured value to a current.

412200I [mA]X (unit of the range)X4X20IX

The lower value of the measuring range of the sensor (any unit; enter it in the same unit as the value at 20 mA and the measured value). e.g. 0

The upper value of the measuring range of the sensor. e.g. 100

The measured current. e.g. 15.2 mA

Enter it in the same unit as the two values above. e.g. 70

Results

Enter the values to see the result diagram here.

Results appear here as you enter values.

Results are reference values from your inputs and the stated formulas and standards; they do not guarantee that a design is correct or safe. The final decision rests with you.

References

  • Measuring instruments lab: “4-20mA” (Japanese) · KEYENCE · The example of scaling 0 to 100 mm · Open the document

The references were chosen independently by MechOwl; they do not recommend or guarantee this page.

Paste this line into your message:
https://mechowl.com/calc/en/electrical/signal-scaling/ (calculation version 0.2.2)

Explanation

A 4–20 mA signal represents the measuring range of a sensor with its lower value at 4 mA and its upper value at 20 mA, and the values in between by a straight line. Because 0 mA is not the lower value, a broken wire (0 mA) can be told apart from the lower value.

How to use

Choose what to find, and enter the values at 4 mA and 20 mA and the current or the measured value.

Worked examples (hand calculation)

  1. Example 1: 0–100 mm sensor, 15.2 mA

    (15.2 − 4) ÷ 16 = 0.7. 0 + 0.7 × (100 − 0) = 70 mm (source 15.200 mA ↔ 70.000 mm).

  2. Example 2: 0–100 mm, 30 mm to a current

    Fraction of the range (30 − 0) ÷ 100 = 0.3 (30 %). Current 4 + 0.3 × 16 = 8.8 mA (source 8.800 mA ↔ 30.000 mm).

  3. Example 3: Temperature transmitter −50 to 150 °C, 12 mA

    (12 − 4) ÷ 16 = 0.5. −50 + 0.5 × 200 = 50 °C.

  4. Example 4: Exactly 4 mA (the lower value of the range)

    (4 − 4) ÷ 16 = 0. The measured value is the lower value of the range, 0. 4 mA is included in the range.

  5. Example 5: Exactly 20 mA (the upper value of the range)

    (20 − 4) ÷ 16 = 1. The measured value is the upper value of the range, 100. 20 mA is included in the range.

  6. Example 6: 2 mA (outside 4–20 mA: outside the scope)

    2 mA is smaller than 4 mA and outside the range of the conversion (it can be a broken wire or similar). As a current it is possible, so it is “Outside the scope” and no result is given.

  7. Example 7: The values at 4 mA and 20 mA both 50, with a current of 2 mA (the input error comes first)

    The values at 4 mA and 20 mA are the same, 50, so the width of the range is 0 and the conversion formula does not hold (input error). A current of 2 mA < 4 mA alone would be “Outside the scope”, but when there is an input that is not physically possible, the input error is shown first (this calculation gives no verdict).

Common mistakes

  • Calculating it as 0–20 mA: 4 mA is the lower value. The fraction of the range is found as (I − 4) ÷ 16.
  • Swapping the upper and lower values of the range: check the instrument setting (the value at 4 mA).

FAQ

What about a 1–5 V signal?
It is common to turn 4–20 mA into 1–5 V with a 250 Ω resistor, and the percentage is the same (voltage × 4 mA/V is the current).
What if the lower value of the range is larger than the upper (reverse acting)?
Enter it as it is, and it is converted along the straight line in the reverse direction.

Scope

The straight-line conversion between 4–20 mA and the measured value (scaling by two points).

Not covered by this calculation:

  • Square-root extraction outputs and non-linear characteristics
  • The error and resolution of instruments

Next calculations

Request a calculation (contact page of the official site)

Design calculation sheet

Company name and other fields are stored on this device only.