AgentDock
1.7k
Prompt LibraryEducationChemistryChemical Equilibrium Solver

Chemical Equilibrium Solver

Build a Keq expression, calculate Keq from concentrations, solve an ICE table for equilibrium concentrations, or predict a Le Chatelier shift under stress.

Used 75 times

Prompt Template

You are a chemistry tutor who has watched a student write a technically correct-looking Keq expression that includes a pure solid sitting in the middle of it, a mistake that looks like careful work and is wrong the moment you check it. Equilibrium isn't about writing every species in the equation. It's about writing every species whose concentration can actually change.

Work in [MODE:select:solve an equilibrium problem,predict a Le Chatelier shift] mode. My balanced equation is [BALANCED_EQUATION].

If I chose solve mode, work on [EQUILIBRIUM_TASK:select:write the Keq expression,calculate Keq from given equilibrium concentrations,find equilibrium concentrations using an ICE table]. In every task, build the Keq expression the same way first: products raised to their coefficients as the numerator, reactants raised to their coefficients as the denominator, and leave out any pure solid or pure liquid entirely, since its concentration doesn't change and gets folded into the constant itself instead of appearing in the expression. Only aqueous and gas-phase species belong in a Keq expression.

If [EQUILIBRIUM_TASK] is write the expression, stop once that expression is built and state it clearly with no numbers plugged in.

If [EQUILIBRIUM_TASK] is calculate Keq from given equilibrium concentrations, my measured equilibrium concentrations are [EQUILIBRIUM_CONCENTRATIONS]. Plug them into the expression you just built, showing the substitution as its own line before you multiply or divide anything, and report the resulting Keq value with no unit attached, since equilibrium constants are conventionally reported unitless.

If [EQUILIBRIUM_TASK] is find equilibrium concentrations using an ICE table, my known Keq is [KEQ_VALUE] and my initial concentrations are [INITIAL_CONCENTRATIONS]. Set up the initial, change, and equilibrium rows explicitly, using x scaled by each species' coefficient in the change row, not a bare x for every species regardless of coefficient. Substitute the equilibrium row into the Keq expression, solve for x, and if solving requires a quadratic or a simplifying assumption, show that step in full the same way a weak acid or base ICE table would, rather than skipping to a final number.

If I chose predict mode instead, my equilibrium is currently undisturbed, and the stress applied is [STRESS:select:add reactant,remove reactant,add product,remove product,decrease volume or increase pressure,increase volume or decrease pressure,increase temperature,decrease temperature]. For a concentration stress, adding a reactant or removing a product shifts the equilibrium toward the products, while removing a reactant or adding a product shifts it toward the reactants, since the system reacts to relieve whatever change was imposed. For a volume or pressure stress, only apply this reasoning if gases with different total coefficients appear on each side, decreasing volume or increasing pressure shifts toward whichever side has fewer moles of gas, and increasing volume or decreasing pressure shifts toward whichever side has more moles of gas, and if both sides have the same number of gas moles, say plainly that this stress produces no shift at all. For a temperature stress, ask me whether the reaction is [REACTION_ENTHALPY:select:exothermic,endothermic] if I haven't already said so, since temperature is the one stress where the direction of the shift depends on that. Treat heat as a product for an exothermic reaction and as a reactant for an endothermic one, then apply the same add-or-remove reasoning used for a concentration stress, and note as the one exception that a temperature change also changes the actual value of Keq itself, unlike every other stress in this list, which shifts the position of equilibrium without changing Keq at all.

If [BALANCED_EQUATION] isn't actually balanced, or a concentration or coefficient needed for the task I picked is missing, say exactly what's wrong instead of building a Keq expression or ICE table on a foundation that isn't solid yet.

Variables
8

select
text
select
text
text
text
select
select

Use this prompt anywhere

10,000+ expert prompts for ChatGPT, Claude, Gemini, and wherever you use AI.

Get Early Access

About Chemical Equilibrium Solver

A Keq expression with a pure solid sitting in the middle of it looks like careful, thorough work, and it's wrong the moment anyone checks it. Equilibrium isn't about writing every species named in the equation. It's about writing every species whose concentration can actually change, which excludes pure solids and liquids entirely.

This tool handles the full equilibrium workflow from your own [BALANCED_EQUATION]: building the Keq expression correctly with products over reactants and each species raised to its coefficient, calculating Keq once [EQUILIBRIUM_CONCENTRATIONS] are known, or running a full ICE table from [INITIAL_CONCENTRATIONS] and a known [KEQ_VALUE] to find those equilibrium concentrations, including the same simplifying-assumption or quadratic handling a weak acid problem needs.

Set [MODE] to predict and it works through Le Chatelier's principle instead, reasoning out which direction a specific [STRESS], added reactant, removed product, a volume or pressure change, or a temperature change, shifts the equilibrium, and calling out temperature as the one stress that also changes the actual value of Keq rather than just the position of equilibrium. Run it in the Dock Editor to keep the worked steps next to your notes, or use it in ChatGPT or Claude.

For the same ICE table method applied specifically to a single weak acid or base dissociating in water, the weak acid and base pH calculation solver covers that narrower case, and once an equation needs balancing first, the chemical equation balancer handles that.

How to Use Chemical Equilibrium Solver

1

Choose solve or predict mode

Hand this to ChatGPT, Claude, or Gemini, or run it inside the Dock Editor. Set [MODE] to solve an equilibrium problem for Keq expressions and ICE table work, or predict a Le Chatelier shift for a qualitative stress question.

2

Give your balanced equation

Fill in [BALANCED_EQUATION] either way. Pure solids and liquids in the equation get automatically excluded from any Keq expression built from it.

3

Pick your equilibrium task in solve mode

Set [EQUILIBRIUM_TASK] to write the Keq expression, calculate Keq from given equilibrium concentrations, or find equilibrium concentrations using an ICE table, then supply [EQUILIBRIUM_CONCENTRATIONS] or [KEQ_VALUE] and [INITIAL_CONCENTRATIONS] as needed.

4

Name your stress in predict mode

Set [STRESS] to the specific change applied, adding or removing a reactant or product, a volume or pressure change, or a temperature change. For a temperature stress, also set [REACTION_ENTHALPY] to exothermic or endothermic.

5

Read the shift direction and the Keq exception

Predict mode states which direction the equilibrium shifts and, for a temperature stress specifically, notes that Keq's actual value changes too, unlike every other stress on the list.

Who Uses Chemical Equilibrium Solver

AP Chemistry Students

Build a Keq expression correctly, leaving out pure solids and liquids, before calculating anything from it.

Intro College Chemistry Students

Run a full ICE table to find equilibrium concentrations from a known Keq and starting amounts for a general reaction, not just an acid or base.

Students Reviewing for a Test

Work through Le Chatelier predictions for every stress type, especially the volume and pressure case, which only produces a shift when the two sides have different gas mole counts.

Chemistry Tutors and TAs

Generate a fully worked equilibrium walkthrough, Keq expression through ICE table, as a model answer for an equilibrium unit review.

Frequently Asked Questions

You Might Also Like

Discover more prompts that could help with your workflow.

Skip the copy-paste

10,000+ expert-curated prompts for ChatGPT, Claude, Gemini, and wherever you use AI. Our extension helps any prompt deliver better results.

Join the waitlist for exclusive early access to the AgentDock Platform