Nernst Equation Calculator -- E = E0 - (RT/nF)lnQ | LazyTools
Math & Science

Nernst Equation Calculator

Calculate cell EMF at non-standard concentrations (E = E_cell - RT/nF * ln(Q)). Find Q from observed E. Calculate equilibrium constant K at E=0. pH electrode and concentration cell examples.

E at non-standard Q Find Q from E K at equilibrium pH electrode guide Free no signup
Nernst Equation Calculator
E = E_cell - (RT/nF)*ln(Q)
Examples:

Try the Cell EMF Calculator

Standard cell EMF from reduction potentials and delta-G from E_cell.

Open Cell EMF Calc
⭐ User Ratings

Rate this tool

4.9
Based on 2,134 ratings
5
1,963
4
106
3
42
2
21
1
10
Was this Nernst Equation Calculator helpful?
Thank you for your rating!
Key features

Why use the LazyTools Nernst Equation Calculator?

E at any concentration

Full Nernst equation at any T: E = E0 - (RT/nF)*ln(Q).

Find Q from measured E

Inverse Nernst: Q = exp((E0-E)*nF/RT).

K at equilibrium (E=0)

At equilibrium E=0: K = exp(nFE0/RT).

RT/nF shown

Thermal voltage displayed for every result for verification.

Three quick-fill examples

Daniell Q=10, dilute Cu cell, O2 at pH 7 pre-loaded.

Free, no signup

Runs entirely in your browser.

How to use

How to use this tool in three steps

Mode 1: enter E0, n, Q and T

Get E at non-standard conditions with full formula shown.

Mode 2: find Q from E

Measured cell voltage and standard E0 give the reaction quotient.

Mode 3: find K

At equilibrium (E=0): K = exp(nFE0/RT).

Click Calculate

Result in volts with RT/nF and ln(Q) shown.

Comparison

LazyTools vs other Nernst Equation Calculator tools

FeatureLazyToolsOmnicalculatorChemLibreManual
E from QYES✓ Yes✗ No✓ Yes
Q from EYES✓ Yes✗ No✓ Yes
K from E0YES✓ Yes✗ No✓ Yes
Temperature variableYES✓ Yes✗ No✓ Yes
No signupYES✓ Yes✓ Yes✓ Yes
Reference

Nernst equation -- RT/nF values at selected temperatures

Temperature (deg C)T (K)RT/F (mV)RT/(2F) (mV)Nernst slope (mV/decade, n=1)
027323.5411.7754.20
1528824.8412.4257.17
2529825.6912.8559.16
3731026.7213.3661.54
5032327.8313.9264.12
6033328.7014.3566.09
7534829.9814.9969.03
10037332.1316.0673.99
Guide

Nernst Equation Calculator: Complete Guide

The Nernst equation corrects the standard cell EMF for non-standard concentrations or pressures: E = E_cell - (RT/nF) x ln(Q), where E_cell is the standard EMF (V), R = 8.314 J/mol/K, T is temperature (K), n is the number of electrons transferred, F = 96,485 C/mol, and Q is the reaction quotient. At 25 deg C, RT/F = 25.69 mV, so the equation simplifies to: E = E_cell - (0.02569/n) x ln(Q) = E_cell - (0.05916/n) x log10(Q).

Nernst equation derivation and applications

The Nernst equation comes from delta-G = delta-G_standard + RT*ln(Q) and delta-G = -nFE: -nFE = -nFE_cell + RT*ln(Q), giving E = E_cell - (RT/nF)*ln(Q). Example 1 (Daniell cell, non-standard): E_cell = 1.10 V, n=2, [Cu2+] = 0.10 mol/L, [Zn2+] = 1.00 mol/L. Q = [Zn2+]/[Cu2+] = 10.0. E = 1.10 - (0.02569/2)*ln(10) = 1.10 - 0.01285*2.303 = 1.10 - 0.0296 = 1.070 V. Example 2 (concentration cell): two copper electrodes in different Cu2+ concentrations. E_cell_standard = 0 V. [Cu2+] in cathode = 1.00 mol/L; [Cu2+] in anode = 0.010 mol/L. Q = 0.010/1.00 = 0.010. E = 0 - (0.02569/2)*ln(0.010) = 0 - 0.01285*(-4.605) = +0.0592 V. The cell generates 59 mV from the concentration difference alone. Example 3 (pH effect on O2/H2O electrode): O2 + 4H+ + 4e- -> 2H2O, E_red = +1.23 V. At pH 7: [H+] = 10^-7 mol/L. E = 1.23 - (0.02569/4)*ln(1/[H+]^4) = 1.23 - 0.02569*ln(10^28)/4... [correction]: Q for this half-reaction = 1/([H+]^4 * P_O2). At pH 7, P_O2 = 0.21 atm: Q = 1/(10^-28 x 0.21) = 4.76*10^28. E = 1.23 - (0.02569/4)*ln(4.76*10^28) = 1.23 - 0.006423*65.8 = 1.23 - 0.423 = 0.807 V. This correction is the basis of pH electrode measurements.

