Metadata-Version: 2.4
Name: chemistry-ai999x
Version: 1.5.0
Summary: Offline chemistry solver: stoichiometry, gas laws, solutions, chemical equilibrium, acids and bases, kinetics, thermochemistry, electrochemistry, molecular properties and spectroscopy, with steps, LaTeX and honest refusals
Author-email: AI999X Labs <support@ai999x.com>, Ibnul Jaif Farabi <ibnuljaiffarabi@ai999x.com>
Maintainer-email: AI999X Labs <support@ai999x.com>
License: Apache-2.0
Project-URL: Homepage, https://ai999x.com
Project-URL: Hugging Face, https://huggingface.co/AI999X/chemistry-ai999x
Project-URL: Funding, https://buymeacoffee.com/ibnuljaiffarabi
Keywords: chemistry,stoichiometry,gas-laws,solutions,equilibrium,acid-base,ph,kinetics,thermochemistry,electrochemistry,spectroscopy,ai999x,offline,cpu,education,step-by-step,latex,solver
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Developers
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Education
Classifier: Development Status :: 5 - Production/Stable
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: NOTICE
Requires-Dist: sympy>=1.12
Requires-Dist: mpmath>=1.3
Provides-Extra: plot
Requires-Dist: matplotlib>=3.7; extra == "plot"
Provides-Extra: all
Requires-Dist: matplotlib>=3.7; extra == "all"
Requires-Dist: numpy>=1.24; extra == "all"
Dynamic: license-file

# chemistry-ai999x: offline, verified chemistry solver with step-by-step answers

