All calculators

4–20 mA & Analog Scaling Calculator

Scale 4–20 mA, voltage or raw PLC counts into engineering units. Reverse the calculation and inspect unclamped overrange.

Enter your values

Try an example

Your result

Output5 bar
Clamped result
5 bar
Position in span (%)
50

Calculated

Within the configured span.

Measured signal → fraction of span → process value
4–20 mA & Analog Scaling Calculator0%25%50%75%100%PLC INPUT5 bar12 mA0 bar → 10 bar

How this answer is calculated

These steps use your current values. Change an input to follow a different calculation.

  1. 1

    Remove the input’s lower endpoint

    (12 − 4) ÷ (20 − 4) = 0.5
  2. 2

    Apply the output span

    0.5 × (10 − 0) = 5
  3. 3

    Add the output’s lower endpoint

    0 + (5) = 5 bar
Five-point calibration table
% of spanSignal (mA)Engineering value (bar)
0%40
25%82.5
50%125
75%167.5
100%2010

How to use this on a job

Write down two known points: what the input reports at the bottom of the measuring range, and what it reports at the top. Those two pairs define the line. A vendor name by itself does not define an analog scale.

  1. 01

    Enter the low and high input values from the configured channel. They can be mA, volts or raw counts. Enter the matching engineering endpoints and their unit.

  2. 02

    Read the live value and its position along the span. The unclamped result shows what the measurement says; the clamped result shows what a display limited to the nominal range would show.

  3. 03

    Reverse the direction when planning an injection test. Enter a desired engineering value and calculate the signal or raw count that should produce it. Record the 0%, 25%, 50%, 75% and 100% points.

Work through one example

y = y₀ + (x − x₀) × (y₁ − y₀) ÷ (x₁ − x₀)

For a 4–20 mA transmitter covering 0–10 bar, 12 mA is halfway through the electrical span and therefore 5 bar. At 2 mA the line extrapolates to −1.25 bar, while a clamped display reads 0. The disagreement tells you to investigate rather than trust the display.

Before you trust the answer

Clamping an under-range measurement can hide a wiring fault as a valid zero. Keep the diagnostic status separate from the displayed value. A raw range such as 0–27648 needs confirmation for the actual module and range configuration; check its diagnostics in the manual too.

4–20 mA across a 0–10 bar transmitter

SignalSpanPressure
4 mA0%0 bar
8 mA25%2.5 bar
12 mA50%5 bar
16 mA75%7.5 bar
20 mA100%10 bar

Questions that come up on the job

Why is 12 mA 50% rather than 60%?

The useful span starts at 4 mA. Subtract 4 from the reading, then divide by the span of 16 mA: (12 − 4) ÷ 16 = 0.5. Dividing directly by 20 treats 0 mA as the zero endpoint and gives the wrong answer.

Should I clamp an out-of-range reading?

Keep the raw reading available for diagnostics. Clamping may be useful for a display or a downstream limit, but it hides how far the signal has gone out of range. The calculator shows both values so you can see that difference. Diagnose transmitter faults using its own documented current thresholds.

TRYPLC FIELD REFERENCE / 01

4–20 mA & Analog Scaling Calculator

Scale 4–20 mA, voltage or raw PLC counts into engineering units. Reverse the calculation and inspect unclamped overrange.

  • fraction = (input − low) ÷ (high − low)
  • output = engineering low + fraction × engineering span
  • 4, 8, 12, 16, 20 mA → 0, 25, 50, 75, 100%
4–20 mA & Analog Scaling Calculator0%25%50%75%100%PLC INPUT5 bar12 mA0 bar → 10 bar

How to use this on a job

Write down two known points: what the input reports at the bottom of the measuring range, and what it reports at the top. Those two pairs define the line. A vendor name by itself does not define an analog scale.

  1. 01

    Enter the low and high input values from the configured channel. They can be mA, volts or raw counts. Enter the matching engineering endpoints and their unit.

  2. 02

    Read the live value and its position along the span. The unclamped result shows what the measurement says; the clamped result shows what a display limited to the nominal range would show.

  3. 03

    Reverse the direction when planning an injection test. Enter a desired engineering value and calculate the signal or raw count that should produce it. Record the 0%, 25%, 50%, 75% and 100% points.

Work through one example

y = y₀ + (x − x₀) × (y₁ − y₀) ÷ (x₁ − x₀)

For a 4–20 mA transmitter covering 0–10 bar, 12 mA is halfway through the electrical span and therefore 5 bar. At 2 mA the line extrapolates to −1.25 bar, while a clamped display reads 0. The disagreement tells you to investigate rather than trust the display.

Before you trust the answer

Clamping an under-range measurement can hide a wiring fault as a valid zero. Keep the diagnostic status separate from the displayed value. A raw range such as 0–27648 needs confirmation for the actual module and range configuration; check its diagnostics in the manual too.

https://tryplc.com/tools/analog-scaling