# Zero-current membrane potential from ion permeabilities (Goldman–Hodgkin–Katz)

`physio_ghk_potential` · Runs: On the server · Level: Checked against a reference: exact arithmetic: Python fractions and decimal on the recorded equations, written before the engine

Works out the zero-current membrane potential from potassium, sodium and chloride permeabilities.

Research and education software; not medical advice, and not for diagnosis or treatment decisions. It computes from the inputs it receives. It does not check the person's data, design or sample.

[Catalogue](https://www.drybench.com/mcp/catalogue) / [Physiology](https://www.drybench.com/mcp/catalogue/physiology)

[Ask your assistant](https://www.drybench.com/mcp/connect)

```cite
Zero-current membrane potential from ion permeabilities (Goldman–Hodgkin–Katz) (physio_ghk_potential), Drybench MCP server 1.0.0; physio-ghk-potential@2.0.0 (Checked against a reference); https://www.drybench.com/mcp/tools/physio-ghk-potential
```

## What it is

Returns the zero-current membrane potential, inside relative to outside, from K⁺, Na⁺ and Cl⁻ permeabilities. Use when several ions permeate (the Goldman–Hodgkin–Katz voltage equation). Not for one ion's equilibrium potential: use \`physio\_nernst\_potential\`. K⁺, Na⁺ and Cl⁻ only; one permeability unit per call; it approximates the resting potential only where pump and other non-passive currents are negligible, which you judge.

Field: [In vivo and physiology](https://www.drybench.com/mcp/catalogue/physiology).

## What it does

**You give**

- `temperature` (required): The temperature, in K or degC, above 0 K. Never assumed. Must be above 0 K.
- `outputUnit` (required): The unit of the potentials returned.
- `potassium`: K⁺: its permeability and its concentrations inside and outside. Optional.
- `sodium`: Na⁺: its permeability and its concentrations inside and outside. Optional.
- `chloride`: Cl⁻: its permeability and its concentrations inside and outside. Optional.

No request is recorded for this tool.

**Limits**

- Research arithmetic for physiology and animal research on values you supply; not a dosing, clinical, veterinary, animal-welfare or diagnostic authority, and it does not decide how many animals to breed or use.
- Membrane potential arithmetic on the concentrations, permeabilities, valence and temperature you supply, inside relative to outside, with concentrations standing in for activities.
- A Nernst potential is an equilibrium potential; a Goldman–Hodgkin–Katz potential is the zero-current potential for K⁺, Na⁺ and Cl⁻ under the equation's assumptions of a constant field and independent ion movement.
- Neither is a measured or resting potential.
- Research and education software: not for diagnosis or treatment decisions.
- Every computed number a reply returns, other than an integer or an exact decimal, is rounded once to 12 significant figures: to the nearest, a change of at most 5 × 10⁻¹² of its value, except that a lower bound is rounded down and an upper bound up, a change of less than 1 × 10⁻¹¹; the method computes, and decides any pass or fail, on the unrounded value.

**It will not answer when**

- the permeability-weighted sum on one side is zero: the logarithm is undefined; decided exactly on the stated values, a sum being zero only when every one of its terms has a permeability or a concentration of exactly 0.
- a permeability-weighted term P·c with no zero factor, a weighted sum, or the ratio of the two sums is not finite or below the smallest normal double (Drybench ruling, 11 November 2026, item 1); also RT/F or the potential in V, before the output unit's factor, or a value served, that is not finite or is not zero and below the smallest normal double in magnitude.

### Every input, with its units

5 inputs

- `temperature` (required): The temperature, in K or degC, above 0 K. Never assumed. Must be above 0 K.
- `outputUnit` (required): The unit of the potentials returned.
- `potassium`: K⁺: its permeability and its concentrations inside and outside. Optional.
- `sodium`: Na⁺: its permeability and its concentrations inside and outside. Optional.
- `chloride`: Cl⁻: its permeability and its concentrations inside and outside. Optional.

### Every refusal, with its code

2 refusals

| Code | When |
| --- | --- |
| `NO_PERMEANT_ION_ON_ONE_SIDE` | the permeability-weighted sum on one side is zero: the logarithm is undefined; decided exactly on the stated values, a sum being zero only when every one of its terms has a permeability or a concentration of exactly 0. |
| `RESULT_OUTSIDE_DOUBLE_RANGE` | a permeability-weighted term P·c with no zero factor, a weighted sum, or the ratio of the two sums is not finite or below the smallest normal double (Drybench ruling, 11 November 2026, item 1); also RT/F or the potential in V, before the output unit's factor, or a value served, that is not finite or is not zero and below the smallest normal double in magnitude. |

## The calculation

The method's equations, constants and worked example.

### [Zero-current membrane potential from ion permeabilities and concentrations (Goldman–Hodgkin–Katz)](https://www.drybench.com/methods/m/physio-ghk-potential/2.0.0)

`physio-ghk-potential@2.0.0`

**Equation 1**

```text
V_T = RT/F
x = (P_K[K]o + P_Na[Na]o + P_Cl[Cl]i)/(P_K[K]i + P_Na[Na]i + P_Cl[Cl]o)
V = V_T·ln x
an ion not given contributes no term
```

| Symbol | Meaning |
| --- | --- |
| `V` | zero-current potential, inside relative to outside; J/C is the volt (SI Table 4); returned as potential in outputUnit, V |
| `V_T` | thermal voltage RT/F, returned as thermalVoltage in outputUnit, V |
| `R` | molar gas constant, J/(mol·K) |
| `T` | thermodynamic temperature (argument temperature, in K or converted from degC by the Celsius offset), K |
| `F` | Faraday constant, C/mol |
| `P_K` | K⁺ permeability (argument potassium.permeability); one unit for every ion in a call, absolute (cm/s, m/s) or relative (1, or % taken as its number), used as stated and never converted, since the scale cancels, m/s |
| `P_Na` | Na⁺ permeability, in the call's one permeability unit, m/s |
| `P_Cl` | Cl⁻ permeability, in the call's one permeability unit, m/s |
| `[K]o` | K⁺ concentration outside the cell (argument potassium.outsideConcentration; likewise the others), standing in for its activity; every concentration is taken in one unit, so the unit cancels in x, M |
| `[K]i` | K⁺ concentration inside the cell, M |
| `[Na]o` | Na⁺ concentration outside the cell, M |
| `[Na]i` | Na⁺ concentration inside the cell, M |
| `[Cl]o` | Cl⁻ concentration outside the cell, M |
| `[Cl]i` | Cl⁻ concentration inside the cell, M |
| `x` | the logarithm's argument: the outside-weighted sum over the inside-weighted sum (Cl⁻ with its sides swapped), a pure number |

Source 1.

**Equation 2**

```text
R = N_A·k = 8.314 462 618 153 24 J/(mol·K), exact
CODATA 2018 prints 8.314 462 618... (exact). The printed digits agree with the exact decimal product N_A·k = 8.31446261815324
the code holds the double product N_A·k, which is the nearest double to it
```

| Symbol | Meaning |
| --- | --- |
| `R` | molar gas constant, J/(mol·K) |

Source 2.

**Equation 3**

```text
F = N_A·e = 96 485.332 123 310 018 4 C/mol, exact
CODATA 2018 prints 96 485.332 12... (exact). The printed digits agree with the exact decimal product N_A·e = 96485.3321233100184
the code holds the double product N_A·e, 96485.33212331001, which is the nearest double to it
```

| Symbol | Meaning |
| --- | --- |
| `F` | Faraday constant, C/mol |

Source 2.

| Constant | Value | From |
| --- | --- | --- |
| molar gas constant, N\_A·k, exact: 6.022 140 76 × 10²³ mol⁻¹ × 1.380 649 × 10⁻²³ J/K `R` | 8.31446261815324 J/(mol·K) | Source 3 |
| Faraday constant, N\_A·e, exact: 6.022 140 76 × 10²³ mol⁻¹ × 1.602 176 634 × 10⁻¹⁹ C = 96 485.332 123 310 018 4 C/mol; the value below is the nearest double, as computed `F` | 96485.33212331001 C/mol | Source 3 |
| Celsius offset: T/K = t/°C + 273.15 for a temperature given in degC `°C` | 273.15 K | Source 3 |

**Conventions**

- MEMBRANE\_POTENTIAL\_SIGN = inside relative to outside: Fixed by the method; not an argument. Potentials are given as the inside relative to the outside (V\_in − V\_out): a positive value means the inside is positive relative to the outside. The result's convention field carries the same value.

A definition, not a model: the equation states what the quantity means. A different convention gives a different number.

**Worked example**

Worked example: one case of physio-ghk-potential\@2.0.0, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.

**Inputs**

- potassium.permeability = 1
- potassium.insideConcentration = 140 mM
- potassium.outsideConcentration = 5 mM
- sodium.permeability = 0.04
- sodium.insideConcentration = 12 mM
- sodium.outsideConcentration = 145 mM
- chloride.permeability = 0.45
- chloride.insideConcentration = 10 mM
- chloride.outsideConcentration = 110 mM
- temperature = 37 degC
- outputUnit = mV

**Steps**

1. T = 310.15 K, from temperature; by equation 1.
2. thermalVoltage = 26.726659 mV, from T; by equation 1; gives thermalVoltage.
3. numerator = 15.3 mM, from potassium.permeability, potassium.outsideConcentration, sodium.permeability, sodium.outsideConcentration, chloride.permeability, chloride.insideConcentration; by equation 1.
4. denominator = 189.98 mM, from potassium.permeability, potassium.insideConcentration, sodium.permeability, sodium.insideConcentration, chloride.permeability, chloride.outsideConcentration; by equation 1.
5. ratio = 0.080534793, from numerator, denominator; by equation 1.
6. lnRatio = -2.519066, from ratio; by equation 1.
7. V = -67.326218 mV, from thermalVoltage, lnRatio; by equation 1; gives potential.

The working, as the case writes it:

```text
num = 5 + 0.04 × 145 + 0.45 × 10 = 15.3
den = 140 + 0.04 × 12 + 0.45 × 110 = 189.98
26.72666 × ln(15.3/189.98) = 26.72666 × (−2.519066) = −67.3262 mV
```

**Answer**

- thermalVoltage = 26.726659 mV
- potential = -67.326218 mV

Where these values came from: our own exact-arithmetic script and a hand-worked case; the second implementation's run(arguments).

At build the tool returned this answer within the tolerance the file states: potentials and thermal voltages relative 1e-12 (absolute 1e-312 below 1e-300, in each value's unit); conventions, statuses and codes exact; where one path carries more than one unit, or a logarithmic unit, absolute at the relative value times the smallest nonzero magnitude under it (the largest, for a logarithm).

Who worked this case: not recorded.

## Sources

1. Nikolaev DM, Mironov VN, Shtyrov AA, Kvashnin ID, Mereshchenko AS et al., Fluorescence Imaging of Cell Membrane Potential: From Relative Changes to Absolute Values, Int J Mol Sci 24(3):2435 (2023) Used for: Zero-current membrane potential from ion permeabilities and concentrations (Goldman–Hodgkin–Katz). At: equation 9 and the sentence after it (P\_X the permeability of ion X); its reference \[122\], section 5.3. **Read in full, 11 November 2026**
2. NIST, Fundamental Physical Constants — Complete Listing, 2018 CODATA adjustment Used for: Zero-current membrane potential from ion permeabilities and concentrations (Goldman–Hodgkin–Katz). At: section the line "molar gas constant 8.314 462 618... (exact) J mol^-1 K^-1"; section the line "Faraday constant 96 485.332 12... (exact) C mol^-1". **Read in full, 14 November 2026**
3. BIPM, The International System of Units (SI), 9th edition, 2019 (complete brochure, 2026 update) Used for: Zero-current membrane potential from ion permeabilities and concentrations (Goldman–Hodgkin–Katz). At: table 1 (k and N\_A exact), section 2.2; table 1 (e = 1.602 176 634 × 10⁻¹⁹ C and N\_A exact), section 2.2; section 2.3.1 (t/°C = T/K − 273.15). **Read in full, 10 November 2026**

Read by AI-assisted sessions. No person has checked these readings.

## How it is checked

**Level:** Checked against a reference.

**Checked against:** Our own exact-arithmetic script and a hand-worked case.

**Cases:** No case set is linked to this version.

**Not checked:** Goldman (1943) and Hodgkin and Katz (1949), the primaries, unread (the first is CC BY-NC-SA, the second not open); divalent ions and other monovalent ions; pump currents; activity coefficients; the constant-field and independence assumptions; the sign convention, inferred from the equations' form.

No independent scientist has yet reviewed this.

### Changes to its methods

1 change

- [14 November 2026, physio-ghk-potential\@2.0.0](https://www.drybench.com/methods/corrections#2026-11-14-physio-ghk-potential200-1): In 2.0.0 each value in V is range-tested before the output unit's factor (the kit's toOutputUnit; the CTO's third raising batch, item 2(c)), and, because from 2.0.0 the temperature and the output unit also reach RESULT\_OUTSIDE\_DOUBLE\_RANGE, its next step names them (the CSO's memo -3 wording). The values served are unchanged wherever they were computed from normal steps.
