Skip to content

Nernst Equation Calculator: Cell Membrane Potential

Free Nernst equation calculator: finds a cell's equilibrium potential for one ion from its charge, temperature, and concentration inside and outside the cell.

Nernst Equation Calculator

Calculate the electric potential in a cell using the Nernst equation.

Input Parameters

K

Temperature conversion: 0°C = 273.15K, 25°C = 298.15K, 37°C = 310.15K

mM
mM

Result

Cell Potential:
66.60mV

What is the Nernst Equation?

The Nernst equation relates the reduction potential of a cell to the standard cell potential, temperature, and the reaction quotient.

Equation Visualization

Nernst Equation
E = E° + (RT/zF) × ln([ion]out/[ion]in)

Variables

  • E: Cell Potential (mV)
  • E°: Standard Potential (0 mV)
  • R: Gas Constant (8.314462618 J/(mol·K))
  • T: Temperature (310.15 K)
  • z: Ion Charge (1)
  • F: Faraday Constant (96485.332 C/mol)
  • [ion]out: Outside Concentration (145 mM)
  • [ion]in: Inside Concentration (12 mM)

Calculation

RT/zF = (8.314462618 × 310.15) / (1 × 96485.332) = 0.026727

ln([ion]out/[ion]in) = ln(145/12) = 2.491827

(RT/zF) × ln([ion]out/[ion]in) = 0.026727 × 2.491827 × 1000 = 66.60 mV

E = 0 + 66.60 = 66.60 mV

Cell Membrane Diagram

Inside Cell
[12 mM]
+
Outside Cell
[145 mM]
+
+
+
+
+
Arrow indicates predominant ion flow direction

Interpretation

A positive potential indicates that ions tend to flow out of the cell.

Loading calculator...
📚

Documentation

What Is the Nernst Equation Calculator?

The Nernst equation calculator finds the equilibrium potential of a single ion across a cell membrane, or the potential of an electrochemical cell. It uses the ion's charge, the temperature, and the ion's concentration on each side of the membrane. The result is a voltage, usually shown in millivolts (mV).

The equation is named after German chemist Walther Nernst, who described it in 1889. In biology it explains why cells hold an electrical charge across their membrane, which is essential for nerve signals, muscle contraction, and other processes that depend on ion movement.

The Nernst Equation Formula

E=ERTzFln([C]inside[C]outside)E = E^{\circ} - \frac{RT}{zF} \ln\left(\frac{[C]_{\text{inside}}}{[C]_{\text{outside}}}\right)

Where:

  • EE = the cell or membrane potential, in volts
  • EE^{\circ} = the standard potential, usually taken as 0 for a biological membrane
  • RR = the gas constant, 8.314 J·mol⁻¹·K⁻¹
  • TT = temperature in kelvin
  • zz = the ion's charge (its valence), such as +1 for Na⁺ or -1 for Cl⁻
  • FF = the Faraday constant, 96,485 C·mol⁻¹
  • [C]inside[C]_{\text{inside}}, [C]outside[C]_{\text{outside}} = the ion's concentration inside and outside the cell

For biology, EE^{\circ} is usually set to 0 and the result is converted to millivolts. Swapping the ratio to outside-over-inside removes the leading minus sign:

E=RTzFln([C]outside[C]inside)×1000 mVE = \frac{RT}{zF} \ln\left(\frac{[C]_{\text{outside}}}{[C]_{\text{inside}}}\right) \times 1000 \text{ mV}

The variables, explained

Temperature (T). Measured in kelvin, where K = °C + 273.15. Body temperature is 310.15 K (37 °C). Room temperature is 298.15 K (25 °C).

Ion charge (z). Sodium (Na⁺) and potassium (K⁺) are +1. Calcium (Ca²⁺) and magnesium (Mg²⁺) are +2. Chloride (Cl⁻) is -1.

Concentrations. The amount of the ion on each side of the membrane, usually in millimolar (mM). Both values must use the same unit and both must be greater than zero.

Gas constant and Faraday constant. Fixed physical constants: R = 8.314 J/(mol·K) and F = 96,485 C/mol.

How to Calculate Membrane Potential

  1. Enter the temperature in kelvin. The default is body temperature, 310.15 K.
  2. Enter the ion's charge, such as 1 for potassium or -1 for chloride.
  3. Enter the concentration outside the cell, in mM.
  4. Enter the concentration inside the cell, in mM.
  5. Read the result in millivolts, shown automatically as the values change.

Worked Example: Potassium

