# Chemical equilibrium calculator > How far does a reaction go? Equilibrium concentrations from K and the starting amounts, with the ICE table and which way Le Chatelier pushes it. Solve an ICE table for a reaction with up to two species a side: equilibrium concentrations from K, the direction from Q and Le Chatelier's shifts. - Page: https://how.box/equilibrium/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/equilibrium/?eq={eq}&k={k}&a={a}&b={b}&c={c}&d={d} - `eq` (text): The reaction, e.g. N2 + 3H2 <=> 2NH3. Example: `H2 + I2 <=> 2HI`. - `k` (number 1e-30 to 1e30): Equilibrium constant Kc. Example: `50.5`. - `a` (number 0 to 100): Initial concentration of species 1 (reactants first, then products), mol/L. Example: `1`. - `b` (number 0 to 100): Initial concentration of species 2 (reactants first, then products), mol/L. Example: `2`. - `c` (number 0 to 100): Initial concentration of species 3 (reactants first, then products), mol/L. Example: `0`. - `d` (number 0 to 100): Initial concentration of species 4 (reactants first, then products), mol/L. Example: `0`. Example answer: https://how.box/equilibrium/?eq=H2+%2B+I2+%3C%3D%3E+2HI&k=50.5&a=1&b=2&c=0&d=0 A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `equilibrium_calculate`: Equilibrium concentrations by an ICE table for aA + bB ⇌ cC + dD (OpenStax Chemistry 2e §13.4). - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"equilibrium_calculate","arguments":{"equation":"H2 + I2 <=> 2HI","k":50.5,"c1":1,"c2":2,"c3":0,"c4":0}}}` - GET: https://how.box/mcp/run/equilibrium_calculate?equation=H2+%2B+I2+%3C%3D%3E+2HI&k=50.5&c1=1&c2=2&c3=0&c4=0 ## How it works A reversible reaction aA + bB ⇌ cC + dD runs both ways at once. It settles when the reaction quotient Q = [C]ᶜ[D]ᵈ / ([A]ᵃ[B]ᵇ), with each concentration in mol/L raised to its coefficient, equals the equilibrium constant K. If Q is below K at the start, the reaction runs forward until it reaches K; if Q is above K, it runs in reverse. Pure solids and liquids count as 1 and are left out. An ICE table tracks the Initial concentrations, the Change and the Equilibrium values. Each species changes by its coefficient times one unknown x. For PCl₅ ⇌ PCl₃ + Cl₂ with K = 0.0211, starting from 1.00 mol/L PCl₅: x² / (1.00 − x) = 0.0211, so x² + 0.0211x − 0.0211 = 0 and x = 0.135. At equilibrium [PCl₃] = [Cl₂] = 0.135 mol/L and [PCl₅] = 0.865 mol/L. The tool solves the same equation for any coefficients to about ten digits, also where the textbook shortcut of a small x fails. Le Chatelier's principle says an equilibrium shifts to undo a disturbance: adding a reactant drives it toward the products, squeezing a gas mixture favours the side with fewer gas molecules. Temperature is different: it changes K itself, so this tool takes K as given for one temperature. It treats concentrations as ideal (activities equal to concentrations). Source: OpenStax Chemistry 2e, sections 13.2 to 13.4. ## FAQ **What is an ICE table?** A three-row table of Initial concentrations, the Change as the reaction runs (each species by its coefficient times x, negative for reactants when it runs forward) and the Equilibrium concentrations, Initial plus Change. Putting the equilibrium row into K = Q gives one equation in x. **What is the difference between Q and K?** Both have the same formula. K is the value at equilibrium, fixed for a reaction at a given temperature; Q is the value for any mixture. Comparing them tells which way the reaction will go: forward while Q < K, in reverse while Q > K. **Why are solids and liquids left out of K?** A pure solid or liquid has a fixed concentration whatever its amount, so its activity is 1 and it drops out of the expression. For CaCO₃(s) ⇌ CaO(s) + CO₂(g), K is just [CO₂]. **When can I use the small-x approximation?** When K is small compared with the starting concentrations, x is small and C − x is about C, so the quadratic becomes a square root. The usual check is that x is under 5 % of C. This tool solves the full equation, so it never needs the shortcut. **How does temperature shift an equilibrium?** It changes K. For an exothermic reaction (ΔH < 0) heating lowers K and shifts the mixture toward the reactants; for an endothermic one it raises K. Enter the K for your temperature. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)