Tools

Calculator

Analog Scaling Calculator

Scale PLC raw input values into engineering units using the standard linear interpolation formula. Works for 4-20 mA, 0-10 V, and vendor-specific raw ranges.

Formula-backed output

The calculation logic is isolated in a typed module so it can be reused by future API routes, tests, and downloadable references.

Analog Scaling Inputs

Use raw counts and engineering limits from the card or PLC tag.

Result

Linear interpolation result for the current values.

Scaled value
80.61
In range80.606% span
Formula
EU = EULow + ((Raw - RawLow) / (RawHigh - RawLow)) * (EUHigh - EULow)

Engineering note

Confirm raw ranges against the exact card, module configuration, and signal type before using scaled values for commissioning decisions. Different PLC platforms use different defaults and overrange behavior.