Skip to content

Main content

Reference Electrode Offset Sign Tool

Return the explicit measured-minus-reference potential and sign; no reference electrode standard potential is supplied.

Loading tool…

Description

Return difference = measuredPotential-suppliedReferencePotential and sign = Math.sign(difference), using one compatible potential unit and reference basis.

Electrochemical potentials require a common reference electrode, unit and sign convention. Endpoint differences and scan partitions are record operations; changing the reference scale or correcting drift needs explicit supplied offsets.

Return difference = measuredPotential-suppliedReferencePotential and sign = Math.sign(difference), using one compatible potential unit and reference basis.

When to use this tool

Use Reference Electrode Offset Sign when checking a supplied potential reference or scan-boundary convention.

How to use the tool and how it works

  1. Enter measuredPotential, suppliedReferencePotential. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read difference, sign. Use the output convention below.

Return difference = measuredPotential-suppliedReferencePotential and sign = Math.sign(difference), using one compatible potential unit and reference basis.1

Input fieldMeaning and unitsAccepted input
measuredPotentialMeasured PotentialRequired. Finite number.
suppliedReferencePotentialSupplied Reference PotentialRequired. Finite number.
Output fieldInterpretationReturned shape
differenceDifferenceRequired. Finite number.
signSignRequired. Safe integer.
json
{
  "input": {
    "measuredPotential": 0.2,
    "suppliedReferencePotential": 0.1
  },
  "output": {
    "difference": 0.1,
    "sign": 1
  }
}

Limitations and assumptions

  • Exact equality returns zero; no tolerance, reference-electrode selection or electrochemical significance is inferred.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

Use calibrated references and full recorded waveforms when drift, reversal detection, peak fitting or experimental interpretation matters.

References

  1. Calculation and input contract: electrochemistry/reference-electrode-offset-sign — tool.io

Similar or alternative tools