DEV Community

GridCircuits
GridCircuits

Posted on

Scaling a 4–20 mA Loop Without the Offset Mistakes

A 4–20 mA current loop is still one of the most common ways to move a measurement from a field transmitter into a PLC, RTU, or SCADA system — and one of the easiest to scale incorrectly. The math itself is simple. The mistakes are subtle, and they hide in plain sight because the readings still look plausible.

What 4–20 mA really means

A 4–20 mA loop carries a measurement as a fraction of span:

  • 4 mA = 0% of span — the live zero
  • 12 mA = 50% of span
  • 20 mA = 100% of span

The live zero is deliberate. A loop sitting at 0 mA means a broken wire, a dead transmitter, or a lost power supply — not a zero reading. That distinction is the whole reason the loop starts at 4 mA instead of 0, and it is the first thing to get right before any scaling happens.

The scaling formula

For a transmitter with a lower range value (LRV) and an upper range value (URV), the engineering value is:

Engineering value = LRV + (mA − 4) / 16 × (URV − LRV)

The 16 in the denominator is the span of the loop itself: 20 mA − 4 mA. Every milliamp above the live zero is worth one-sixteenth of the engineering span.

Worked example: a 0–150 psi transmitter at 12 mA

Take a pressure transmitter ranged 0–150 psi. At 12 mA:

0 + (12 − 4) / 16 × 150 = 75 psi

Half the loop span, half the engineering span — exactly as it should be. You can check the arithmetic against the free Analog Scaling Calculator, a browser tool that shows its formula and a worked example and never uploads project data.

That calculator works in raw counts — its own worked example maps 0–32767 counts to 0–100 psi, where 16384 counts gives about 50.0 psi — and the formula is the same linear scaling: EU = EUmin + (Raw − Rawmin) × (EUmax − EUmin) / (Rawmax − Rawmin). Once your input module has converted the loop current into counts, the same rule applies: subtract the live-zero offset first, then scale the span.

Two common mistakes

1. Treating the signal as 0–20 mA

This is the classic one. Scale 12 mA as a fraction of 20 mA instead of as a fraction of the 16 mA span, and you get:

(12 / 20) × 150 = 90 psi

That is 15 psi — 20% of span — too high, at a reading that sits right in the middle of the range where nobody thinks to question it. The error disappears only at full scale, and it is at its worst down at the live zero, where 4 mA reads as 30 psi instead of 0.

2. Scaling raw counts without the −4 mA offset

The second mistake lives in the RTU or PLC configuration rather than on paper. The analog input module turns the loop current into raw counts, and if the scaling block is set up against those counts without removing the offset that 4 mA represents, every reading shifts upward by the same amount. The trend still moves in the right direction, alarms still roughly work, and the data looks entirely plausible — which is exactly why the error survives for months. It quietly corrupts trend data, totals, and any control decision built on the value.

In both cases the fix is the same: the live zero comes out first, and only then does the span get applied.

Going the other way

Scaling works in reverse, too. To drive an output that represents 100 psi on that same 0–150 psi range, the loop must carry:

4 + (100 / 150) × 16 = 14.67 mA

That is the formula rearranged: mA = 4 + (EU − LRV) / (URV − LRV) × 16. Check it in both directions whenever you commission a loop — a reading that is right at 4, 12, and 20 mA is right everywhere in between.

The habit to keep

Before trusting any scaled value, verify the two endpoints. Confirm that 4 mA reads the LRV and 20 mA reads the URV, and confirm that 0 mA is treated as a fault, not a measurement. If those three points are right, the straight line between them is right too.


GridCircuits builds free engineering calculators for preliminary design, estimating, and education; verify results against the governing standards and equipment ratings before using them in a design.

Top comments (0)