Set the engineering range and current to convert a 4–20 mA signal into a process value. Results update as you change the inputs.
Tutorial: Using the 4-20 mA Signal Calculator
Use the calculator to map a current signal to a process value (PV), span percentage, and ADC counts.
Set an engineering range
- Choose the engineering unit from the dropdown. Enter the lower range value (LRL) and upper range value (URL) in that unit; URL must be greater than LRL.
- Choose the ADC profile for your module: Siemens, Allen-Bradley, Beckhoff EL3052, Mitsubishi FX5-4AD, Omron CP1W-AD041, Schneider Modicon X80 BMXAMI0810, or Custom. Custom reveals a field with a default maximum of 5000 counts, which you can change to another finite positive integer. The field is hidden when you switch to a fixed profile.
- Set the current with the slider. It ranges from 0 to 24 mA in 0.1 mA steps and starts at 12 mA. Double-click the slider to return it to the midpoint, 12 mA.
- Read PV, span, and counts. Five dynamic cards in one row show values at the slider presets of 4, 8, 12, 16, and 20 mA in the selected engineering unit. These correspond to LRL, LRL plus 25% of span, the midpoint, LRL plus 75% of span, and URL, respectively. Results update when inputs change.
With Custom set to 10000, 4 mA maps to 0 raw counts, 12 mA to 5000, and 20 mA to 10000. The selected profile and maximum are included in the result and downloaded PDF.
LRL, URL, and PV share the selected engineering unit. Changing the unit changes only its label; it does not convert the LRL or URL numbers. Make sure the range values match the selected unit. Switching quantities saves and restores a separate unit and LRL/URL range for each quantity.
Understand the current range
At 4 mA the calculated value is LRL; at 20 mA it is URL. The calculation is linear and does not clamp at those endpoints. Although the page slider is limited to 0-24 mA, the separately exposed pure calculation API accepts broader finite numeric current inputs when the range is valid and the calculated result remains finite.
For example, with LRL = 0 bar, URL = 100 bar, current = 21 mA, and Allen-Bradley selected, PV is 106.25 bar and span is 106.25%. The raw count is 34814.9375 and the displayed integer count is 34815 (nearest integer, ties away from zero).
Interpret the signal-range indicator
The indicator uses these app classifications: exactly 0 mA is Dead circuit / fault; above 0 through 3.6 mA is Sensor downscale fault; above 3.6 and below 4 mA is Below standard range; 4 through 20 mA is Standard operating range; above 20 and below 21 mA is Above standard range; and 21 mA or higher is Sensor upscale fault.
The source reference explicitly gives 0.00 mA, 3.60 mA, 4-20 mA, and 21.00 mA as anchors. The calculator fills the intervals between those anchors and applies the exact inclusive/exclusive rules above; these interval rules are app behavior, not claims made by the source. The source is educational/reference material and notes that equipment manuals may specify different device-specific ranges. The indicator does not establish standards compliance or diagnose a real device or wiring fault. Consult the applicable transmitter and system documentation when interpreting a real loop.
Download a report
Select Download PDF when the inputs are valid. The report uses the selected engineering unit and includes the raw and rounded counts, selected ADC profile and maximum, and provisional diagnostic warning. PDF and table libraries must be available on the page.
Worked example
Set the lower range value to 0 °C, the upper range value to 100 °C and the current to 12 mA. The position within the signal range is (12 − 4) ÷ (20 − 4) = 0.5. The calculator displays a process value of 50 °C and a span of 100 °C.
Information and Definitions
The calculator maps 4 mA to the lower range value (LRL) and 20 mA to the upper range value (URL). It applies linear scaling without clamping at those endpoints.
The page slider runs from 0 to 24 mA in steps of 0.1 mA, starting at 12 mA. Double-clicking the slider returns it to 12 mA. The pure calculation API is independent of that slider and accepts broader finite numeric inputs, provided URL is greater than LRL and the result remains finite. Current below 4 mA can produce a negative fraction; current above 20 mA can produce a fraction greater than 1. PV, span, and raw counts extrapolate accordingly.
Interface and explanatory material
At wide screen sizes, the calculator keeps Signal Inputs in a narrow left column. In the remaining width, Current Signal and the Signal Range indicator appear first, with Results in a row directly below them. Download PDF occupies its own full-width row underneath. The layout stacks on smaller screens.
Long helper paragraphs and the automatically injected PLC scaling note are not shown in the calculator UI. Explanations of the linear calculation, range behavior, engineering units, ADC profile assumptions, and diagnostic terminology are documented in the page's Markdown sections. The UI continues to show required form labels, dynamic error and status messages, result names, and the signal legend. The PDF may include calculation assumptions and warnings because they are part of the report.
Engineering units
The Engineering Unit dropdown lists all supported units in a single alphabetical list. Changing the selected unit changes only the unit label; LRL and URL are not converted. Enter both range values in the selected unit. The PV and both range fields always use that same unit.
Signal Range indicator
The Signal Range bar classifies the current signal, and the marker indicates its position. The calculator uses these six contiguous classifications:
| Label | Meaning | Current |
|---|---|---|
| Dead circuit / fault | Current exactly zero | $I = 0$ mA |
| Sensor downscale fault | Positive current through 3.60 mA | $0 < I \leq 3.60$ mA |
| Below standard range | Above 3.60 and below 4.00 mA | $3.60 < I < 4.00$ mA |
| Standard operating range | 4.00 through 20.00 mA | $4.00 \leq I \leq 20.00$ mA |
| Above standard range | Above 20.00 and below 21.00 mA | $20.00 < I < 21.00$ mA |
| Sensor upscale fault | 21.00 mA and above | $I \geq 21.00$ mA |
The cited 4-20 mA calculator reference explicitly publishes these anchors: 0.00 mA as Dead Circuit / Fault, 3.60 mA as Sensor Downscale Fault, 4-20 mA as the Standard linear operating range, and 21.00 mA as Sensor Upscale Fault. The intervals between those anchors and the app's precise inclusive/exclusive boundaries are the calculator's contiguous classification policy; the source does not specify those intermediate interval boundaries.
Profile counts and display
The ADC Profile choices are Siemens, Allen-Bradley, Beckhoff EL3052, Mitsubishi FX5-4AD, Omron CP1W-AD041, Schneider Modicon X80 BMXAMI0810, and Custom. Fixed profiles represent specific module scaling, not a universal value for each manufacturer. The Beckhoff profile uses the EL3052 PLC process-data scale of 0-32767; the terminal's physical ADC resolution is 12 bit. Custom has a default maximum of 5000 counts, which can be changed to any finite positive integer. Its input appears only for Custom and retains its value when switching to a fixed profile. The selected profile and maximum are included in the PDF. For a custom maximum of 10000, 4 mA gives 0 raw counts, 12 mA gives 5000, and 20 mA gives 10000. The calculator displays the rounded count only; the PDF includes raw counts and the integer rounded to the nearest value, with exact half values rounded away from zero. PV and span are shown to up to six decimal places; the calculations retain full precision.
Diagnostic terminology
These labels describe the calculator's range-bar classifications, not a claim of NAMUR NE 43 compliance or a universal device diagnosis. The cited source is educational/reference material and warns that equipment manuals may specify different device-specific ranges. In particular, a dead-circuit or fault label does not by itself diagnose wiring or device failure. Consult the applicable transmitter and input-module documentation when interpreting a real loop condition.
4-20 mA Signal Calculator References
Inputs, defaults, and interface limits
| Input | Default | Behavior |
|---|---|---|
| Lower Range Value (LRL) | 0 | Numeric value in the selected engineering unit. |
| Upper Range Value (URL) | 100 | Numeric value in the selected engineering unit; must exceed LRL. |
| Engineering unit | bar | Selectable from a single alphabetical list of all supported units. |
| Current signal | 12 mA | UI slider: minimum 0 mA, maximum 24 mA, step 0.1 mA. |
| ADC profile | Siemens | Choices: Siemens, Allen-Bradley, Beckhoff EL3052, Mitsubishi FX5-4AD, Omron CP1W-AD041, Schneider Modicon X80 BMXAMI0810, or Custom. Fixed profiles are module-specific. |
| Custom maximum counts | 5000 | Used only for Custom; can be changed to any finite positive integer. The field is hidden for either fixed profile and retains its value. |
The pure API calculate4To20mA(lrl, url, current, profile, customMaxCounts) is separate from the UI slider and accepts finite numeric LRL, URL, and current inputs outside the slider bounds when URL exceeds LRL and all calculated outputs remain finite. The UI does not allow arbitrary finite current values: its slider is restricted to 0-24 mA.
At wide screen sizes, the calculator keeps Signal Inputs in a narrow left column. In the remaining width, Current Signal and the Signal Range indicator appear first, with Results in a row directly below them. Download PDF occupies its own full-width row underneath. The layout stacks on smaller screens.
Long helper paragraphs and the automatically injected PLC scaling note are not rendered in the calculator UI. Explanatory copy about calculations, units, profile assumptions, and diagnostic bands is maintained in the Markdown sections. Required form labels, dynamic error/status messages, result names, and the signal legend remain in the UI. PDF calculation assumptions and warnings may remain as report content.
Engineering unit selection
The Engineering Unit dropdown is a single list of all supported units, sorted alphabetically. It includes pressure (absolute and gauge variants), temperature, length, density, mass flow, time, viscosity, velocity, volumetric and gas volumetric flow, volume, mass, power, area, and dimensionless ratio units. Legacy aliases are not offered.
Changing units does not convert LRL or URL; it changes only their displayed unit label. Enter the range values in the selected unit. Both range inputs and PV share the currently selected engineering unit.
Scaling and precision
Let $I$ be current in mA and $C_{max}$ the selected profile maximum:
The fraction is not clamped. PV and span are displayed to up to six decimal places. The calculator displays counts as an integer rounded to the nearest integer, with ties away from zero. The PDF records both raw and rounded counts and expresses LRL, URL, and PV in the selected unit.
Fixed profiles use the following full-scale PLC count representations:
| ADC profile | Maximum PLC counts | Example module |
|---|---|---|
| Siemens | 27648 | S7-1200 |
| Allen-Bradley | 32767 | ControlLogix 1756 |
| Beckhoff EL3052 | 32767 | EL3052 process-data scale; physical ADC resolution is 12 bit. |
| Mitsubishi FX5-4AD | 32000 | FX5-4AD |
| Omron CP1W-AD041 | 6000 | CP1W-AD041 |
| Schneider Modicon X80 BMXAMI0810 | 10000 | BMXAMI0810 |
Manufacturer documentation references include Siemens, Rockwell Automation, Beckhoff, Mitsubishi Electric, Omron, and Schneider Electric. Verify the exact module, channel range, and PLC data representation against the installed hardware and its configuration; the listed profiles are not universal manufacturer defaults.
For Custom, the API accepts the custom maximum as its fifth argument, customMaxCounts; the page defaults this field to 5000. Counts use that maximum in the same formula as fixed profiles. With a maximum of 10000, the raw counts at 4, 12, and 20 mA are 0, 5000, and 10000 respectively. The calculation result and PDF include the selected profile and maximum.
Signal-range classifications and source basis
The calculator currently classifies current as follows. These are the app's exact rules, including endpoint inclusivity:
| Current | Displayed state |
|---|---|
| $I = 0$ mA | Dead circuit / fault |
| $0 < I \leq 3.6$ mA | Sensor downscale fault |
| $3.6 < I < 4$ mA | Below standard range |
| $4 \leq I \leq 20$ mA | Standard operating range |
| $20 < I < 21$ mA | Above standard range |
| $I \geq 21$ mA | Sensor upscale fault |
The source reference explicitly publishes 0.00 mA = Dead Circuit / Fault, 3.60 mA = Sensor Downscale Fault, 4-20 mA = Standard linear operating range, and 21.00 mA = Sensor Upscale Fault. These are the source's stated anchors. The classifications in the gaps, plus the exact inclusive/exclusive handling shown above, are the app's inferred rules for making the bar contiguous; the source does not specify these intermediate interval boundaries.
The source describes itself as educational/reference material and cautions that equipment manuals may specify different device-specific ranges. These labels are not a claim of standards compliance or a definitive diagnosis of a real loop. Consult the applicable transmitter and input-module documentation.
Validation and export
LRL, URL, and current must be finite numbers, and URL must be greater than LRL. The selected ADC profile must be supported. For Custom, the custom maximum must be finite, positive, and an integer; invalid input suppresses the displayed results. PDF export requires the page's jsPDF and AutoTable libraries and includes the selected quantity and unit, values, profile and maximum, results, and provisional diagnostic warning.
Frequently Asked Questions
Which engineering quantities and units can I select?
Choose the engineering unit from the single alphabetically sorted dropdown, which lists all supported units.
Are the range values converted when I change units?
No. Changing the unit changes only its label; the LRL and URL numbers remain unchanged. Enter both range values in the selected unit. LRL, URL, and PV always use that unit.
What happens to my range when I switch quantities?
LRL, URL, and the selected unit stay as entered; changing the unit does not convert the values.
Can I enter any current in the page?
The page slider is limited to 0-24 mA, changes in 0.1 mA steps, and starts at 12 mA. Double-click it to return to 12 mA. The separately exposed pure calculation API accepts broader finite numeric inputs outside the slider's range, provided the range is valid and the result remains finite.
Does the calculator clamp values outside 4-20 mA?
No. The calculation extrapolates linearly below 4 mA and above 20 mA. For example, current above 20 mA can produce a PV above URL, span above 100%, and counts above the selected profile maximum.
Why does the PDF show raw as well as rounded PLC counts?
The calculator result shows only the rounded count. The PDF also includes raw counts to preserve the full result of the selected profile formula; its integer count is rounded to the nearest integer, with exact half values rounded away from zero. At 21 mA with Allen-Bradley selected, raw counts are 34814.9375 and the integer count is 34815.
Which ADC profiles can I choose, and do they detect my PLC configuration?
The choices are Siemens, Allen-Bradley, Beckhoff EL3052, Mitsubishi FX5-4AD, Omron CP1W-AD041, Schneider Modicon X80 BMXAMI0810, and Custom. The fixed profiles do not detect your PLC configuration and represent only the named module scales. Custom starts at 5000 counts; you can change it to any finite positive integer. Actual modules may use different raw ranges or scaling; check the specific module configuration.
What results should I expect for a custom maximum of 10000?
The raw counts are 0 at 4 mA, 5000 at 12 mA, and 10000 at 20 mA. The selected profile and maximum are included in the result and PDF.
Are the diagnostic bands verified NAMUR NE 43 limits?
The bar classifies 0 mA as Dead circuit / fault; positive current through 3.6 mA as Sensor downscale fault; current above 3.6 and below 4 mA as Below standard range; 4-20 mA as Standard operating range; current above 20 and below 21 mA as Above standard range; and 21 mA or higher as Sensor upscale fault. The source reference explicitly publishes the 0.00, 3.60, 4-20, and 21.00 mA anchors. The app defines the contiguous intervals and exact endpoint rules between them; the source does not specify those intermediate interval boundaries. Its guidance is educational/reference, not a diagnosis or claim of standards compliance. Equipment manuals may specify different device-specific ranges, so consult the applicable documentation.
Why are results unavailable?
LRL, URL, and current must be finite numbers, URL must be greater than LRL, and a supported ADC profile must be selected. For Custom, the maximum must also be entered as a finite positive integer. Invalid inputs suppress the displayed results.
What does the signal-range indicator show?
It marks the current in one of the six classifications listed above. The segmented indicator is a classification aid, not a device-specific diagnostic or a claim of standards compliance. See the source basis and interval rules in the calculator information and reference sections below.