DevTools Hub

Guides › What Is 4-20mA? Why It Starts at 4 mA, Scaling Formula and Wiring

What Is 4-20mA? Why It Starts at 4 mA, Scaling Formula and Wiring

4-20mA is the industry-standard analog signal that carries a measurement such as pressure, temperature, flow or level as an electric current. The bottom of the range is 4 mA, the top is 20 mA, and values in between are proportional. A 0-10 bar pressure transmitter outputs 4 mA at 0 bar, 12 mA at 5 bar and 20 mA at 10 bar. The analog input (AI) of a PLC, DCS or panel meter reads the current and converts it back to engineering units.

Why current instead of voltage

Why 4 mA and not 0 mA

This is the key idea. Putting the zero of the range at 4 mA instead of 0 mA is called a live zero.

20 mA is the top because the low power suits intrinsically safe (explosion-proof) circuits and the 1:5 span gives enough resolution. 10-50mA was once used, but 4-20mA is now the de facto standard.

Scaling formula

To convert current I (mA) to a process value PV over the range LRV (lower) to URV (upper):

PV = LRV + (I − 4) / 16 × (URV − LRV)

And back from process value to current:

I = 4 + 16 × (PV − LRV) / (URV − LRV)

Percent of span is (I − 4) / 16 × 100%. The general form below works for any linear signal and is what this site's calculator uses:

out = outMin + (in − inMin) × (outMax − outMin) / (inMax − inMin)

Examples

CaseCalculationResult
0-10 bar pressure, 12 mA0 + (12−4)/16 × 105.0 bar
−50 to 150 °C, 8 mA−50 + (8−4)/16 × 2000.0 °C
0-5 m level, 17.6 mA(17.6−4)/16 × 54.25 m
Valve 75% open4 + 16 × 0.7516 mA

Quick reference

%0255075100
4-20mA48121620
1-5V (250 Ω)12345
0-10V02.557.510
0-5V01.252.53.755

NAMUR NE43 fault signaling

Many transmitters follow the NAMUR NE43 recommendation and use out-of-range currents to report their status.

CurrentMeaning
3.8 to 20.5 mAMeasurement (including slight under/over range)
3.6 mA or lessDevice failure (downscale)
21.0 mA or moreDevice failure (upscale)
About 0 mABroken wire or no power

Alarming on these thresholds in the PLC separates sensor failures from real process upsets.

2-wire, 3-wire and 4-wire

TypeWiringNotes
2-wire (loop-powered)Supply + → transmitter → receiver resistor → supply −Most common; two wires carry both power and signal
3-wireSupply +, common −, signal outFor sensors that need more power than 4 mA provides
4-wireSeparate power pair and signal pairAC-powered instruments, analyzers; active output

Loop budget

In a 2-wire loop the supply must cover the minimum transmitter voltage plus the drop across every resistance in the loop.

Required supply = transmitter minimum + 20 mA × (receiver R + wire R + other devices)

Example: transmitter minimum 12 V, 250 Ω receiver, 50 Ω round-trip wire gives 12 + 0.02 × 300 = 18 V, so a 24 V supply is enough. An undersized supply shows up as readings that flatten out before reaching 20 mA.

Reading current as voltage

PLC and MCU ADCs measure voltage, so the current flows through a precision resistor. 250 Ω turns 4-20mA into 1-5 V. For a 3.3 V MCU choose a value such as 150 Ω (0.6-3.0 V) so the top of the range stays below the ADC reference. Use a 0.1% or better, low temperature coefficient resistor. See the ADC guide for the conversion.

4-20mA vs voltage signals

Item4-20mA0-10V / 0-5V
DistanceHundreds of meters or moreA few meters to tens of meters
Noise immunityStrongWeak
Broken-wire detectionYes (live zero)Cannot tell 0 V from a broken wire (1-5V and 2-10V can)
WiresTwo wires for power and signalUsually three or more
Cost and simplicityNeeds a receiver resistorSimple, cheap

HART: digital data on top of 4-20mA

The HART protocol superimposes a 1200 bps FSK signal (1200 Hz / 2200 Hz) on the 4-20mA current. The average current does not change, so the analog value stays intact while configuration, diagnostics and extra measurements travel over the same two wires.

For converting a temperature sensor to 4-20mA, see the PT100 guide.

Try it now: 4-20mA Scaling Calculator (runs in your browser, no data is sent anywhere)