Potassium (K⁺) sits at about 5 mM outside a typical cell and 140 mM inside. At body temperature, with charge z = +1:

E=8.314×310.151×96,485×ln(5140)×1000E = \frac{8.314 \times 310.15}{1 \times 96{,}485} \times \ln\left(\frac{5}{140}\right) \times 1000

E0.02673 V×(3.332)×100089.1 mVE \approx 0.02673 \text{ V} \times (-3.332) \times 1000 \approx -89.1 \text{ mV}

The calculator itself uses more precise physical constants and returns -89.06 mV for these inputs. The result is negative because the concentration is much higher inside the cell than outside, so the natural log term is negative.

Typical Ion Potentials at Body Temperature

These are commonly cited textbook concentrations for a mammalian cell, all calculated at 310.15 K:

IonCharge (z)Outside (mM)Inside (mM)Potential
K⁺+15140-89.06 mV
Na⁺+114512+66.60 mV
Ca²⁺+21.50.0001+128.50 mV
Cl⁻-11164-90.00 mV

How Temperature Affects the Result

Because temperature appears directly in the equation, a warmer system produces a larger potential (in either direction). Using potassium's values (5 mM outside, 140 mM inside, z = +1):

  • At 25 °C (298.15 K): -85.61 mV
  • At 37 °C (310.15 K): -89.06 mV
  • At 42 °C (315.15 K): -90.49 mV

Each 10 °C rise increases the size of the potential by roughly 3%, since the equation scales directly with absolute temperature.

What a Positive or Negative Result Means

  • A positive result means the ion tends to move out of the cell.
  • A negative result means the ion tends to move into the cell.
  • A result of zero means the ion is at equilibrium, with no net driving force in either direction.

The size of the number, not just its sign, matters too: a larger magnitude means a stronger electrochemical pull on that ion.

Where the Nernst Equation Is Used

In biology, it is used to work out the resting and action potentials of neurons, the electrical behavior of heart cells, and ion movement in muscle and kidney tissue. Because real cells respond to several ions at once rather than one in isolation, researchers studying overall resting membrane potential often extend the Nernst equation using the Goldman-Hodgkin-Katz equation, which accounts for multiple ions and their different permeabilities.

In chemistry and engineering, the same equation describes the voltage produced by batteries and fuel cells, predicts metal corrosion, and underlies ion-selective sensors used to measure water and soil quality.

A Short History

Walther Nernst formulated the equation in 1889 while working on electrochemical cells at the University of Leipzig. He won the 1920 Nobel Prize in Chemistry for related work in thermochemistry. In the 1940s and 1950s, Alan Hodgkin and Andrew Huxley applied Nernst's principles to nerve cells, work that led to their own Nobel Prize and to the Goldman-Hodgkin-Katz equation used in neuroscience today.

Frequently Asked Questions

What does the Nernst equation calculate? It calculates the equilibrium potential of a single ion across a membrane, or the potential of an electrochemical cell, based on concentration, charge, and temperature.

What units does the calculator use? Temperature is in kelvin, concentrations are typically in millimolar, and the result is in millivolts. Any concentration unit works as long as both sides use the same one.

What happens when the two concentrations are equal? The ratio of the concentrations becomes 1, the natural log of 1 is 0, and the calculated potential is 0 mV. This is electrochemical equilibrium.

Why is the potassium potential negative but the sodium potential positive? Because potassium is far more concentrated inside the cell than outside, while sodium is more concentrated outside than inside. The sign of the ratio inside the log term determines the sign of the result.

How is the Nernst equation different from the Goldman-Hodgkin-Katz equation? The Nernst equation covers one ion at a time. The Goldman-Hodgkin-Katz equation combines several ions, weighted by how easily each crosses the membrane, to estimate a cell's actual resting potential.

Does the Nernst equation account for active transport? No. It describes passive movement down an electrochemical gradient only. Pumps that use energy (such as ATP) to move ions against their gradient are not part of this equation.

References

  1. Nernst, W. (1889). "Die elektromotorische Wirksamkeit der Ionen." Zeitschrift für Physikalische Chemie, 4, 129-181.
  2. Hille, B. (2001). Ion Channels of Excitable Membranes (3rd ed.). Sinauer Associates.
  3. Hodgkin, A. L., & Huxley, A. F. (1952). "A quantitative description of membrane current and its application to conduction and excitation in nerve." The Journal of Physiology, 117(4), 500-544.
  4. Goldman, D. E. (1943). "Potential, impedance, and rectification in membranes." The Journal of General Physiology, 27(1), 37-60.