Overview
Equilibrium and electrochemistry both describe systems balancing two opposing tendencies: forward versus reverse reaction in equilibrium, and spontaneous versus forced electron transfer in electrochemistry. This guide connects the two, working from basic equilibrium concepts through net ionic equations to the electrochemical calculations governing batteries and electrolysis.
Work through equilibrium first, since the same forward-and-reverse balance logic underlies the electrochemistry sections that follow. Each step below builds on the one before it, so a shortcut through the middle usually means backtracking later once a term or comparison stops making sense. Between the two halves sits a genuinely useful habit: whenever a number comes out looking wrong, check the units first. Concentration equilibria, pressure equilibria, and cell voltages all get compared against each other constantly in this material, and most errors trace back to mixing up which one a problem is actually asking for.
Step 1: Calculate Equilibrium Constant and Reaction Quotient
The equilibrium constant (K) is a fixed ratio of products to reactants at equilibrium for a given reaction and temperature. The reaction quotient (Q) uses that same formula, but at any point during a reaction, not just at the end. Comparing Q to K tells you which direction a reaction needs to shift to reach equilibrium, and that comparison is one of the more useful shortcuts in general chemistry: it turns a static snapshot of concentrations into a prediction about where the system is headed.
Take a generic reaction like N2(g) + 3H2(g) ⇌ 2NH3(g). At equilibrium, K equals [NH3]^2 divided by [N2][H2]^3, with each concentration raised to its stoichiometric coefficient. If you disturb that system by pumping in more N2, the concentrations no longer match the equilibrium ratio; plugging the new concentrations into the same expression gives you Q, and since Q is now smaller than K, the reaction shifts forward, consuming some of the added N2 and H2 to produce more NH3 until Q climbs back up to equal K. That's Le Chatelier's principle expressed as arithmetic rather than a rule to memorize.
The Equilibrium Constant Calculator calculates K from equilibrium concentrations, and the Reaction Quotient Calculator calculates Q at any given point for that comparison.
One detail that trips people up: pure solids and pure liquids don't appear in the K expression at all, since their concentrations don't meaningfully change during a reaction. Only gases and dissolved species (aqueous ions and molecules) show up in the ratio. A reaction like CaCO3(s) ⇌ CaO(s) + CO2(g) ends up with an equilibrium expression that's just K = [CO2], because the two solids drop out entirely. Forgetting this rule is one of the more common sources of a wrong answer that otherwise used the right method.
Step 2: Handle Gas-Phase Equilibria with Kp
For gas-phase reactions specifically, equilibrium is often expressed in terms of partial pressures (Kp) rather than molar concentrations (Kc). The two aren't numerically identical unless the reaction has equal gas moles on both sides, since converting between them involves the total moles of gas and the reaction temperature through the ideal gas law. Mixing the two up, using a Kc value where a problem calls for Kp, is one of the more common errors in this part of the course.
The conversion runs through Kp = Kc(RT)^Δn, where Δn is the change in moles of gas between products and reactants, and R and T are the gas constant and absolute temperature. When Δn equals zero, meaning the same number of gas moles appear on both sides, Kp and Kc happen to come out equal, which is worth remembering as a sanity check on a finished calculation rather than a shortcut to rely on going in.
The Kp Calculator calculates or converts to this pressure-based equilibrium constant for gas-phase reactions.
Partial pressure itself comes from the mole fraction of a gas multiplied by the total pressure of the mixture, so a Kp problem often starts by working out how many total moles of gas are present and what fraction of that total each species represents. This matters most in reactions where the total number of gas moles changes as the reaction proceeds. Adding an inert gas at constant volume doesn't shift the equilibrium at all, since it doesn't change any species' partial pressure, but it does change the total pressure reading, which is a distinction worth keeping straight.
Step 3: Write Net Ionic Equations
When ions are involved in a reaction, precipitation or acid-base neutralization being the common cases, the net ionic equation removes spectator ions. These are ions present in solution but not actually participating in the chemical change, and stripping them out reveals the reaction's true nature more clearly than the full molecular equation does.
Take silver nitrate reacting with sodium chloride in solution. The full molecular equation is AgNO3 + NaCl → AgCl(s) + NaNO3, but writing it as a complete ionic equation shows Ag+ and NO3- dissociated on one side and Na+ and Cl- on the other, with Na+ and NO3- appearing unchanged on both sides of the arrow. Cancel those spectator ions and what's left is Ag+ + Cl- → AgCl(s), which is the actual chemical event: silver and chloride ions combining into an insoluble solid. Everything else in the original equation was just along for the ride.
The Net Ionic Equation Calculator identifies and removes spectator ions automatically from a full ionic equation.
Getting the complete ionic equation right depends on knowing solubility rules well enough to decide which compounds actually dissociate into ions in water and which stay together as a solid or a molecule. Strong acids, strong bases, and soluble salts split apart; weak acids, weak bases, and insoluble precipitates don't. Skip that step or get it wrong, and the spectator-ion cancellation that follows won't match the actual chemistry happening in the beaker, even if the arithmetic looks clean.
Step 4: Calculate Cell EMF and Apply the Nernst Equation
Electrochemistry applies the same spontaneity logic as equilibrium, but expressed as voltage. Cell EMF, calculated from the difference between two half-reactions' standard reduction potentials, comes out positive for spontaneous reactions (batteries) and negative for reactions that need external energy to proceed. The Nernst equation extends this calculation to non-standard concentrations and temperatures, since real cells rarely sit at the standard 1M and 25°C conditions textbooks assume.
Finding the cathode and anode comes down to a reduction potential table: whichever half-reaction has the higher (more positive) standard reduction potential runs as written, at the cathode, while the other gets flipped and runs in reverse, as oxidation, at the anode. Subtract the anode's potential from the cathode's and you get the standard cell EMF. A cell built from copper and zinc electrodes, for instance, has zinc as the anode, since its reduction potential is lower, and produces a standard EMF around 1.10 volts. Once conditions drift away from standard, the Nernst equation adjusts that figure using the actual reaction quotient for the cell reaction, temperature, and the number of electrons transferred.
The Cell EMF Calculator calculates standard cell voltage from half-reaction potentials, and the Nernst Equation Calculator adjusts that voltage for actual operating conditions.
All of these standard reduction potentials get measured against a common reference point, the standard hydrogen electrode, which is defined as exactly 0 volts under standard conditions. That's an arbitrary zero point, similar to how sea level is arbitrary for measuring elevation, but it lets every half-reaction's potential be reported on the same scale and compared directly. A half-reaction with a reduction potential of +0.80 V (like silver) is a stronger oxidizing agent than one at -0.76 V (like zinc), and the gap between any two values on that table is exactly the standard EMF you'd measure by pairing them into a cell.
Step 5: Calculate Electrolysis Product Amounts
Electrolysis forces a non-spontaneous, negative-EMF, reaction to proceed using externally supplied electrical current, the opposite direction from a galvanic cell. The amount of product formed follows Faraday's laws, which relate total charge (current multiplied by time) to moles of product through the reaction's stoichiometry.
The chain runs in three steps: multiply current by time to get total charge in coulombs, divide by Faraday's constant (roughly 96,485 coulombs per mole of electrons) to get moles of electrons transferred, then use the half-reaction's stoichiometry to convert moles of electrons into moles of product. Depositing copper from Cu2+, which needs two electrons per copper atom, takes twice as many moles of electrons as depositing silver from Ag+, which needs only one, even when the same amount of charge passes through both cells.
The Electrolysis Calculator calculates product formed for a given current, time, and reaction, applying these Faraday's law relationships directly.
Electroplating and industrial metal refining both run on exactly this relationship, which is why Faraday's laws show up as much in engineering contexts as in a chemistry classroom. A factory plating a fixed thickness of chromium onto a part needs a specific number of moles of chromium deposited per unit area, and working backward through the stoichiometry tells the engineer exactly how much current to run for how long to hit that target, rather than guessing and checking with expensive material.
Key Terms
- Equilibrium constant (K): the fixed ratio of product to reactant concentrations (or pressures) at equilibrium, for a given reaction and temperature
- Reaction quotient (Q): the same ratio as the equilibrium constant, but calculated at any point during a reaction, used to predict shift direction
- Spectator ion: an ion present in a reaction solution that doesn't participate in the actual chemical change, removed in a net ionic equation
- Cell EMF: the voltage produced by a galvanic cell, calculated from the difference between its two half-reaction reduction potentials
- Nernst equation: a formula adjusting cell EMF for non-standard concentrations and temperatures
- Electrolysis: the use of external electrical current to force a non-spontaneous chemical reaction to proceed
- Faraday's laws: principles relating total electrical charge passed during electrolysis to the amount of product formed