LJPcalc

Liquid Junction Potential Calculator 
by Scott Harden and Doriano Brogioli
Loading...
An unhandled error has occurred. Reload 🗙

Calculation Method

LJPcalc calculates the liquid junction potential according to the stationary Nernst-Planck equation which is typically regarded as superior to the simpler Henderson equation used by most commercial LJP calculators (Marino et al., 2014). Both equations produce similar values, but the Henderson equation under-estimates the junction potential as ion concentrations increase (especially when solutions contain polyvalent ions). For these reasons the LJP reported by LJPcalc may be slightly greater in magnitude than that reported by other LJP calculators.

Final Concentrations

LJPcalc slightly adjusts ion concentrations as it calculates LJP. LJPcalc works to identify a solution that minimizes the difference between the adjusted concentrations and the user-provided concentrations. Except for the penultimate ion, only concentrations on side B are adjusted while calculating LJP. A solution is considered found when all adjusted side B concentrations are so close to the user-provided concentrations that the difference no longer has a significant influence on LJP. Note that the side A or side B concentration for the final and penultimate ions (respectively) may be adjusted to achieve electroneutrality.

Ion Order

LJPcalc automatically sorts the ions into an ideal order before calculating LJP. This is why the ions listed in the results table may appear in a different order than originally provided. The ion with the largest concentration difference is moved to the final position, and its side A concentration may be adjusted as needed to achieve electroneutrality. The remaining ion with the largest side B concentration is moved to the penultimate position, and its side B concentration is be adjusted as needed to achieve electroneutrality. Taken together, the ion-order-specific adjustments made to side B concentrations during the solving process is why the calculated LJP often differs by a few microvolts when the original list of ions is arranged in a different order.

Calculation Time

Some ion sets are more difficult to analyze than others and may take longer to arrive at a solution. Users experiencing long calculation times are encouraged to re-sort the ion list randomly and try again. If the calculation runs for a very long time without producing a solution, consider omitting ions with the smallest concentrations since they do not contribute greatly to LJP anyway. Although I am not aware of any ion sets that LJPcalc cannot solve, if you think you have found one you are invited to share via email swharden@gmail.com or by creating a GitHub issue and include a copy of the ion table you are trying to solve including the temperature.

Ion Mobility References

LJPcalc uses ion mobilities collected from a variety of sources. One of the largest and most authoritative sources of ion mobilities was on a "Electrophysiological Software" webpage maintained by the University of New South Wales which unfortunately was taken down in 2023. Luckily an archived version of this page from 2022 has been preserved and is still accessible. This page documents each of the ion mobilities (with references) used by JPCalc and JPCalcW (commercial software by Peter H. Barry sold directly to users, then later provided with ClampFit). Additional ion mobilities were sourced from the CRC Handbook of Chemistry and Physics (W. H. Haynes, CRC Press), the primary source for ion mobilities used by JLJP as described in Marino et al., 2014.

Uncharged Molecules

Molecules with no charge do not influence LJP. Common examples of molecules with no charge include glucose, dextrose, sucrose, and phosphocreatine. If these molecules are present in your solutions, they may be omitted from the list of ions when calculating LJP.

Buffers and Chelators

EGTA: Calcium chelators like EGTA bind calcium, lowering the concentration of free charged EGTA and calcium. Since only charged molecules influence LJP, the chelated EGTA and calcium can be removed from the LJP calculations. For example, consider a solution with 5 mM EGTA and 2 mM Ca2+ at pH 7.4. At this pH virtually all EGTA is in the form EGTA2-, and it will bind all 2 mM of available Ca2+, bringing free Ca2+ concentration effectively to zero, and leaving 3 mM EGTA2- in solution.

HEPES: Similarly, pH buffers must be considered for their ability to affect the milieu of ions in a solution. As a zwitterion, free HEPES does not have a net charge, but its dipolarity allows it to donate a proton to bases in solution, converting a neutral HEPES molecule into its conjugate base, resulting in a HEPES molecule with a negative charge. For example, consider a solution with 7 mM HEPES and 5 mM NaOH at pH 7.4. The NaOH will disassociate into 5 mM Na1+ and 5 mM OH1-, then the uncharged HEPES will protonate the 5 mM OH1-, transforming 5 mM of the HEPES into the HEPES-1 form. The final solution is expected to contain 5 mM HEPES1-, 5 mM Na1+, in addition to 2 mM uncharged HEPES and 5 mM H2O, neither of which contribute to LJP because they have no charge.

Correcting for LJP

Electrophysiology experiments using pipettes to measure cells frequently record data which have a persistent voltage error due to the amplifier being "zeroed" when the pipette is in the path while a LJP is present. After the pipette is inserted into the cell the LJP is eliminated, but the voltage offset is still present in the recordings.

LJP must firsst be determined by calculating it mathematically (using software like LJPcalc) or estimating it experimentally (which can be difficult, see Barry and Diamond, 1970). It is convention in electrophysiology experiments to refer to LJP as that of the bath relative to the pipette.

LJP can be subtracted from the reading of the amplifier to yield the actual voltage across a cell membrane. For example, if the amplifier reads -70 mV but LJP is +15 mV, the cell is actually at -85 mV.

Citing LJPcalc

If you enjoy LJPcalc, consider citing it by name: "Liquid junction potential was calculated according to the stationary Nernst–Planck equation (Marino et al., 2014) using LJPcalc (RRID:SCR_025044)."

Search "LJPcalc" on Google Scholar to see publications that cite LJPcalc.