Write a Ksp expression from a dissolution equation, solve for molar solubility using stoichiometric exponents, or work a common ion effect problem.
You are a chemistry tutor who has noticed students treat Ksp like just another equilibrium constant to plug into, then get a molar solubility answer that's off by a factor of four because they forgot a coefficient of two turns into an exponent of two on that ion's concentration. Ksp problems reward the same coefficient-to-exponent care as any other equilibrium expression, with one extra twist, the solid itself never appears in the expression at all. For a sparingly soluble ionic solid dissolving as AxBy in equilibrium with x moles of A and y moles of B in solution, the solubility product is Ksp equals [A] raised to the x power times [B] raised to the y power, with the solid AxBy left out entirely, since a pure solid's concentration doesn't change and never belongs in an equilibrium expression. For a simple one-to-one solid like silver chloride, Ksp equals s squared, where s is the molar solubility, since each formula unit that dissolves produces one of each ion. For a solid like calcium fluoride, CaF2, dissolving into one calcium ion and two fluoride ions, Ksp equals s times two s squared, which simplifies to four s cubed, since the fluoride concentration is twice the molar solubility and that factor of two gets squared along with everything else inside the parentheses. The common ion effect shows up when a second source already puts one of the two ions into the solution before the solid ever dissolves, which lowers how much of the solid can dissolve compared to pure water, a direct consequence of Le Chatelier's principle acting on the same fixed Ksp value. Work in [MODE:select:write the Ksp expression,solve for molar solubility,solve with a common ion present] mode. If I chose write the expression, take the dissolution equation in [COMPOUND] and write its Ksp expression with each ion's coefficient turned into the matching exponent, stating explicitly that the solid itself is left out and why. If I chose solve for molar solubility, take the Ksp value in [KSP_VALUE] for the compound in [COMPOUND] and set up an ICE table treating molar solubility as s, substituting s and its coefficient-based multiples into the Ksp expression, then solving for s. Show the simplified form, s squared for a one-to-one solid or four s cubed for a one-to-two solid, as its own line before isolating s, and convert the final molar solubility into grams per liter if [UNITS] asks for it, using the compound's molar mass. If I chose the common ion mode, take the same Ksp and compound plus the concentration of the shared ion already present from [COMMON_ION_SOURCE], set up the ICE table with that ion's initial concentration as a nonzero starting value instead of zero, and solve for the now-smaller molar solubility, s, explaining explicitly why it comes out lower than the pure-water case. If the resulting expression doesn't simplify to a clean exponent because the common ion's starting concentration is much larger than s, note that the small-s approximation, dropping s next to the much larger starting concentration, is standard practice here and state when it applies. If [COMPOUND] isn't actually a sparingly soluble solid, meaning it's freely soluble or Ksp doesn't apply to it at all, say so before setting up an expression that doesn't belong to this compound.
Use this prompt anywhere
10,000+ expert prompts for ChatGPT, Claude, Gemini, and wherever you use AI.
Get Early AccessKsp looks like just another equilibrium constant until a coefficient of two on one ion turns into an exponent of two on that same ion inside the expression, a step students skip more often than any other part of a solubility problem.
This tool writes the Ksp expression for your [COMPOUND], any sparingly soluble ionic solid, always leaving the solid itself out since a pure solid's concentration never changes. It solves for molar solubility from your [KSP_VALUE], showing the coefficient-to-exponent substitution as its own explicit line, whether that simplifies to s squared for a simple one-to-one solid or four s cubed for a one-to-two solid like calcium fluoride. Set [MODE] to common ion for the case where one of the two ions already sits in solution before the solid dissolves, lowering the achievable solubility below the pure-water value.
Run it in the Dock Editor to keep the ICE table setup next to your equilibrium notes, or use it in ChatGPT or Claude directly.
The qualitative version of this same question, whether a compound dissolves at all, is the solubility rules explainer's job, and the general ICE-table machinery this tool borrows comes from the chemical equilibrium solver.
Paste the prompt into the Dock Editor, ChatGPT, Claude, or Gemini, then set [MODE] to write the Ksp expression, solve for molar solubility, or solve with a common ion present depending on what the problem is actually asking for.
Fill in [COMPOUND] with the dissolving solid's formula, such as AgCl or CaF2, so the dissolution equation and ion coefficients are set correctly.
Add [KSP_VALUE] when solving for molar solubility, and set [UNITS] if you need the final answer converted to grams per liter.
In common ion mode, fill in [COMMON_ION_SOURCE] with what's already supplying one of the two ions and at what concentration.
Every solubility answer shows the ICE table setup and the simplified exponent form as its own separate line before the final molar solubility gets isolated.
Write a correct Ksp expression for an unfamiliar compound and see exactly why the solid itself never appears in it.
Solve molar solubility problems for solids with an ion ratio other than one to one, where the exponent step is easiest to get wrong.
Work through a common ion effect scenario to explain why a precipitate formed sooner than a pure-water Ksp calculation would predict.
Drill the small-s approximation used in common ion problems until recognizing when it's valid becomes automatic.
Ksp, the solubility product constant, is the equilibrium constant for a sparingly soluble ionic solid dissolving into its ions in water. It equals the product of each ion's equilibrium concentration raised to the power of its coefficient in the dissolution equation, with the solid itself left out entirely.
A pure solid's concentration is a fixed property of the substance itself and doesn't change as some of it dissolves, so it never belongs in an equilibrium expression the way a changing solution concentration does. This is the same rule that excludes pure solids and liquids from any equilibrium constant expression.
Set up an ICE table treating molar solubility as s, substitute s and its coefficient-based multiple for each ion into the Ksp expression, and solve for s. A one-to-one solid simplifies to Ksp equals s squared, while a one-to-two solid simplifies to Ksp equals four s cubed, since one ion's concentration is twice s and that factor gets squared.
The common ion effect is the decrease in a solid's solubility when one of its two dissolved ions is already present in the solution from another source before the solid is added. Because Ksp stays fixed, a higher starting concentration of one ion forces the achievable concentration of the other, and therefore the molar solubility, to drop.
The small-s approximation, dropping s next to a much larger starting concentration, applies in common ion problems where that starting concentration is at least a few hundred times larger than the expected solubility. It simplifies the algebra from a cubic or higher-order equation down to simple division.
Ksp is simply Keq applied to one specific type of reaction, a solid dissolving into its ions, with the solid excluded the same way any pure solid or liquid is excluded from a general Keq expression. The underlying ICE table and equilibrium logic are identical to any other equilibrium problem.
This prompt works well with any modern AI assistant. ChatGPT, Claude, Gemini, and others handle the coefficient-to-exponent substitution and ICE table algebra reliably when the compound and Ksp value are stated clearly. The Dock Editor keeps the setup next to your equilibrium notes.
Discover more prompts that could help with your workflow.
Estimate a reaction's delta H by summing bond enthalpies broken in the reactants against bonds formed in the products as an approximation.
Explain and identify functional groups in an organic structure, alcohol, aldehyde, ketone, carboxylic acid, ester, ether, amine, or amide, distinguishing confused pairs by oxygen placement.
Calculate percent yield from actual and theoretical yield, or derive theoretical yield from a balanced equation and the limiting reactant, flagging yields over 100 percent.
10,000+ expert-curated prompts for ChatGPT, Claude, Gemini, and wherever you use AI. Our extension helps any prompt deliver better results.