4–20 mA and 0–10 V scaling
Convert a 4–20 mA or 0–10 V signal to the engineering value and the input card raw value, and back, with free ranges. The calculator is free and shows the formula, the working and a numerical example, with no sign-up.
📐 Formula and steps shown. Sources and limits: How we calculate
Results
Indicative results: always verify with a qualified technician and the applicable standards. Legal notice
Step-by-step calculation with your values
Formulas
Signal → value
p = (s - s₀)/(s₁ - s₀) · 100v = e₀ + p/100 (e₁ - e₀)raw = r₀ + p/100 (r₁ - r₀)Value → signal
p = (v - e₀)/(e₁ - e₀) · 100s = s₀ + p/100 (s₁ - s₀)raw = r₀ + p/100 (r₁ - r₀)Raw → value
p = (raw - r₀)/(r₁ - r₀) · 100v = e₀ + p/100 (e₁ - e₀)s = s₀ + p/100 (s₁ - s₀)How it is calculated
Scaling is a linear proportion: compute the fraction of the range, p = (s − s0)/(s1 − s0), and apply it to the other ranges: value = e0 + p·(e1 − e0), raw = r0 + p·(r1 − r0). Every range is a free field: the raw full scale depends on the input card (common values are 0–27648, 0–32767, 0–4095 for 12 bit or 0–65535 for 16 bit; check your card's manual). With 4–20 mA a signal below about 3.8 mA usually means a broken wire or a faulty sensor.
Results are indicative: for real projects and installations always check applicable standards and a qualified professional.
Example (Signal → value)
With the values: Signal minimum (e.g. 4 mA or 0 V) = 4 mA / V; Signal maximum (e.g. 20 mA or 10 V) = 20 mA / V; Engineering value at range start = 0; Engineering value at full scale = 10; Raw value at range start = 0; Raw value at full scale = 27,648; Measured signal = 12 mA / V — you get:
- Percentage of range: 50 %
- Engineering value: 5
- Raw value (counts): 13,824
✏️ Try it yourself: exercises
Solve them with the formulas above, then open the solution to check.
Exercise 1 — Signal → value
Given:
- Signal minimum (e.g. 4 mA or 0 V): 4 mA / V
- Signal maximum (e.g. 20 mA or 10 V): 20 mA / V
- Engineering value at range start: 0
- Engineering value at full scale: 15
- Raw value at range start: 0
- Raw value at full scale: 27,648
- Measured signal: 9.6 mA / V
Find: Engineering value, Raw value (counts)
Show the solution
- Percentage of range: 35 %
- Engineering value: 5.25
- Raw value (counts): 9,677
Exercise 2 — Raw → value
Given:
- Signal minimum (e.g. 4 mA or 0 V): 4 mA / V
- Signal maximum (e.g. 20 mA or 10 V): 20 mA / V
- Engineering value at range start: 0
- Engineering value at full scale: 20
- Raw value at range start: 0
- Raw value at full scale: 27,648
- Raw value (counts): 17,000
Find: Engineering value, Measured signal
Show the solution
- Percentage of range: 61.487 %
- Engineering value: 12.297
- Measured signal: 13.838 mA / V
Exercise 3 — Signal → value
Given:
- Signal minimum (e.g. 4 mA or 0 V): 4 mA / V
- Signal maximum (e.g. 20 mA or 10 V): 20 mA / V
- Engineering value at range start: 0
- Engineering value at full scale: 12
- Raw value at range start: 0
- Raw value at full scale: 27,648
- Measured signal: 6 mA / V
Find: Engineering value, Raw value (counts)
Show the solution
- Percentage of range: 12.5 %
- Engineering value: 1.5
- Raw value (counts): 3,456
📘 Worked examples with this calculator
Frequently asked questions
Which formula does the “4–20 mA and 0–10 V scaling” calculator use?
The formulas used are: p = (s - s₀)/(s₁ - s₀) · 100; v = e₀ + p/100 (e₁ - e₀); raw = r₀ + p/100 (r₁ - r₀); p = (v - e₀)/(e₁ - e₀) · 100; s = s₀ + p/100 (s₁ - s₀); p = (raw - r₀)/(r₁ - r₀) · 100. The full explanation, with units and typical values, is in the “How it is calculated” section.
Is FunConvert free?
Yes. Every converter and calculator is free, with no sign-up and nothing to install. Calculations run in your browser.