Nernst Equation Calculator

Cell potential E (V)—
Correction term (RT/nF) ln Q—
Standard potential E0 (V)—

How Nernst Equation Calculator is calculated: Nernst equation: E = E0 - (RT / nF) x ln Q. At 25 C, E = E0 - (0.0592 / n) x log10 Q. F = 96,485 C/mol; R = 8.314 J / (mol K).

What is the Nernst equation?

The Nernst equation says what a cell's voltage actually is, not just what it is under standard conditions. A Daniell cell is 1.10 volts when all concentrations are 1 molar, but as the reaction runs and the concentrations change, the voltage falls — and the Nernst equation tracks it, from the standard potential, the number of electrons, the temperature, and the reaction quotient Q. It is the equation that connects thermodynamics to batteries.

This calculator works out the cell potential under non-standard conditions. Type the standard potential, the number of electrons transferred, the reaction quotient, and the temperature, and it shows the cell potential, the correction term, and the standard potential alongside. It is the calculation at the centre of electrochemistry in every chemistry course.

The share and print buttons sit with every tool on this site. Share sends the page link, not your numbers, so whoever opens it starts from the same defaults you saw. Print gives you a clean copy for a lab notebook, a recipe folder, or a classroom handout, with the formula and the worked example included.

Students use tools like this one for homework and exam practice, teachers use them to check answers quickly in class, and working cooks and lab staff use them because a fast, correct conversion beats doing the same arithmetic by hand for the twentieth time. The tool does not replace understanding the method — it removes the arithmetic so the understanding is what you spend your time on.

How the Nernst equation is calculated

The method is a subtraction: E equals E0 minus (RT over nF) times the natural logarithm of Q. At 25 degrees Celsius the factor RT/F is 0.0257 volts, so for 2 electrons the correction is 0.01285 times ln Q. With Q at 0.01, ln Q is -4.605, so the correction is -0.0592 volts, and E is 1.10 minus -0.0592, which is 1.159 volts — higher than standard, because the reaction quotient is below 1.

The shortcut form uses base-10 logarithms at 25 degrees: E equals E0 minus (0.0592 over n) times log10 Q. For 2 electrons and a Q of 0.01, log10 Q is -2, so the correction is 0.0296 times -2, which is -0.0592 volts — the same answer as the full form, because the two are the same equation in different logarithms. The calculator uses the full form, so it works at any temperature.

The constants used on this page are the standard values taught in textbooks: the gas constant, Avogadro's number, and the atomic masses from the standard periodic table. They are stated where they are used, so you can check them against your own textbook and see that they match. If your course uses a rounded constant — 22.4 litres per mole at STP, for example — the difference from the precise value is small, and it is noted in the worked example.

The answers on this page are rounded for display, usually to two decimal places, while the maths underneath keeps full precision. That means a result shown as 2.28 may really be 2.2814, and the reverse check may differ in the last digit for the same reason. That is rounding, not an error, and it never changes the answer by more than a fraction of a percent.

The reaction quotient: the input that matters

The input people get wrong is Q, the reaction quotient: it is the ratio of products to reactants, each raised to its coefficient, with the concentrations as they are now — not the equilibrium constant, and not the starting ratio. A Q below 1 raises the voltage above standard; a Q above 1 lowers it; a Q of 1 leaves it exactly at standard.

The second trap is the logarithm: the Nernst equation uses the natural logarithm, ln, and the shortcut uses log10 with the 0.0592 factor that already includes the conversion. Mixing the two — using ln with 0.0592, or log10 without it — gives a correction wrong by a factor of 2.303. The third trap is n, the number of electrons: it must come from the balanced half-equations, and for the Daniell cell it is 2.

The most common mistake with any calculator is typing a number and trusting it without a glance at the label beside it. The second is copying a result with more digits than the inputs justify — if your inputs are good to two digits, the answer is good to two digits, however many the screen shows. Round the answer to match the precision of what you measured.

A worked example: a Daniell cell

Take the default example: a Daniell cell with E0 = 1.10 volts, n = 2, Q = 0.01, at 25 degrees Celsius. The correction term is -0.059 volts, and the cell potential is 1.159 volts — higher than the standard 1.10 volts, because the reaction quotient is below 1 and the cell has further to run.

Check the other tests: with Q = 1, the logarithm is 0, the correction is 0, and E is exactly E0 — 0.34 volts for the copper half-cell example. And with Q = 100, ln Q is 4.605, the correction is +0.0592, and E falls to 1.041 volts. The voltage tracks the logarithm of Q, so a factor of 10 in Q moves the voltage by 0.0296 volts for a 2-electron cell.

