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
- Wire resistance does not matter: in a series loop the same current flows everywhere. Hundreds of meters of cable drop voltage, but the current arriving at the receiver is unchanged. A 0-10V signal is shifted by every ohm of wire and contact resistance.
- Noise immunity: a current loop is low impedance, so noise induced by nearby motors and drives barely changes the signal.
- Long distances: hundreds of meters to over a kilometer, as long as the loop supply voltage allows.
- Power and signal on two wires: a 2-wire transmitter is powered by the same loop that carries its signal.
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.
- Detecting broken wires and faults: with 0-20mA you cannot tell "measurement is zero" from "the wire is cut". With 4-20mA a healthy signal is always at least 4 mA, so a current well below 4 mA means a broken loop or a power problem.
- Powering 2-wire transmitters: a 2-wire device runs its own electronics from the loop current. Because at least 4 mA always flows, the device stays powered even when the measurement is zero (they are designed to run on about 3.5 mA or less).
- History: pneumatic instruments used a 3-15 psi signal with a 3 psi live zero and a 1:5 ratio. 4-20mA kept the same ratio.
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
| Case | Calculation | Result |
|---|---|---|
| 0-10 bar pressure, 12 mA | 0 + (12−4)/16 × 10 | 5.0 bar |
| −50 to 150 °C, 8 mA | −50 + (8−4)/16 × 200 | 0.0 °C |
| 0-5 m level, 17.6 mA | (17.6−4)/16 × 5 | 4.25 m |
| Valve 75% open | 4 + 16 × 0.75 | 16 mA |
Quick reference
| % | 0 | 25 | 50 | 75 | 100 |
|---|---|---|---|---|---|
| 4-20mA | 4 | 8 | 12 | 16 | 20 |
| 1-5V (250 Ω) | 1 | 2 | 3 | 4 | 5 |
| 0-10V | 0 | 2.5 | 5 | 7.5 | 10 |
| 0-5V | 0 | 1.25 | 2.5 | 3.75 | 5 |
NAMUR NE43 fault signaling
Many transmitters follow the NAMUR NE43 recommendation and use out-of-range currents to report their status.
| Current | Meaning |
|---|---|
| 3.8 to 20.5 mA | Measurement (including slight under/over range) |
| 3.6 mA or less | Device failure (downscale) |
| 21.0 mA or more | Device failure (upscale) |
| About 0 mA | Broken 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
| Type | Wiring | Notes |
|---|---|---|
| 2-wire (loop-powered) | Supply + → transmitter → receiver resistor → supply − | Most common; two wires carry both power and signal |
| 3-wire | Supply +, common −, signal out | For sensors that need more power than 4 mA provides |
| 4-wire | Separate power pair and signal pair | AC-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
| Item | 4-20mA | 0-10V / 0-5V |
|---|---|---|
| Distance | Hundreds of meters or more | A few meters to tens of meters |
| Noise immunity | Strong | Weak |
| Broken-wire detection | Yes (live zero) | Cannot tell 0 V from a broken wire (1-5V and 2-10V can) |
| Wires | Two wires for power and signal | Usually three or more |
| Cost and simplicity | Needs a receiver resistor | Simple, 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)