pH electrode and ion-selective electrodes

The glass pH electrode exploits the Nernst equation across a thin glass membrane that is selectively permeable to H+ ions. The potential difference across the membrane: E = E_reference + (RT/F) * ln([H+]) = E_reference - 0.05916 * pH. At 25 deg C, the theoretical Nernst slope is 59.16 mV per pH unit. In practice, the actual slope (electrode efficiency) is 95 to 100% of 59.16 mV/pH, calibrated by measuring at two or three standard pH buffer solutions. Ion-selective electrodes for Ca2+, K+, Na+, Cl- and other ions follow the same Nernst relationship but with n=2 for divalent ions (giving 29.58 mV per decade of concentration) and n=1 for monovalent ions (59.16 mV per decade). The Nikolsky-Eisenman equation extends the Nernst equation to account for interference from other ions: E = E_constant + (RT/nF)*ln([A] + K_ij*[B]^(n/m)), where K_ij is the selectivity coefficient for interfering ion B.

Temperature effects on cell voltage

The temperature coefficient of cell EMF: dE/dT = delta-S_cell / (nF). For the Daniell cell: dE/dT approximately +0.09 mV/K. At 50 deg C (323 K): the RT/nF factor becomes 8.314*323/(2*96485) = 0.01395 V = 13.95 mV. The Nernst slope becomes 13.95 mV at 50 deg C vs 12.85 mV at 25 deg C. For the pH electrode: Nernst slope = RT/F = 59.16 mV at 25 deg C; 61.5 mV at 37 deg C (body temperature); 68.2 mV at 100 deg C. Modern pH meters include an automatic temperature compensation (ATC) circuit that adjusts the displayed pH for the measured temperature. Batteries also show temperature-dependent voltages -- lithium-ion cells lose significant capacity at low temperatures (below 0 deg C) as ionic conductivity in the electrolyte decreases and the Nernst correction for Li+ activity changes.

Step-by-step worked example

An electrochemist is designing a zinc-copper galvanic cell for a student demonstration. The half-reactions are: Cu2+(aq) + 2e- -> Cu(s), E_red = +0.34 V; Zn2+(aq) + 2e- -> Zn(s), E_red = -0.76 V. Step 1 -- assign cathode and anode: Cu2+/Cu has higher E_red so it is the cathode (reduction); Zn2+/Zn has lower E_red so it is the anode (oxidation). Step 2 -- calculate E_cell_standard: E_cell = E_cathode - E_anode = 0.34 - (-0.76) = 1.10 V. Step 3 -- calculate delta-G_standard: delta-G = -nFE = -2 x 96485 x 1.10 = -212,300 J = -212.3 kJ. Step 4 -- calculate K at 25 deg C: K = exp(-delta-G/RT) = exp(212300/(8.314 x 298)) = exp(85.7) = 1.8 x 10^37. Extremely product-favoured. Step 5 -- Nernst equation at non-standard conditions. If [Cu2+] = 0.10 mol/L and [Zn2+] = 1.00 mol/L: Q = [Zn2+]/[Cu2+] = 1.00/0.10 = 10. E = E_cell - (RT/nF)*ln(Q) = 1.10 - (8.314 x 298)/(2 x 96485) x ln(10) = 1.10 - 0.01285 x 2.303 = 1.10 - 0.0296 = 1.070 V. Step 6 -- electrolysis calculation. To electroplate 1.00 g of copper onto an electrode using 0.50 A current: moles Cu = 1.00/63.55 = 0.01573 mol. Charge needed = 0.01573 x 2 x 96485 = 3036 C. Time = 3036/0.50 = 6072 s = 101.2 min. These six steps cover the complete electrochemical analysis of a galvanic cell -- from standard potentials through thermodynamics to non-standard Nernst correction and electrolytic deposition. Each step uses a different calculator in the LazyTools electrochemistry and thermodynamics suite.

