4-20 mA Calculator
4-20 mA Conversion Tool
Enter the sensor’s range (LRV and URV) and either the current (mA), percentage, or process value to calculate the other values.
°C
Results
Current: 4.00 mA
Percentage: 0.0 %
Process Value: 0.0 °C
Span: 100 °C (16 mA)
The 4-20 mA signal is linearly proportional to the process variable within the defined range (LRV to URV).
mA = 4 + 16 * ( (PV – LRV) / (URV – LRV) )
PV = LRV + (URV – LRV) * ( (mA – 4) / 16 )
| Percentage (%) | Current (mA) | Process Value (°C) |
|---|---|---|
| 0 | 4.00 | 0.0 |
| 25 | 8.00 | 25.0 |
| 50 | 12.00 | 50.0 |
| 75 | 16.00 | 75.0 |
| 100 | 20.00 | 100.0 |
mA vs. Process Value Chart
What is a 4-20 mA Calculator?
A 4-20 mA calculator is a tool used in industrial instrumentation and control systems to convert signals within a 4-20 milliamp (mA) current loop to their corresponding process variable values (like temperature, pressure, flow, level) or percentage of range, and vice-versa. The 4-20 mA signal is an analog electrical transmission standard where 4 mA typically represents the zero point (0% or Lower Range Value – LRV) of a measurement and 20 mA represents the full-scale point (100% or Upper Range Value – URV) of the measurement.
This 4-20 mA calculator helps engineers, technicians, and operators quickly find the equivalent value of a process variable given a current reading, or determine the expected current for a given process value or percentage within the sensor’s calibrated range. It simplifies scaling and descaling signals from various sensors and transmitters.
Who should use a 4-20 mA calculator?
- Instrumentation and Control Technicians
- Process Engineers
- Automation Engineers
- PLC Programmers
- Maintenance Personnel working with sensors and transmitters
Common Misconceptions
One common misconception is that 0 mA represents the zero point. In a 4-20 mA loop, 4 mA is the live zero, meaning the loop is active and functioning even at the lowest measurement point. A current below 4 mA (e.g., 0-3.8 mA) often indicates a fault condition like a broken wire.
4-20 mA Calculator Formula and Mathematical Explanation
The relationship between the current (I), the process variable (PV), the Lower Range Value (LRV), and the Upper Range Value (URV) in a 4-20 mA loop is linear.
The span of the current is 20 mA – 4 mA = 16 mA.
The span of the process variable is URV – LRV.
To convert from Process Value (PV) to Current (mA):
- Calculate the fraction of the span the PV represents: (PV – LRV) / (URV – LRV)
- Multiply this fraction by the current span (16 mA): 16 * (PV – LRV) / (URV – LRV)
- Add the live zero current (4 mA): I = 4 + 16 * (PV – LRV) / (URV – LRV)
To convert from Current (mA) to Process Value (PV):
- Calculate the current above live zero: I – 4
- Calculate the fraction of the current span this represents: (I – 4) / 16
- Multiply this fraction by the process variable span: (URV – LRV) * (I – 4) / 16
- Add the Lower Range Value (LRV): PV = LRV + (URV – LRV) * (I – 4) / 16
The percentage is simply (I-4)/16 * 100 or (PV-LRV)/(URV-LRV) * 100.
Variables Table:
| Variable | Meaning | Unit | Typical Range |
|---|---|---|---|
| I | Current | mA | 4 – 20 |
| PV | Process Variable | User-defined (e.g., °C, psi) | LRV – URV |
| LRV | Lower Range Value | User-defined | Depends on sensor |
| URV | Upper Range Value | User-defined | Depends on sensor |
| % | Percentage of Range | % | 0 – 100 |
Practical Examples (Real-World Use Cases)
Example 1: Temperature Transmitter
A temperature transmitter is calibrated with a range of 0°C (LRV) to 150°C (URV). If the transmitter is outputting 12 mA, what is the temperature?
- LRV = 0 °C
- URV = 150 °C
- Current = 12 mA
Using the formula: PV = LRV + (URV – LRV) * (I – 4) / 16
PV = 0 + (150 – 0) * (12 – 4) / 16 = 150 * 8 / 16 = 150 * 0.5 = 75 °C.
So, 12 mA corresponds to 75 °C, which is 50% of the range.
Example 2: Pressure Transmitter
A pressure transmitter has a range of 0 psi (LRV) to 500 psi (URV). What current signal would it output at 300 psi?
- LRV = 0 psi
- URV = 500 psi
- PV = 300 psi
Using the formula: I = 4 + 16 * (PV – LRV) / (URV – LRV)
I = 4 + 16 * (300 – 0) / (500 – 0) = 4 + 16 * 300 / 500 = 4 + 16 * 0.6 = 4 + 9.6 = 13.6 mA.
So, 300 psi corresponds to 13.6 mA, which is 60% of the range.
Our 4-20 mA calculator can quickly perform these conversions for you.
How to Use This 4-20 mA Calculator
- Enter Range Values: Input the Lower Range Value (LRV) and Upper Range Value (URV) of your sensor or transmitter.
- Enter Unit: Specify the unit of measurement for the process variable (e.g., °C, psi, bar, m/s).
- Input Known Value: Enter either the current in mA (between 4 and 20), the percentage (between 0 and 100), or the process value (between LRV and URV) into the respective field.
- View Results: The calculator will instantly update the other two fields, showing the corresponding current, percentage, and process value. The primary result is highlighted, and intermediate values are listed below.
- Check Table and Chart: The table and chart will update based on your LRV and URV to show example points and the graphical relationship.
- Reset: Click “Reset” to return to default values.
- Copy: Click “Copy Results” to copy the main results and assumptions to your clipboard.
This 4-20 mA calculator is designed for ease of use, providing quick and accurate conversions for anyone working with 4-20mA current loops.
Key Factors That Affect 4-20 mA Results
- Sensor Calibration: The accuracy of the LRV and URV settings is crucial. If the sensor is not calibrated correctly, the 4-20 mA calculator‘s output based on those values will be inaccurate relative to the true process variable.
- Loop Resistance: Excessive resistance in the current loop (from long wires or multiple devices) can cause a voltage drop that might affect the current signal if the power supply is insufficient.
- Power Supply Voltage: The loop power supply must be sufficient to drive 20mA through the total loop resistance.
- Transmitter Accuracy: The transmitter itself has a certain accuracy specification, which will limit the overall accuracy of the measurement and the calculated values.
- A/D Converter Resolution (in PLC/DCS): The Analog-to-Digital converter at the receiving end (e.g., in a PLC) has a finite resolution, which can introduce small quantization errors when interpreting the 4-20 mA signal. See our article on PLC programming basics for more.
- Electrical Noise: Electromagnetic interference (EMI) or radio frequency interference (RFI) can induce noise on the 4-20 mA signal, especially over long cable runs, potentially affecting the reading. Shielded twisted-pair cables are recommended. Learn more about sensor types and wiring.
- Temperature Effects: Both the sensor and the transmitter electronics can be affected by ambient temperature changes, which might cause slight drifts in the output signal unless compensated.
Frequently Asked Questions (FAQ)
- Why is 4 mA used as the live zero instead of 0 mA?
- Using 4 mA as the live zero allows the system to distinguish between a zero reading (4 mA) and a fault condition like a broken wire or transmitter failure (which would result in 0 mA or a current below 3.8 mA). This makes the 4-20 mA loop more robust for fault detection.
- What happens if I enter a current outside 4-20 mA into the calculator?
- The 4-20 mA calculator will indicate an error or limit the input, as standard 4-20 mA signals operate within this range. Values outside this often signify over-range, under-range, or fault conditions.
- Can I use this 4-20 mA calculator for any type of sensor?
- Yes, as long as the sensor outputs a standard 4-20 mA analog signal proportional to the measured variable and you know its calibrated LRV and URV. It’s applicable for pressure, temperature, level, flow, and other sensors.
- How accurate is this 4-20 mA calculator?
- The calculator performs the mathematical conversions with high precision. However, the accuracy of the results in a real-world scenario depends on the accuracy of your input values (LRV, URV, and the measured mA/PV), the calibration of the sensor, and the factors mentioned above.
- What is the difference between 3-wire and 2-wire transmitters?
- 2-wire transmitters are loop-powered, deriving their power from the 4-20 mA loop itself. 3-wire (and 4-wire) transmitters have a separate power supply connection and are not strictly loop-powered in the same way, though they output a 4-20 mA signal.
- How do I calibrate a 4-20 mA sensor?
- Calibration typically involves applying known physical inputs (e.g., 0% and 100% of the range) to the sensor and adjusting the transmitter’s zero (4 mA) and span (20 mA) outputs accordingly. Refer to the sensor/transmitter manual and our guide on instrumentation calibration.
- What if my URV is less than my LRV?
- The 4-20 mA calculator expects URV to be greater than LRV for a standard direct-acting transmitter. If URV < LRV, it might represent a reverse-acting scale, but the calculator assumes URV >= LRV. Please ensure your inputs match the sensor’s configuration.
- Can the calculator handle negative LRV or URV values?
- Yes, the 4-20 mA calculator can work with negative values for LRV and URV, common in measurements like vacuum pressure or temperatures below zero.
Related Tools and Internal Resources
- What is a 4-20mA Current Loop? – A detailed explanation of the 4-20mA standard.
- PLC Programming Basics – Learn how PLCs read and use 4-20mA signals.
- Instrumentation Calibration Guide – Understanding the importance of proper sensor calibration.
- PID Loop Tuner Calculator – For control loops that use 4-20mA inputs.
- Ohm’s Law Calculator – Useful for understanding voltage and resistance in the loop.
- Sensor Types and Applications – Explore different sensors that use 4-20mA outputs.