{"success":true,"version":"v1","request":{"tool":"get_calculator_schema","calculator_id":"mixing-solutions"},"result":{"entity_type":"calculator","id":"mixing-solutions","calculator_id":"mixing-solutions","canonical_url":"https://tttkmbb.com/chemistry/mixing-solutions","name":"Solution Mixing Calculator","title":"Solution Mixing Calculator – Final Concentration of Two Mixed Solutions or Alligation Volumes for a Target","category":"chemistry","category_name":"Chemistry","tool_name":"calculate_solution_mixing","featured_mcp_tool":false,"description":"Computes the concentration obtained by combining two solutions of the same solute from their volumes and concentrations, C = (C1·V1 + C2·V2) / (V1 + V2), or, given a target concentration, the volumes and mixing ratio of the two stocks by the alligation method.","use_when":"You combine two solutions of known concentration and need the resulting concentration, or you must blend a stronger and a weaker stock (or a stock and pure solvent) to reach a target concentration.","do_not_use_when":"You dilute one stock with pure solvent and want the C1V1 = C2V2 form (use dilution), or the two solutions contain different solutes or react with each other.","inputs":[{"name":"concentration_1","label":"Concentration of solution 1","type":"number","required":true,"min":0,"description":"Concentration of the first solution in any unit shared by all concentrations (mol/L, %, mg/mL, ppm). Use 0 for pure solvent.","example":0.5},{"name":"concentration_2","label":"Concentration of solution 2","type":"number","required":true,"min":0,"description":"Concentration of the second solution, same unit as concentration_1.","example":0.1},{"name":"volume_1","label":"Volume of solution 1","type":"number","required":false,"exclusive_min":0,"description":"Volume of the first solution in any unit shared with volume_2 (mL, L). Required unless target_concentration is given.","example":100},{"name":"volume_2","label":"Volume of solution 2","type":"number","required":false,"exclusive_min":0,"description":"Volume of the second solution, same unit as volume_1. Required unless target_concentration is given.","example":300},{"name":"target_concentration","label":"Target concentration","type":"number","required":false,"min":0,"description":"Desired concentration of the mixture; when given, the calculator solves the volumes of solutions 1 and 2 (alligation) instead of the final concentration. Must lie between the two stock concentrations."},{"name":"total_volume","label":"Total volume wanted","type":"number","required":false,"exclusive_min":0,"description":"Total mixture volume in alligation mode (any unit); when omitted only the ratio and percentages are reported."}],"outputs":[{"name":"final_concentration","label":"Final concentration","type":"number","decimals":6,"description":"Concentration of the mixture (unit of the concentration inputs)."},{"name":"volume_1","label":"Volume of solution 1","type":"number","decimals":4,"description":"Volume of solution 1 used or required."},{"name":"volume_2","label":"Volume of solution 2","type":"number","decimals":4,"description":"Volume of solution 2 used or required."},{"name":"total_volume","label":"Total volume","type":"number","decimals":4,"description":"V1 + V2 (volumes assumed additive)."},{"name":"total_solute_amount","label":"Total solute amount","type":"number","decimals":6,"description":"C1·V1 + C2·V2 in concentration × volume units (e.g. mmol for mol/L and mL)."},{"name":"ratio_1_to_2","label":"Ratio V1 : V2","type":"number","decimals":6,"description":"Volume of solution 1 per unit volume of solution 2."},{"name":"fraction_1_percent","label":"Share of solution 1","type":"number","unit":"%","decimals":4,"description":"100 × V1 / (V1 + V2)."},{"name":"fraction_2_percent","label":"Share of solution 2","type":"number","unit":"%","decimals":4,"description":"100 × V2 / (V1 + V2)."},{"name":"parts_1","label":"Alligation parts of 1","type":"number","decimals":6,"description":"|target − C2|: relative parts of solution 1 (alligation mode only)."},{"name":"parts_2","label":"Alligation parts of 2","type":"number","decimals":6,"description":"|C1 − target|: relative parts of solution 2 (alligation mode only)."},{"name":"solved_for","label":"Solved for","type":"string","decimals":4,"description":"final_concentration (mixing) or volumes (alligation)."}],"input_schema":{"type":"object","properties":{"concentration_1":{"description":"Concentration of the first solution in any unit shared by all concentrations (mol/L, %, mg/mL, ppm). Use 0 for pure solvent.","type":"number","minimum":0,"examples":[0.5]},"concentration_2":{"description":"Concentration of the second solution, same unit as concentration_1.","type":"number","minimum":0,"examples":[0.1]},"volume_1":{"description":"Volume of the first solution in any unit shared with volume_2 (mL, L). Required unless target_concentration is given.","type":"number","exclusiveMinimum":0,"examples":[100]},"volume_2":{"description":"Volume of the second solution, same unit as volume_1. Required unless target_concentration is given.","type":"number","exclusiveMinimum":0,"examples":[300]},"target_concentration":{"description":"Desired concentration of the mixture; when given, the calculator solves the volumes of solutions 1 and 2 (alligation) instead of the final concentration. Must lie between the two stock concentrations.","type":"number","minimum":0},"total_volume":{"description":"Total mixture volume in alligation mode (any unit); when omitted only the ratio and percentages are reported.","type":"number","exclusiveMinimum":0}},"additionalProperties":false,"required":["concentration_1","concentration_2"]},"output_schema":{"type":"object","properties":{"final_concentration":{"description":"Concentration of the mixture (unit of the concentration inputs).","type":"number"},"volume_1":{"description":"Volume of solution 1 used or required.","type":"number"},"volume_2":{"description":"Volume of solution 2 used or required.","type":"number"},"total_volume":{"description":"V1 + V2 (volumes assumed additive).","type":"number"},"total_solute_amount":{"description":"C1·V1 + C2·V2 in concentration × volume units (e.g. mmol for mol/L and mL).","type":"number"},"ratio_1_to_2":{"description":"Volume of solution 1 per unit volume of solution 2.","type":"number"},"fraction_1_percent":{"description":"100 × V1 / (V1 + V2). Unit: %.","type":"number","x-unit":"%"},"fraction_2_percent":{"description":"100 × V2 / (V1 + V2). Unit: %.","type":"number","x-unit":"%"},"parts_1":{"description":"|target − C2|: relative parts of solution 1 (alligation mode only).","type":"number"},"parts_2":{"description":"|C1 − target|: relative parts of solution 2 (alligation mode only).","type":"number"},"solved_for":{"description":"final_concentration (mixing) or volumes (alligation).","type":"string"}}},"formula":"Mixing: final_concentration = (C1·V1 + C2·V2) / (V1 + V2). Alligation: parts_1 = |target − C2|, parts_2 = |C1 − target|, V1 = total_volume × parts_1 / (parts_1 + parts_2), V2 = total_volume − V1","method":"Assumes the solute amount is conserved and volumes are additive (no volume contraction), which holds for dilute aqueous solutions; for % w/w blends enter masses instead of volumes and the same arithmetic applies.","sources":[{"name":"OpenStax Chemistry 2e – 3.3 Molarity","url":"https://openstax.org/books/chemistry-2e/pages/3-3-molarity","type":"textbook","retrieved_at":"2026-09-24"},{"name":"Wikipedia – Alligation","url":"https://en.wikipedia.org/wiki/Alligation","type":"reference","retrieved_at":"2026-09-24"},{"name":"LibreTexts – Solution Concentration and Dilution","url":"https://chem.libretexts.org/Bookshelves/General_Chemistry/Chemistry_1e_(OpenSTAX)/03%3A_Composition_of_Substances_and_Solutions/3.3%3A_Molarity","type":"textbook","retrieved_at":"2026-09-24"}],"freshness":{"type":"static","max_age_seconds":null,"note":"Deterministic formula with fixed constants; results never go stale. Inputs supplied by the caller determine the output."},"examples":[{"name":"100 mL of 0.5 M plus 300 mL of 0.1 M","inputs":{"concentration_1":0.5,"volume_1":100,"concentration_2":0.1,"volume_2":300},"expected":{"final_concentration":0.2,"total_volume":400,"total_solute_amount":80,"ratio_1_to_2":0.333333,"fraction_1_percent":25,"solved_for":"final_concentration"},"url":"https://tttkmbb.com/api/v1/calculate/mixing-solutions?concentration_1=0.5&volume_1=100&concentration_2=0.1&volume_2=300"},{"name":"500 mL of 40 % from 70 % and 20 % stocks","inputs":{"concentration_1":70,"concentration_2":20,"target_concentration":40,"total_volume":500},"expected":{"parts_1":20,"parts_2":30,"ratio_1_to_2":0.666667,"volume_1":200,"volume_2":300,"fraction_1_percent":40,"final_concentration":40,"solved_for":"volumes"},"url":"https://tttkmbb.com/api/v1/calculate/mixing-solutions?concentration_1=70&concentration_2=20&target_concentration=40&total_volume=500"}],"faq":[{"q":"Which units can I use?","a":"Any, as long as both concentrations share one unit and both volumes share one unit; a 0 concentration represents pure solvent, so the calculator also covers dilution with water."},{"q":"What is alligation?","a":"A cross-multiplication shortcut for mixtures: the parts of each stock are the absolute differences between the target and the other stock's concentration, which is exactly the solution of C1·V1 + C2·V2 = C·(V1 + V2)."}],"tags":["mixing solutions","alligation","final concentration","combine solutions","blend two stocks","c1v1 + c2v2"],"related":[{"calculator_id":"dilution","reason":"Single-stock dilution with C1V1 = C2V2."},{"calculator_id":"molarity","reason":"Prepare each stock from solid solute."},{"calculator_id":"weighted-average","reason":"The mixing formula is a volume-weighted average of the concentrations."}],"links":{"html":"https://tttkmbb.com/chemistry/mixing-solutions","markdown":"https://tttkmbb.com/chemistry/mixing-solutions.md","json":"https://tttkmbb.com/chemistry/mixing-solutions.json","api":"https://tttkmbb.com/api/v1/calculate/mixing-solutions","schema":"https://tttkmbb.com/api/v1/calculators/mixing-solutions","openapi":"https://tttkmbb.com/openapi.json","mcp":"https://tttkmbb.com/mcp"},"version":"v1","updated_at":"2026-09-24"},"timestamp":"2026-09-24T01:48:39Z","next_actions":[{"tool":"run_calculator","calculator_id":"mixing-solutions","reason":"Run Solution Mixing Calculator with the inputs above."}],"links":{"markdown":"https://tttkmbb.com/chemistry/mixing-solutions.md"}}