# Bicarbonate for a target culture medium pH at a set incubator CO2, version 1.0.0

bicarbonate-for-medium-ph\@1.0.0: this version's equations with their symbols, each constant's value, their sources and whether each was read, a worked example where the record holds one, its level and what it was checked against, the number of cases, and what was not checked. This version's record is not rewritten; a correction is added under Changes.

## What this page can and cannot show

**Level: Checked against a reference; one published medium; CO2 incubator only. Reference kind: our own exact-arithmetic script and a hand-worked case; a published dataset, Michl et al. 2019 Supplementary Data 2 (measured pH), CPython 3.13.18, decimal at 50 digits; openpyxl 3.1.5.**

Checked by this project, not independently reviewed. Every method on this page has its equations, constants, sources and cases on record, and its cases agree with the stated reference within the stated tolerance. A reader can follow each method's worked example by hand; that shows the stated method gives the stated answer for one set of inputs, and does not test the code. The other cases and their values are not printed, so a reader cannot re-run these checks. No independent scientist has yet reviewed them.

[Every version of this method](https://www.drybench.com/methods/m/bicarbonate-for-medium-ph) · [Every method](https://www.drybench.com/methods/m) · [What the levels mean](https://www.drybench.com/methods/levels)

## Version 1.0.0

**Level: Checked against a reference; one published medium; CO2 incubator only. Reference kind: our own exact-arithmetic script and a hand-worked case; a published dataset, Michl et al. 2019 Supplementary Data 2 (measured pH), CPython 3.13.18, decimal at 50 digits; openpyxl 3.1.5.** `bicarbonate-for-medium-ph@1.0.0`

Built, not hosted. Generated from a snapshot of the library's records taken on 2026-11-25, as committed on 2026-11-25. A later snapshot replaces this one, so these records and this page can change.

\[HCO3⁻\] = \[CO2\]·10^(pH − 6.15) with \[CO2\] = 0.024 M/atm times the CO2 fraction of one atmosphere (the inverse of Michl et al. 2019, Eq. 1), refused when the bicarbonate needed falls outside 11 to 44 mM, ends included, the range checked against measured pH.

- **How results are reported:** none: full double precision
- **Uncertainty:** Against measured pH in one published medium (Michl et al. 2019, Fig. 1c and Supplementary Data 2), read backwards: at the conditions whose answer falls inside the checked bicarbonate range, the bicarbonate given for the mean measured pH differed from what the medium held by at most the value given. The same residuals on the pH scale are the prediction error of medium-ph-bicarbonate. Below the checked range Eq. 1 underestimated pH, as the source reports for low bicarbonate. No other medium, serum level or added buffer was checked.
- **Every reply through it says:** The incubator CO2 percentage is taken as a fraction of one atmosphere at 37 °C, as in the measured check; altitude, water vapour and added buffers are not corrected for.
- **Reference, as its record states it:** the source's own measured pH read backwards (Fig. 1c, Supplementary Data 2) within the stated prediction error, and 50-digit arithmetic of the inverse with a hand-worked case
- **Level confirmed by this project's ruling of** 14 November 2026

[What this page can and cannot show](#what-this-page-can-and-cannot-show)

### What was checked

62 cases in 3 files, linked by this exact version.

Run through the tool at build against our own exact-arithmetic script and a hand-worked case; a published dataset, Michl et al. 2019 Supplementary Data 2 (measured pH), CPython 3.13.18, decimal at 50 digits; openpyxl 3.1.5: 54 agree within the tolerance the file states, 8 refuse as the case expects, 0 differ, 0 were not run.

- **File 1, 9 cases**
  - **Where the expected values came from:** our own exact-arithmetic script and a hand-worked case
  - **Recorded on:** 2026-11-11
  - **Reference:** CPython decimal at 50 digits, CPython 3.13.18, decimal at 50 digits; openpyxl 3.1.5; licence PSF-2.0
  - **Tolerance as the file states it:** Bicarbonate and dissolved CO2 relative 1e-12 with a floor of 1e-15 mM below 1e-3 mM; statuses and codes exact

- **File 2, 9 cases**
  - **Where the expected values came from:** a published dataset, Michl et al. 2019 Supplementary Data 2 (measured pH) CPython 3.13.18, decimal at 50 digits; openpyxl 3.1.5
  - **Recorded on:** 2026-11-11
  - **Reference:** Michl et al. 2019 Supplementary Data 2 (measured pH), CPython 3.13.18, decimal at 50 digits; openpyxl 3.1.5; licence PSF-2.0
  - **Tolerance as the file states it:** Bicarbonate relative 0.0593 against the bicarbonate the medium held (the 0.025 pH prediction error as a factor of ten to its power); dissolved CO2 relative 1e-12; statuses and codes exact

- **File 3, 44 cases**
  - **Where the expected values came from:** our own exact-arithmetic script and a hand-worked case
  - **Recorded on:** 2026-11-14
  - **Reference:** second implementation (Python 3.13), 2026-11-14; licence BSD-3-Clause
  - **Tolerance as the file states it:** Bicarbonate and dissolved CO2 relative 1e-12 with a floor of 1e-15 mM below 1e-3 mM; statuses and codes exact

Apart from the worked example, the cases and their values are not printed here. This shows agreement with this project's recorded cases. It does not show that a method suits your work, and it is not a qualification.

### What was not checked

The inverse is checked against the same eight measured conditions as the forward equation, read backwards. Everything the forward method does not check applies here, and Eq. 3 with a caller-stated intrinsic buffering is not built.

### Definition or model

A closed form: the result follows from the inputs by the equations alone.

A model of nature: it describes how a system behaves, and can be wrong about it.

Prediction error: Against measured pH in one published medium (Michl et al. 2019, Fig. 1c and Supplementary Data 2), read backwards: at the conditions whose answer falls inside the checked bicarbonate range, the bicarbonate given for the mean measured pH differed from what the medium held by at most the value given. The same residuals on the pH scale are the prediction error of medium-ph-bicarbonate. Below the checked range Eq. 1 underestimated pH, as the source reports for low bicarbonate. No other medium, serum level or added buffer was checked.

### Equations

**Equation 1**

```equation
[CO2] = s·x·p0, s = 0.024 M/atm, x the CO2 fraction, p0 one atmosphere
```

| Symbol | Meaning and unit |
| --- | --- |
| \[CO2\] | dissolved CO2 concentration, mM |
| s | CO2 solubility, M/atm |
| x | the incubator's CO2 fraction, % |
| p0 | one standard atmosphere, atm |

Source: Michl J, Park KC, Swietach P. Evidence-based guidelines for controlling pH in mammalian live-cell culture systems. Commun Biol 2019;2:144, section Setting medium pH by pCO2 and \[HCO3-\]: "CO2 solubility 0.024 M atm-1, i.e. 1.2 mM in 5%", version of record, PubMed Central PMC6486606; read in full on 2026-11-11 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning c46982eb2ebe. Free to read (CC BY 4.0), checked 2026-11-11. No erratum found (searched Crossref metadata: update-to, updated-by and relation fields of the DOI), 2026-11-11.

**Equation 2**

```equation
[HCO3⁻] = [CO2]·10^(pH − pK), pK = 6.15
```

| Symbol | Meaning and unit |
| --- | --- |
| \[HCO3⁻\] | bicarbonate concentration needed, mM |
| \[CO2\] | dissolved CO2 concentration, mM |
| pH | target medium pH, pH |
| pK | apparent pK of CO2/HCO3⁻, pH |

Source: Michl J, Park KC, Swietach P. Evidence-based guidelines for controlling pH in mammalian live-cell culture systems. Commun Biol 2019;2:144, equation 1, section Introduction (printed in general form, pH = pKa + log \[B\]/\[HB\]); applied to CO2 and bicarbonate in "Setting medium pH by pCO2 and \[HCO3-\]", version of record, PubMed Central PMC6486606; read in full on 2026-11-11 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning c46982eb2ebe. Free to read (CC BY 4.0), checked 2026-11-11. No erratum found (searched Crossref metadata: update-to, updated-by and relation fields of the DOI), 2026-11-11.

Two readings: Michl J, Park KC, Swietach P. Evidence-based guidelines for controlling pH in mammalian live-cell culture systems. Commun Biol 2019;2:144, equation 1, section Introduction (printed in general form, pH = pKa + log \[B\]/\[HB\]); applied to CO2 and bicarbonate in "Setting medium pH by pCO2 and \[HCO3-\]" can be read as Eq. 1 solved for bicarbonate or as Eq. 3 with the intrinsic buffering term. This project takes Eq. 1 solved for bicarbonate. Taking Eq. 3 with the intrinsic buffering term would give a different result.

### Conventions

- `CO2_PERCENT_BASIS` = x of one standard atmosphere: Fixed by the method; not an argument. A CO2 percentage is taken as that fraction of one standard atmosphere, with no correction for water vapour or barometric pressure, as Michl et al. did.
- `TEMPERATURE` = the incubation temperature of the measured check: Fixed by the method; not an argument. The constants are used at the incubation temperature of the measured check; the source does not state the temperature of the constants.

### Constants

| Constant | Value and unit | Source | Date read |
| --- | --- | --- | --- |
| apparent pK of the CO2/HCO3⁻ buffer (pK) | 6.15 pH | Michl J, Park KC, Swietach P. Evidence-based guidelines for controlling pH in mammalian live-cell culture systems. Commun Biol 2019;2:144, section Introduction and "Setting medium pH by pCO2 and \[HCO3-\]" (citing the source's ref. 7, not read) | 2026-11-11 |
| CO2 solubility in the medium (s) | 0.024 M/atm | Michl J, Park KC, Swietach P. Evidence-based guidelines for controlling pH in mammalian live-cell culture systems. Commun Biol 2019;2:144, section Setting medium pH by pCO2 and \[HCO3-\] (citing the source's ref. 7, not read) | 2026-11-11 |

### Worked example

Worked example: one case of bicarbonate-for-medium-ph\@1.0.0, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.

**Inputs**

- targetPh = 7.4 pH
- co2 = 5 %
- mediumBuffers = bicarbonateOnly

**Steps**

1. co2 = 1.2 mM, from co2; by equation 1; gives dissolvedCo2.
2. bic = 21.339353 mM, from targetPh, co2; by equation 2; gives bicarbonate.

The working, as the case writes it:

```equation
[CO2] = 1.2 mM
10^(7.4 − 6.15) = 10^1.25 = 17.782794
1.2 × 17.782794 = 21.339353 mM.
```

**Answer**

- `dissolvedCo2` = **1.2 mM**
- `bicarbonate` = **21.339353 mM**

Where these values came from: our own exact-arithmetic script and a hand-worked case; The inverse of Michl's Eq. 1 in 50-digit decimal arithmetic.

At build the tool returned this answer within the tolerance the file states: Bicarbonate and dissolved CO2 relative 1e-12 with a floor of 1e-15 mM below 1e-3 mM; statuses and codes exact.

Who worked this case: not recorded.

### What it refuses, and its input ranges

- `CO2_OUTSIDE_CHECKED_RANGE`: the CO2 percentage is outside the levels at which the equation was checked against measured pH Next: No change of input makes this computable on these data.
- `NON_VOLATILE_BUFFER_PRESENT`: the medium contains a non-volatile buffer such as HEPES, PIPES or MES, where the source shows the two-buffer system is not predicted by this equation Next: No change of input makes this computable on these data.
- `BICARBONATE_OUTSIDE_CHECKED_RANGE`: the bicarbonate the target needs is outside the range at which the equation was checked against measured pH Next: No change of input makes this computable on these data.

**Input ranges:** co2: at least 5 % and at most 10 %; outside it, refused (CO2\_OUTSIDE\_CHECKED\_RANGE).

### Changes

No correction is logged for bicarbonate-for-medium-ph\@1.0.0.

## Tools that use it

- [`cell_bicarbonate_for_ph`](https://www.drybench.com/methods/tools/cell-bicarbonate-for-ph)

## Cite this version

Bicarbonate for a target culture medium pH at a set incubator CO2. Drybench; bicarbonate-for-medium-ph\@1.0.0; [https://www.drybench.com/methods/m/bicarbonate-for-medium-ph/1.0.0](https://www.drybench.com/methods/m/bicarbonate-for-medium-ph/1.0.0) (accessed \[date\]).