Before you rely on a result, run a quick sanity check on it. Convert a value you already know — one large egg should come out near 57 grams, one mole of water near 18 grams — and see that the tool agrees. If it does, your inputs are right and the rest of the answers will be too. If it does not, the input is usually the problem, not the tool.

The one habit that prevents nearly every wrong answer here is checking the units before you trust the result. Grams are not ounces, millilitres are not cups, and a value typed in the wrong unit gives a confident-looking wrong answer. Read the label next to each box, match it to the unit on your recipe or your lab sheet, and only then read the result.

Why the Nernst equation matters

Students use the Nernst equation to find cell potentials under non-standard conditions, to work out concentrations from measured voltages, and to predict whether a redox reaction is spontaneous — a positive E means a negative Delta G, and the two are the same prediction. It is also how pH meters work: the voltage of a glass electrode follows the Nernst equation in the hydrogen-ion concentration.

Engineers use it for batteries: the voltage of a battery falls as it discharges, because Q rises, and the Nernst equation predicts the discharge curve. It is also the basis of potentiometric sensors, which measure concentrations — of ions in blood, of pollutants in water — by measuring a voltage and inverting the equation.

This site has a full set of related tools, and the links in this article point to the ones people reach for next. They all work the same way — type your numbers, read the answer, nothing uploaded — so once you know one of them, you know all of them. The "More free tools" section at the bottom of the page lists three close neighbours.

Everything on this page runs in your browser. Nothing you type is uploaded, stored, or sent to a server, and there is no account to create and no sign-up step. You can use the tool as many times as you like, close the tab, and come back later — your inputs are never saved anywhere.

Two related tools worth knowing are the temperature converter and energy converter.

Nernst equation vs standard cell potential

The standard cell potential is the voltage when all concentrations are 1 molar, and the Nernst equation gives the voltage for any other concentrations — and the logarithm calculator does the plain logarithms that the equation's correction term needs. If your concentrations are all standard, the standard potential is the answer; if they are not, use this calculator.

A mole calculator converts a mass to moles, which is the step before any concentration — and therefore any Q — can be worked out. If your cell's solutions are given in grams per litre, convert to moles first, divide by the volume, and then work out Q for this calculator.

This site has a full set of related tools, and the links in this article point to the ones people reach for next. They all work the same way — type your numbers, read the answer, nothing uploaded — so once you know one of them, you know all of them. The "More free tools" section at the bottom of the page lists three close neighbours.

Common mistakes with the Nernst equation

The most common mistake is the logarithm: using log10 in the full form, or ln with the 0.0592 shortcut factor. The second is the sign of the correction — E is E0 minus the term, and when Q is below 1 the term is negative, so E rises above E0. The third is using K instead of Q, which gives the equilibrium voltage of zero by construction.

A fourth mistake is n, the number of electrons: it must come from the balanced half-equations, and using 1 for a 2-electron cell halves the correction. A fifth is the temperature: it must be in kelvin, and the 0.0592 shortcut only holds at 25 degrees Celsius. A sixth is forgetting that Q uses current concentrations, which change as the cell runs.

The most common mistake with any calculator is typing a number and trusting it without a glance at the label beside it. The second is copying a result with more digits than the inputs justify — if your inputs are good to two digits, the answer is good to two digits, however many the screen shows. Round the answer to match the precision of what you measured.

How to use this Nernst equation calculator

Type the standard potential in volts, the number of electrons transferred, the reaction quotient Q, and the temperature in Celsius. The cell potential appears instantly, with the correction term and the standard potential alongside. Change any number and the answers update at once.

Work out Q from the current concentrations first, with each concentration raised to its coefficient. And check n against the balanced half-equations — for the Daniell cell it is 2, and a wrong n scales the whole correction.

The share and print buttons sit with every tool on this site. Share sends the page link, not your numbers, so whoever opens it starts from the same defaults you saw. Print gives you a clean copy for a lab notebook, a recipe folder, or a classroom handout, with the formula and the worked example included.

Frequently Asked Questions

It is E = E0 - (RT/nF) x ln Q, giving a cell's voltage under non-standard conditions. In the default example, E0 = 1.10 V and Q = 0.01 give E = 1.159 V.

Subtract (RT/nF) times ln Q from the standard potential E0. For a 2-electron cell at 25 degrees with Q = 0.01, the correction is -0.0592 V, so E is 1.10 plus 0.0592, or 1.159 V.

It falls, because the reaction quotient Q rises as products build up and reactants are used. When Q reaches K, the equilibrium constant, the voltage reaches zero and the battery is flat.

It is (RT/F) times ln 10 at 25 degrees Celsius — the factor that converts the natural-logarithm form into the base-10 form. At 25 degrees, E = E0 - (0.0592/n) x log10 Q; at other temperatures, use the full form with RT/nF.

More free tools

More calculators and utilities from Sortrun — free, no sign-up.