Connections across the electrochemistry suite

The four Electrochemistry calculators in LazyTools cover the core quantitative skills in electrochemical analysis. The Cell EMF Calculator determines the standard cell potential from tabulated half-reaction potentials and predicts spontaneity. The Nernst Equation Calculator extends this to non-standard concentrations and temperatures, giving the actual cell voltage under operating conditions. The Electrolysis Calculator applies Faraday's law to calculate the mass of material deposited or dissolved at an electrode during electrolysis, and the current or time needed to achieve a target deposition. The Lattice Energy Calculator uses the Born-Haber cycle to determine the ionic lattice energy from ionisation energies, electron affinities, enthalpy of formation, enthalpy of sublimation and bond dissociation energies -- providing a thermodynamic bridge between electrochemistry and solid-state chemistry. Together these four tools span the electrochemical content of A-level and undergraduate chemistry. The Gibbs Free Energy Calculator connects E_cell to delta-G and K, while the Equilibrium Constant Calculator handles the aqueous equilibria that establish the initial ion concentrations. The Beer-Lambert Law Calculator supports electrochemical analysis when UV-Vis spectrophotometry is used to measure ion concentrations in the cell solutions.

Industrial and environmental applications of electrochemistry

Electrochemical processes are central to modern industry and environmental management. Chlor-alkali electrolysis: 2NaCl(aq) + 2H2O -> Cl2(g) + H2(g) + 2NaOH(aq). Global production: 70 million tonnes of NaCl electrolysed per year, producing chlorine for PVC, water treatment and pharmaceuticals, and hydrogen for ammonia synthesis. Aluminium smelting (Hall-Heroult process): Al2O3 dissolved in molten cryolite, electrolysed at 950 to 970 deg C. Produces 65 million tonnes of aluminium per year. Energy consumption approximately 13 kWh/kg Al -- the largest single industrial electricity use per unit output. Electroplating: gold, silver, nickel, chromium, zinc coatings on electronics, jewellery, automotive and aerospace components. Faraday's law governs deposition thickness and uniformity. Fuel cells: H2 + 0.5 O2 -> H2O with E_cell = 1.23 V theoretical (EMF calculator gives this from standard hydrogen electrode and oxygen electrode potentials). Actual open-circuit voltage in polymer electrolyte membrane (PEM) fuel cells approximately 0.95 to 1.0 V due to activation losses. Corrosion prevention: galvanic coupling, impressed current cathodic protection, and sacrificial anodes (zinc protects steel in seawater -- the Zn/Fe galvanic couple with E = -0.76 - (-0.44) = -0.32 V drives Zn dissolution, protecting Fe). All of these industrial calculations use Faraday's law, the Nernst equation, and standard electrode potentials as quantitative foundations.

Worked numerical example

A pharmaceutical scientist is developing an injectable formulation of a new antibacterial drug. The drug is a weak acid (pKa = 4.2) with limited aqueous solubility. The target dose is 200 mg in 2 mL (100 mg/mL). At physiological pH 7.4, the drug will be predominantly ionised (ionised fraction = 1/(1+10^(pKa-pH)) = 1/(1+10^-3.2) = 1/(1+6.3x10^-4) = 99.94% ionised). The solubility of the ionised form is approximately 150 mg/mL at pH 7.4 -- insufficient. Step 1: calculate the osmolarity contribution. Molecular weight = 385 g/mol; concentration = 100 mg/mL = 100/385 mmol/mL = 0.260 mol/L; i = 1 (non-electrolyte). Osmolarity contribution = 260 mOsm/L. Step 2: add the solubiliser (2-hydroxypropyl-beta-cyclodextrin, HPbetaCD) at 200 mg/mL = 200/1541 mol/L = 0.130 mol/L; i=1; osmolarity = 130 mOsm/L. Step 3: add sodium chloride to adjust to isotonic (308 mOsm/L). NaCl needed = (308 - 260 - 130)/2 = -82/2 -- negative: solution is already hypertonic. Need to dilute or reformulate. Step 4: recalculate osmotic pressure at final composition: total osmolarity approximately 390 mOsm/L. Osmotic pressure = 390/1000 x 0.08206 x 310 = 9.93 atm (at 37 deg C). This exceeds the isotonic limit of approximately 7.6 atm -- the formulation will be hypertonic and irritating on injection. The scientist must reduce concentrations, add water for injection to dilute, or present as a dilute-before-use powder for reconstitution. This complete pharmaceutical formulation calculation uses osmotic pressure, molar mass, ionisation (Henderson-Hasselbalch) and colligative property principles -- all available in the LazyTools chemistry suite.