**[Desktop app & command line](https://www.ai999x.com/desktop-cli/)** · **[Compute in your browser](https://www.ai999x.com/models/chemistry-ai999x/#try)** · **[Install (Python)](https://pypi.org/project/chemistry-ai999x/)** · **[Guides](https://huggingface.co/AI999X/chemistry-ai999x/tree/main/docs)** · **[Evaluation](https://huggingface.co/AI999X/chemistry-ai999x/tree/main/evaluation)** · **[AI999X on Hugging Face](https://huggingface.co/AI999X)** · **[Website](https://ai999x.com)** · **[Support: Buy Me a Coffee](https://buymeacoffee.com/ibnuljaiffarabi)**

License: Apache-2.0 · Author: Ibnul Jaif Farabi (creator and engineer) · Organization: AI999X · Version 1.5.0

Field: **Physical Sciences** · Tasks: Question Answering

chemistry-ai999x is an offline, deterministic chemistry solver written in Rust: a desktop app, a command-line program, a browser module and a Python package. It answers chemistry questions with verified results from 103 certified capabilities, gives 377 documented answers identically on Windows and Linux, and refuses rather than guesses when an answer cannot be verified.

**chemistry-ai999x** reads a question in plain English (or a typed call), picks a certified chemistry capability, computes the answer exactly, checks it, and returns the result with its steps, units, LaTeX and assumptions, or a refusal that says what is missing. It runs fully offline on any CPU, needs no GPU, no API key and no internet, and is built to give **zero wrong answers**: when it is not sure, it refuses instead of guessing.

[![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-support%20development-FFDD00?logo=buymeacoffee&logoColor=black)](https://buymeacoffee.com/ibnuljaiffarabi) ![License](https://img.shields.io/badge/license-Apache--2.0-blue) ![Python](https://img.shields.io/badge/python-3.10%20%7C%203.11%20%7C%203.12%20%7C%203.13%20%7C%203.14-blue) ![Offline](https://img.shields.io/badge/runs-offline%20on%20CPU-green) ![Rust](https://img.shields.io/badge/Rust-Windows%20%7C%20Linux%20%7C%20WebAssembly-orange)

**Run it your way.** chemistry-ai999x comes as the AI999X desktop app and as the command-line program `chemistry` for Windows and Linux, runs in your browser as WebAssembly, and installs as a Python package. The desktop app, the command line and the browser run the same compiled Rust program on your own device: offline, no Python needed.

## Get it

| Way to run it | For | Get it |
|---|---|---|
| **AI999X Chemistry desktop app** 1.5.0 | Windows, Linux. This model in its own app: search, ask in words, forms, live figures, explanations, offline | [Windows (x86-64)](https://downloads.ai999x.com/desktop/1.5.0/ai999x-chemistry-1.5.0-windows-x86_64.zip) · [Linux (x86-64)](https://downloads.ai999x.com/desktop/1.5.0/ai999x-chemistry-1.5.0-linux-x86_64.tar.gz) |
| **AI999X desktop app** 1.5.0 | Windows, Linux. Every AI999X model in one app: search, ask in words, forms, live figures, explanations, offline | [Windows (x86-64)](https://downloads.ai999x.com/desktop/1.5.0/ai999x-1.5.0-windows-x86_64.zip) · [Linux (x86-64)](https://downloads.ai999x.com/desktop/1.5.0/ai999x-1.5.0-linux-x86_64.tar.gz) |
| **Command line** (`chemistry`) | Windows, Linux. One program per model, offline, no Python | [Windows (x86-64)](https://downloads.ai999x.com/desktop/1.5.0/ai999x-cli-1.5.0-windows-x86_64.zip) · [Linux (x86-64)](https://downloads.ai999x.com/desktop/1.5.0/ai999x-cli-1.5.0-linux-x86_64.tar.gz) |
| **In your browser** | any device. Nothing to install | [Compute on the model page](https://www.ai999x.com/models/chemistry-ai999x/#try) |
| **Python** | Python 3.10+ | `pip install chemistry-ai999x` |

Checksums: [SHA256SUMS](https://downloads.ai999x.com/desktop/1.5.0/SHA256SUMS) · every version: [https://downloads.ai999x.com/desktop/latest/](https://downloads.ai999x.com/desktop/latest/) · install guide: [desktop & command line](https://www.ai999x.com/desktop-cli/)

## Quick start

### Desktop app

Download **AI999X Chemistry** for your system (above), unpack it and start it; type a question in words or pick a capability, fill in the form and press Compute. Figures and an explanation of the answer appear beside it. The AI999X desktop app has the same, with Chemistry among all AI999X models.

Linux, from a terminal:

```bash
curl -LO https://downloads.ai999x.com/desktop/1.5.0/ai999x-chemistry-1.5.0-linux-x86_64.tar.gz
curl -LO https://downloads.ai999x.com/desktop/1.5.0/SHA256SUMS
sha256sum -c --ignore-missing SHA256SUMS
tar xzf ai999x-chemistry-1.5.0-linux-x86_64.tar.gz
./ai999x-chemistry-1.5.0-linux-x86_64/ai999x-chemistry
```

### Command line

Linux:

```bash
curl -LO https://downloads.ai999x.com/desktop/1.5.0/ai999x-cli-1.5.0-linux-x86_64.tar.gz
curl -LO https://downloads.ai999x.com/desktop/1.5.0/SHA256SUMS
sha256sum -c --ignore-missing SHA256SUMS
mkdir -p ~/.local/share && tar xzf ai999x-cli-1.5.0-linux-x86_64.tar.gz -C ~/.local/share
echo 'export PATH="$HOME/.local/share/ai999x-cli-1.5.0-linux-x86_64:$PATH"' >> ~/.bashrc && source ~/.bashrc
chemistry --version
```

Windows (PowerShell):

```powershell
$F = "ai999x-cli-1.5.0-windows-x86_64.zip"
Invoke-WebRequest "https://downloads.ai999x.com/desktop/1.5.0/$F" -OutFile $F
Invoke-WebRequest "https://downloads.ai999x.com/desktop/1.5.0/SHA256SUMS" -OutFile SHA256SUMS
(Get-FileHash $F -Algorithm SHA256).Hash.ToLower() -eq ((Select-String -SimpleMatch $F SHA256SUMS).Line -split ' ')[0]
Expand-Archive $F -DestinationPath "$env:LOCALAPPDATA\AI999X" -Force
$D = "$env:LOCALAPPDATA\AI999X\ai999x-cli-1.5.0-windows-x86_64"; $env:Path += ";$D"
[Environment]::SetEnvironmentVariable("Path", [Environment]::GetEnvironmentVariable("Path", "User") + ";$D", "User")
chemistry --version
```

Every command below was run as shown; the text under it is what the program printed.

**Ask in words**: Write the question as you would say it: the program reads the quantities and their units, picks the capability and answers.

```console
$ chemistry ask "What is the pH of 0.10 M acetic acid (Ka = 1.8 × 10^-5)?"
Read as: pH of a weak acid
pH = 2.87527706
h = 1.332670977 mol/m^3
percent_ionized = 1.332670969
  by: pH of a weak acid  (exact charge balance (no 5% approximation), solved by bisection)
  Ka = 1.8e-05
  c = 100 mol/m^3
  assumes: monoprotic acid; 25 °C
```

**What a capability needs**: The equation or method, every input and output with its SI unit. Read this before solve: it tells you the input names.

```console
$ chemistry info ph_weak_acid
pH of a weak acid
  exact charge balance (no 5% approximation), solved by bisection
  in   Ka       acid dissociation constant []
  in   c        acid concentration [mol/m^3]
  out  pH       pH []
  out  h        [H3O+] [mol/m^3]
  out  percent_ionized percent ionization []
```

**Solve**: Inputs as name=value, each with any unit of the right kind. The answer lists every output, the method used, each input converted to SI, and the conditions the answer assumes.

```console
$ chemistry solve ph_weak_acid Ka=1.8e-05 "c=100 mol/m^3"
pH = 2.87527706
h = 1.332670977 mol/m^3
percent_ionized = 1.332670969
  by: pH of a weak acid  (exact charge balance (no 5% approximation), solved by bisection)
  Ka = 1.8e-05
  c = 100 mol/m^3
  assumes: monoprotic acid; 25 °C
```

**Many questions at once**: One JSON request per line in, one JSON answer per line out, in order: for scripts, notebooks and agents (the program starts once). In PowerShell: Get-Content cases.jsonl | chemistry batch

`cases.jsonl`:

```json
{"key": "ph_weak_acid", "inputs": {"Ka": 1.8e-05, "c": "100 mol/m^3"}}
{"key": "balance_equation", "inputs": {"equation": "C3H8 + O2 -> CO2 + H2O"}}
```

```console
$ chemistry batch < cases.jsonl
{"outcome":"SOLVED","message":"","value":2.8752770603192666,"unit":"","solved_for":"pH","si":[["Ka",0.000018],["c",100.0]],"values":[["pH",2.8752770603192666,""],["h",1.332670976855007,"mol/m^3"],["percent_ionized",1.3326709693512784,""]],"target":"pH","phrase":"pH","assumptions":["monoprotic acid","25 °C"],"name":"pH of a weak acid","equation":"exact charge balance (no 5% approximation), solved by bisection"}
{"outcome":"SOLVED","message":"","value":null,"unit":"","solved_for":"balanced","values":[["coefficients",[1.0,5.0,3.0,4.0],""],["balanced","C3H8 + 5 O2 -> 3 CO2 + 4 H2O",""]],"target":"balanced","phrase":"the balanced equation","assumptions":["one independent way to balance (a one-dimensional null space)","neutral species"],"name":"Balancing a chemical equation","equation":"exact rational null space of the element-conservation matrix, scaled to the smallest whole numbers"}
```

### In your browser

Open [Chemistry on ai999x.com](https://www.ai999x.com/models/chemistry-ai999x/#try), choose a capability and press **Compute**: the model runs on your own device as WebAssembly; nothing is sent anywhere. Change any input (any unit of the right kind) and the answer, its explanation and the figures follow.

In your own page: `chemistry_ai999x.wasm` and the loader `ax-wasm.js` (https://www.ai999x.com/compute/rust/ax-wasm.js).

### Python

```bash
pip install chemistry-ai999x
```

## Worked examples in every form

The same worked example from the command line, from Python and in the browser. Each command-line output is what the program printed.

### Buffer pH (Henderson-Hasselbalch)

The pH of a buffer from the acid's Ka (or pKa) and the concentrations of the weak acid and its conjugate base.

Command line:

```console
$ chemistry solve buffer_ph Ka=1.737800829e-05 "c_base=150 mol/m^3" "c_acid=100 mol/m^3"
pH = 4.936091259
  by: Buffer pH (Henderson-Hasselbalch)  (Henderson-Hasselbalch equation)
  Ka = 1.737800829e-05
  c_base = 150 mol/m^3
  c_acid = 100 mol/m^3
  assumes: both concentrations well above Ka and [H3O+]
```

Python:

```python
import chemistry_ai999x as m

a = m.solve("buffer_ph", Ka="1.737800829e-05", c_base="150 mol/m^3", c_acid="100 mol/m^3")
print(a.values or (a.value, a.unit))
```

Browser: [open this capability on the model page](https://www.ai999x.com/models/chemistry-ai999x/#cap-buffer_ph) and press **Compute in your browser**.

_What this means:_ This calculation determines the pH of a buffer solution using the Henderson-Hasselbalch equation. By combining the pKa, which is derived from the input Ka value of 1.7378e-05, with the logarithm of the ratio between the conjugate base concentration 150 mol/m^3 and the weak acid concentration 100 mol/m^3, the model predicts the equilibrium acidity. The resulting pH value of 4.93609 indicates how resistant the solution is to changes in hydrogen ion concentration, assuming ideal behavior where activity coefficients are close to one.

### Hydronium concentration from pH

[H3O+], [OH-] and pOH from the pH at 25 °C.

Command line:

```console
$ chemistry solve hydronium_from_ph pH=3.2
h = 0.6309573445 mol/m^3
h_molL = 0.0006309573445
pOH = 10.8
oh = 1.584893192e-08 mol/m^3
  by: Hydronium concentration from pH  ([H3O+] = 10^-pH)
  pH = 3.2
  assumes: 25 °C (Kw = 1.0e-14)
```

Python:

```python
import chemistry_ai999x as m

a = m.solve("hydronium_from_ph", pH="3.2")
print(a.values or (a.value, a.unit))
```

Browser: [open this capability on the model page](https://www.ai999x.com/models/chemistry-ai999x/#cap-hydronium_from_ph) and press **Compute in your browser**.

_What this means:_ This calculation determines the ion concentrations in an aqueous solution based on its pH value. Using the definition that hydronium concentration equals ten raised to the negative pH, the result for 3.2 is 0.000630957. The pOH is derived by subtracting the pH from fourteen, yielding 10.8, which corresponds to a hydroxide concentration of 1.58489e-08 mol/m^3. These values describe the acidity or basicity of the solution at standard temperature.

### Ka from the pH of a weak acid

The acid dissociation constant of a weak monoprotic acid from the pH of a solution of known concentration.

Command line:

```console
$ chemistry solve ka_from_ph pH=2.87 "c=100 mol/m^3"
Ka = 1.844583597e-05
pKa = 4.734101658
  by: Ka from the pH of a weak acid  ([A-] from the charge balance at the measured pH, then the mass-action expression)
  pH = 2.87
  c = 100 mol/m^3
  assumes: monoprotic weak acid; 25 °C
```

Python:

```python
import chemistry_ai999x as m

a = m.solve("ka_from_ph", pH="2.87", c="100 mol/m^3")
print(a.values or (a.value, a.unit))
```

Browser: [open this capability on the model page](https://www.ai999x.com/models/chemistry-ai999x/#cap-ka_from_ph) and press **Compute in your browser**.

_What this means:_ This calculation determines the acid dissociation constant for a weak monoprotic acid using experimental data. By applying the charge balance equation to find the conjugate base concentration and substituting it into the mass-action expression, the model computes Ka as 1.84458e-05 and pKa as 4.7341. These values quantify the strength of the acid in solution, indicating how readily it donates protons under the specific conditions of 25 degrees Celsius.

### pH during a strong acid - strong base titration

The pH after adding a volume of strong base to a strong monoprotic acid (exact, any point of the titration).

Command line:

```console
$ chemistry solve titration_ph_strong_acid_strong_base "V_a=2.5e-05 m^3" "c_a=100 mol/m^3" "c_b=100 mol/m^3" "V_b=1e-05 m^3"
pH = 1.367976785
  by: pH during a strong acid - strong base titration  (excess strong acid or base after mixing, with water's ionization (exact at the equivalence point too))
  V_a = 2.5e-05 m^3
  c_a = 100 mol/m^3
  c_b = 100 mol/m^3
  V_b = 1e-05 m^3
  assumes: strong monoprotic acid titrated with a strong monohydroxide base; 25 °C
```

Python:

```python
import chemistry_ai999x as m

a = m.solve("titration_ph_strong_acid_strong_base", V_a="2.5e-05 m^3", c_a="100 mol/m^3", c_b="100 mol/m^3", V_b="1e-05 m^3")
print(a.values or (a.value, a.unit))
```

Browser: [open this capability on the model page](https://www.ai999x.com/models/chemistry-ai999x/#cap-titration_ph_strong_acid_strong_base) and press **Compute in your browser**.

_What this means:_ This calculation determines the pH at any point during a titration of a strong monoprotic acid with a strong monohydroxide base. It uses the initial acid concentration 100 mol/m^3 and volume 2.5e-05 m^3, along with the added base concentration 100 mol/m^3 and volume 1e-05 m^3, to find the net hydronium ion concentration. By accounting for water's autoionization, it provides an exact result, yielding a final pH of 1.36798. This value indicates whether the solution is acidic, neutral, or basic based on the relative amounts of reactants mixed.

## Documentation

- **Rust user guide**: the command line, every capability with a command and what it printed: [PDF](https://huggingface.co/AI999X/chemistry-ai999x/blob/main/docs/chemistry_ai999x_rust_guide.pdf) · [Markdown](https://huggingface.co/AI999X/chemistry-ai999x/blob/main/docs/chemistry_ai999x_rust_guide.md)
- **Python guide**: every capability with a Python example: [PDF](https://huggingface.co/AI999X/chemistry-ai999x/blob/main/docs/chemistry_ai999x_capabilities.pdf) · [Markdown](https://huggingface.co/AI999X/chemistry-ai999x/blob/main/docs/chemistry_ai999x_capabilities.md)
- **Desktop app & command line**: downloads, install, ask and search, figures, offline use, checksums: https://www.ai999x.com/desktop-cli/
- **Model page**: compute in your browser, every capability explained: https://www.ai999x.com/models/chemistry-ai999x/

## Highlights

- **Verified, not generated.** Every answer is computed by a certified chemistry capability and checked (substituted back, dimension-checked or compared with an independent computation) before it is returned.
- **Zero wrong answers by design.** Seven explicit outcomes (SOLVED, NEEDS_INPUT, AMBIGUOUS, INVALID_INPUT, OUT_OF_SCOPE, UNRECOGNIZED_FORMAT, INTERNAL_ERROR), never a silent guess. Every one of its 377 documented answers is reproduced exactly on every tested platform.
- **Plain-English questions and a guaranteed typed interface.** `ask()` reads documented question forms; `solve(capability_id, **inputs)` always solves a supported task with valid inputs.
- **Explains itself.** Steps, formulas in LaTeX, units, assumptions and the model used, ready for notebooks, tutoring apps and homework checkers.
- **Native and in the browser.** Every capability also computes natively in Rust: the desktop app and the `chemistry` command line for Windows and Linux, and WebAssembly on the model page, no Python, no network.
- **Small and portable.** Pure Python (sympy, mpmath); identical answers on Windows and Linux (Python 3.10, 3.11, 3.12, 3.13, 3.14).
- **Coverage:** stoichiometry, gas laws, solutions, chemical equilibrium, acids and bases, kinetics, thermochemistry, electrochemistry, molecular properties and spectroscopy.

## Model overview

| Property | Value |
|---|---|
| Package | `chemistry-ai999x` 1.5.0 (import `chemistry_ai999x`) |
| Type | Deterministic neuro-symbolic chemistry engine (rule-based reading + certified symbolic capabilities) |
| Capabilities | 103 certified procedures |
| Knowledge pack | version 1.0.1 |
| Golden answers | 377 documented answers, identical on every tested platform |
| Platforms tested | Windows (Python 3.13), Linux x86-64 (Python 3.10, 3.11, 3.12, 3.13, 3.14) |
| Runtime | CPU only, offline; no GPU, no network, no API key |
| License | Apache-2.0 |
| Creator / engineer | Ibnul Jaif Farabi |
| Organization | AI999X |

## Python quick start

```bash
pip install chemistry-ai999x
```

```python
import chemistry_ai999x as chemistry

chemistry.ask("What is the pH of 0.10 M acetic acid (Ka = 1.8 \u00d7 10^-5)?").show()
# -> SOLVED — pH = 2.87528, h = 1.33267, percent_ionized = 1.33267  (ph_weak_acid)
chemistry.ask("Balance the equation C3H8 + O2 -> CO2 + H2O.").show()
# -> SOLVED — coefficients = [1.0, 5.0, 3.0, 4.0], balanced = C3H8 + 5 O2 -> 3 CO2 + 4 H2O  (balance_equation)
chemistry.ask("What is the molar mass of CuSO4\u00b75H2O?").show()
# -> SOLVED — M = 0.249684, M_g = 249.684  (molar_mass)
chemistry.solve("ideal_gas_pressure", n="2.0 mol", V="10 L", T="300 K").show()
# -> SOLVED — P = 498868, P_atm = 4.92344  (ideal_gas_pressure)
chemistry.ask("A reaction has k = 1.2e-3 s^-1 at 300 K and Ea = 75.0 kJ/mol. What is k at 350 K?").show()
# -> SOLVED — k2 = 0.0880375, ratio = 73.3646  (arrhenius_k2)
chemistry.ask("Who created you?").message
# -> chemistry-ai999x was created and engineered by Ibnul Jaif Farabi at AI999X.
```

The Python package also installs a Python command, `chemistry-ai999x "<question>"`; for the native program use `chemistry` (above). The outputs above were produced by running this exact code on chemistry-ai999x 1.5.0.

## How every answer is verified

1. **Reading**: the question is turned into typed quantities (value, unit, kind, role) and one asked quantity; every stated number must be used or the question is refused.
2. **Planning**: only certified capabilities may answer; a capability applies only under the conditions the wording states (for example a pendulum, a liquid at rest, boiling).
3. **Computing**: exact symbolic or high-precision numeric evaluation.
4. **Checking**: dimensions, substitution back into the defining equation, and agreement between independent readings; any disagreement becomes a refusal, never a number.

Capabilities are certified before they ship: each must reproduce hand-worked reference cases, reject a deliberately wrong variant (a control), and leave every benchmark answer unchanged.

## Python worked examples, with their steps

Each question was put to `chemistry-ai999x`; the answer is the one it returned, with the steps it took.

**pH of a weak acid** · _Acids and bases_

> What is the pH of 0.10 M acetic acid (Ka = 1.8 × 10^-5)?

→ **pH = 2.87527706, h = 1.332670977 mol/m^3, percent_ionized = 1.332670969**

<details><summary>Steps</summary>

- pH of a weak acid: Ka = 1.8e-05, c = 100 mol/m^3 → pH = 2.87527706, h = 1.332670977 mol/m^3, percent_ionized = 1.332670969

</details>

**Balancing a chemical equation** · _Stoichiometry_

> Balance the equation C3H8 + O2 -> CO2 + H2O.

→ **coefficients = [1, 5, 3, 4], balanced = C3H8 + 5 O2 -> 3 CO2 + 4 H2O**

<details><summary>Steps</summary>

- Balancing a chemical equation: equation = C3H8 + O2 -> CO2 + H2O → coefficients = [1, 5, 3, 4], balanced = C3H8 + 5 O2 -> 3 CO2 + 4 H2O

</details>

**Molar mass of a formula** · _Stoichiometry_

> What is the molar mass of CuSO4·5H2O?

→ **M = 0.249684 kg/mol, M_g = 249.684**

<details><summary>Steps</summary>

- Molar mass of a formula: formula = CuSO4·5H2O → M = 0.249684 kg/mol, M_g = 249.684 kg/mol

</details>

**Ideal gas law: pressure** · _Gases_

`m.solve("ideal_gas_pressure", n="2.0 mol", V="10 L", T="300 K")`

→ **P = 498867.7571 Pa, P_atm = 4.923441965**

<details><summary>Steps</summary>

- Ideal gas law: pressure: n = 2 mol, V = 10 L, T = 300 K → P = 498867.7571 Pa, P_atm = 4.923441965 Pa

</details>

**Arrhenius equation: rate constant at another temperature** · _Kinetics_

> A reaction has k = 1.2e-3 s^-1 at 300 K and Ea = 75.0 kJ/mol. What is k at 350 K?

→ **k2 = 0.08803749544, ratio = 73.36457954**

<details><summary>Steps</summary>

- Arrhenius equation: rate constant at another temperature: k1 = 0.0012, T1 = 300 K, Ea = 75000 J/mol, T2 = 350 K → k2 = 0.08803749544, ratio = 73.36457954

</details>

**Gibbs energy from a cell potential** · _Electrochemistry_

> A cell has E° = 1.10 V and n = 2. What is ΔG°?

→ **dG = -212267.7307 J/mol, dG_kJ = -212.2677307**

<details><summary>Steps</summary>

- Gibbs energy from a cell potential: n = 2, E = 1.1 V → dG = -212267.7307 J/mol, dG_kJ = -212.2677307 J/mol

</details>

## Figures

Every point was computed by `chemistry-ai999x`.

**Titration curve with the buffer region**

![Titration curve with the buffer region, computed by chemistry-ai999x](https://huggingface.co/AI999X/chemistry-ai999x/resolve/main/figures/titration-ph-weak-acid-strong-base-titration.svg)

_pH against volume of 0.100 M NaOH added to 25.0 mL of 0.100 M acid, computed by the package at 101 volumes for a strong acid and a weak acid (Ka = 1.8e-5). Shaded: the weak acid's buffer region, 10 % to 90 % neutralised (pH 3.79886 to 5.69915); at half-equivalence pH = 4.7452 (= pKa). Marked: equivalence V_b = 25 mL, pH = 8.7219._

**Reaction scheme A → B → C with its rate constants**

![Reaction scheme A → B → C with its rate constants, computed by chemistry-ai999x](https://huggingface.co/AI999X/chemistry-ai999x/resolve/main/figures/consecutive-first-order-scheme.svg)

_The consecutive first-order reaction A → B → C with k1 = 0.1 1/s and k2 = 0.05 1/s, starting from A0 = 1000 mol/m³: the concentrations the package returns at t = 10 s are A = 367.879, B = 477.302 and C = 154.818 mol/m³._

**Species shares over time, stacked**

![Species shares over time, stacked, computed by chemistry-ai999x](https://huggingface.co/AI999X/chemistry-ai999x/resolve/main/figures/consecutive-first-order-shares.svg)

_How the starting 1000 mol/m³ of A divides between A, B and C over time (stacked shares, k1 = 0.1 1/s, k2 = 0.05 1/s), each concentration computed by the package at 80 times. B is largest near t = 14 s (499.977 mol/m³, a share of 0.499977); at t = 80 s the shares are 0.000335463, 0.0359604 and 0.963704._

**Hydrogen line spectrum: Lyman, Balmer and Paschen series**

![Hydrogen line spectrum: Lyman, Balmer and Paschen series, computed by chemistry-ai999x](https://huggingface.co/AI999X/chemistry-ai999x/resolve/main/figures/hydrogen-transition-wavelength-spectrum.svg)

_The hydrogen line spectrum: wavelength of the first six lines of three series, computed by the package (Rydberg formula), each drawn at its photon energy (also computed by the package). Ranges: Lyman 121.568–93.0758 nm; Balmer 656.47–389.019 nm; Paschen 1875.63–923.16 nm. Marked: Hα (n = 3 → 2), λ = 656.47 nm, E = 1.88865 eV._

**Concentration against time: zero, first and second order**

![Concentration against time: zero, first and second order, computed by chemistry-ai999x](https://huggingface.co/AI999X/chemistry-ai999x/resolve/main/figures/first-order-concentration-kinetics.svg)

_Reactant concentration against time from A0 = 500 mol/m³ for zero-, first- and second-order rate laws with the same initial rate (2 mol/(m³·s)), each computed by the package at up to 121 times. At t = 200 s: 100, 224.664 and 277.778 mol/m³; marked: t = 200 s, [A] = 224.664 mol/m³ (first order)._

**Arrhenius plot: rate constant against inverse temperature**

![Arrhenius plot: rate constant against inverse temperature, computed by chemistry-ai999x](https://huggingface.co/AI999X/chemistry-ai999x/resolve/main/figures/arrhenius-rate-constant-arrhenius.svg)

_Arrhenius plot: the rate constant (logarithmic axis) against 1000/T for A = 1.0000e+13 1/s and Ea = 100 kJ/mol, computed by the package at 61 temperatures from 350 K to 650 K, a straight line of slope −Ea/R. Marked: T = 500 K, k = 357.5 1/s._

## Capabilities

103 certified procedures. A few of them:

- **Procedures:** Activation energy from two rate constants; Arrhenius equation: rate constant; Arrhenius equation: rate constant at another temperature; Atoms of an element in a mass of compound; Balancing a chemical equation; Beer-Lambert law: absorbance; Beer-Lambert law: concentration; Boiling-point elevation; Boyle's law: final pressure; Boyle's law: final volume; Buffer pH (Henderson-Hasselbalch); Charles's law: final volume; Clausius-Clapeyron: enthalpy of vaporization; Clausius-Clapeyron: vapor pressure at another temperature; Combined gas law: final pressure; Combined gas law: final temperature; Combined gas law: final volume; Consecutive first-order reactions (A -> B -> C); Degree of unsaturation; Density of an ideal gas; Dilution: final concentration; Dilution: volume of stock needed; Empirical formula from percent composition; Energy of a photon from its wavelength …

`chemistry_ai999x.templates()` lists every question form `ask()` reads; the capability guide (PDF, every example executed) is included in this repository.

## Out of scope

- Open-ended explanation, essay writing or tutoring dialogue: it is a solver, not a chatbot.
- Questions outside its certified chemistry capabilities, and any question whose stated numbers it cannot all use: it refuses with the reason instead.
- High-stakes engineering, medical or legal decisions without independent review.

## Limitations

- It answers what its certified capabilities cover (stoichiometry, gas laws, solutions, chemical equilibrium, acids and bases, kinetics, thermochemistry, electrochemistry, molecular properties and spectroscopy); anything else is refused with a reason.
- `ask()` reads documented question forms and common phrasings; unusual wording may be refused; use `solve()` for guaranteed results.
- Results are as correct as the certified relations and their stated conditions; a certified relation is a checked model, not a claim about every physical situation.

## Citation

```bibtex
@software{chemistry_ai999x_1_5_0,
  title  = {chemistry-ai999x: an offline, verified chemistry solver},
  author = {Farabi, Ibnul Jaif}, organization = {AI999X},
  year   = {2026}, version = {1.5.0},
  url    = {https://huggingface.co/AI999X/chemistry-ai999x}
}
```

## Contact

Questions, bug reports and requests: open a discussion on https://huggingface.co/AI999X/chemistry-ai999x/discussions or visit https://ai999x.com.

## Support the project

chemistry-ai999x is free and open source. If it helps you, you can support further development on [Buy Me a Coffee](https://buymeacoffee.com/ibnuljaiffarabi).

Created and engineered by **Ibnul Jaif Farabi** · **[AI999X](https://huggingface.co/AI999X)** · [ai999x.com](https://ai999x.com)