Connections across the physical chemistry and electrochemistry suites

The thirteen calculators spanning Physical Chemistry and Electrochemistry in LazyTools form a comprehensive quantitative toolkit. Electrochemistry: the Cell EMF Calculator gives the standard cell potential and thermodynamics from tabulated half-reaction potentials; the Nernst Equation Calculator corrects for non-standard concentrations and temperature; the Electrolysis Calculator applies Faraday's law to deposited mass, current and time; the Lattice Energy Calculator uses the Born-Haber cycle to determine ionic lattice energies from thermochemical cycles. Physical Chemistry: the Half-life Calculator covers integrated rate laws for zero, first and second order reactions with pharmacokinetics applications; the Osmotic Pressure Calculator covers the Van't Hoff equation for colligative osmotic properties and molar mass determination; the Partial Pressure Calculator applies Dalton's law to gas mixtures; the Rate of Effusion Calculator uses Graham's law for gas effusion rates; the Diffusion Coefficient Calculator applies the Stokes-Einstein equation; the Langmuir Isotherm Calculator handles surface adsorption equilibria; the Radioactive Decay Calculator covers the decay law and activity calculations; the Young-Laplace Equation Calculator gives pressure difference across curved surfaces; and the Protein Solubility Calculator predicts protein solubility from physical chemistry principles. All tools use consistent SI units, display formulas and support copy-to-clipboard for seamless workflow in research, education and industrial applications.

Electrochemistry in renewable energy and advanced materials

Electrochemical principles are at the heart of renewable energy storage and conversion. Lithium-ion batteries: the cell voltage (approximately 3.7 V) is determined by the difference in lithium chemical potential (related to electrode reduction potentials) between the cathode (LiCoO2 or LiFePO4) and anode (graphite). The Nernst equation explains why battery voltage falls as state of charge decreases (Li+ activity in cathode decreases as Li is removed). Capacity is determined by Faraday's law: for a 3 Ah battery with 3.7 V average voltage, the energy stored = 3 x 3.7 = 11.1 Wh. Electrolysers for green hydrogen: 2H2O -> 2H2 + O2, E_cell = -1.23 V (non-spontaneous). Faraday's law: to produce 1 kg of H2 (496 mol) requires Q = 496 x 2 x 96485 = 95.8 MC = 26.6 kAh. At 80% electrical efficiency: energy = 26.6 x 1.65 V (practical cell voltage) / 0.80 = 54.8 kWh/kg H2. This is close to the commercial target of 50 kWh/kg. Solid oxide fuel cells (SOFCs): operate at 600 to 900 deg C; high temperature increases ionic conductivity but changes the Nernst equation significantly (RT/nF increases from 12.85 mV at 25 deg C to 38.9 mV at 800 deg C). Flow batteries: the capacity is determined by electrolyte volume (unlike conventional batteries where capacity is fixed by electrode mass) -- vanadium redox flow batteries use V2+/V3+ and V4+/V5+ couples with E_cell approximately 1.26 V, calculated from the Cell EMF Calculator with standard reduction potentials.

Frequently asked questions

E = E_cell - (RT/nF)*ln(Q). Corrects standard EMF for non-standard concentrations.

E = E_cell - (0.05916/n)*log10(Q). The 0.05916 V = (2.303*RT/F) at 298 K.

25.69 mV (the thermal voltage). RT/nF = 25.69/n mV per natural log unit.

For the H+/H2 electrode: E = E0 - (RT/F)*ln([H+]) = E0 + 59.16*pH (at 25 deg C). The Nernst slope is 59.16 mV/pH unit.

A galvanic cell where both electrodes use the same half-reaction but at different concentrations. E0=0; voltage comes entirely from the Nernst Q term.

At equilibrium E=0, so E0 = (RT/nF)*ln(K). K = exp(nFE0/RT).

The Nernst term -(RT/nF)*ln(Q) shifts E from the standard value based on the actual ion activities.

Yes. Free, no signup, runs entirely in your browser.