# Cell counting and viability

`calc_cell_counting` · Runs: Built, not hosted · Level: Checked against a reference: exact rational arithmetic

Works out cell density and viability from raw counts over calibrated chamber regions.

From server 1.0.0 this tool is called cell\_density\_viability. Until then it answers as calc\_cell\_counting.

Research and education software; not medical advice, and not for diagnosis or treatment decisions. It computes from the inputs it receives. It does not check the person's data, design or sample.

[Catalogue](https://www.drybench.com/mcp/catalogue) / [Cell culture](https://www.drybench.com/mcp/catalogue/cell-culture)

[Ask your assistant](https://www.drybench.com/mcp/connect) · [Open in Drybench Calc](https://www.drybench.com/calculators/app)

```cite
Cell counting and viability (calc_cell_counting), Drybench MCP server 1.0.0; cell-counting-volume@1.0.0 (Checked against a reference); https://www.drybench.com/mcp/tools/calc-cell-counting
```

## What it is

Required: countMode (live-dead, live-only, total-only). Computes volume-weighted cell density and viability from calibrated chamber region counts, applying dilutionFactor once and pooling region counts and volumes; live-only and total-only counts withhold the outputs they did not measure.

Field: [Cell culture](https://www.drybench.com/mcp/catalogue/cell-culture). It is the same calculation as [Drybench Calc](https://www.drybench.com/calculators/app), called by an AI assistant through the server.

## What it does

**You give**

- `countMode` (required): Which counts each region records.
- `dilutionFactor` (required): Sample dilution factor (1 for undiluted, >= 1).
- `observations` (required): Counted chamber regions (1 to 64); omit count fields not collected in countMode.
- `sampleLabel`: Optional sample label, context only.
- `countOrigin`: Observation origin (default observation).
- `observationTime`: Optional observation timestamp.

and 3 more, listed below

**A request and its answer**

Asked with

- `sampleLabel`: Worked example
- `countOrigin`: example
- `countMode`: live-dead
- `dilutionFactor`: 2

It answered (computed)

- `countMode`: live-dead
- `totalCountedVolume`: 0.0000004 L
- `dilutionFactor`: 2
- `sumLiveCount`: 205 cells
- `sumDeadCount`: 14 cells
- `sumTotalCount`: 219 cells
- `viableDensity`: 1,025,000,000 cells/L
- `totalDensity`: 1,095,000,000 cells/L

Computed by this tool when the page was built. The steps between are not recorded, so this is not a worked example. The reply carries more values than are shown here. One answer to one request, not a reference value.

**Limits**

- Every computed number a reply returns, other than an integer or an exact decimal, is rounded once to 12 significant figures: to the nearest, a change of at most 5 × 10⁻¹² of its value, except that a lower bound is rounded down and an upper bound up, a change of less than 1 × 10⁻¹¹; the method computes, and decides any pass or fail, on the unrounded value.
- No other limit is recorded for this tool.

Every reply also carries its app's limits line: "Density and viability are calculated from the counts, region volumes and dilution factor entered, the dilution applied once; counting uncertainty, sampling error and clumping are not assessed."

### Every input, with its units

9 inputs

- `countMode` (required): Which counts each region records.
- `dilutionFactor` (required): Sample dilution factor (1 for undiluted, >= 1).
- `observations` (required): Counted chamber regions (1 to 64); omit count fields not collected in countMode.
- `sampleLabel`: Optional sample label, context only.
- `countOrigin`: Observation origin (default observation).
- `observationTime`: Optional observation timestamp.
- `observerSource`: Optional observer or source note.
- `chamberGrid`: Optional chamber or grid identifier.
- `geometryNote`: Optional chamber geometry note.

## The calculation

The method's equations, constants and worked example.

### [Cell counting and viability from counted chamber volume](https://www.drybench.com/methods/m/cell-counting-volume/1.0.0)

`cell-counting-volume@1.0.0`

No equation is recorded for this version.

Kind of method: not recorded.

Worked example: not recorded for cell-counting-volume\@1.0.0.

## Sources

No source is recorded for this tool's methods.

Read by AI-assisted sessions. No person has checked these readings.

## How it is checked

**Level:** Checked against a reference.

**Checked against:** Exact rational arithmetic (Python 3.9.6 fractions) from stored reference values on 28 cases, 15 of them refusals, plus 6 receipt-integrity cases; tolerance relative 1e-9, refusals exact (18 October 2026). The receipt reader is checked against stored reference values (0.9.0) on its 25 cell-counting receipts, 11 of them refused (20 October 2026).

**Cases:** 53 on record; not printed here.

**Hostile inputs:** Sent 149 malformed, extreme and misspelt calls. None broke it, and every call with an undeclared argument, or with text in place of a number or a true/false value, was declined with a reason. Run 2026-11-12-2 of 12 November 2026, server 0.11.0.

**Same answer:** Called twice and with its arguments in another order, it gave the same result; rewriting its quantities in other units changed no number (3 rewrites). Run 2026-11-12-2 of 12 November 2026, server 0.11.0.

**Not checked:** Not recorded. Its absence does not mean everything was checked.

No independent scientist has yet reviewed this.

### What this project's records still lack

4 things

- A case worked by hand from the source's equation for cell-counting-volume\@1.0.0.
- The equation for cell-counting-volume\@1.0.0.
- The constants with their sources for cell-counting-volume\@1.0.0.
- A record of what was not checked for cell-counting-volume\@1.0.0.

### Cite a number from this tool

the cite line

Every reply carries a cite line naming the tool, the server version, each method with its version and level, and the receipt. Quote it with any number taken from the reply.

```cite
calc_cell_counting, server 1.0.0; cell-counting-volume@1.0.0 (Checked against a reference); receipt 5e74d449c4ac/99dffe0fce7b; methods https://www.drybench.com/methods/calculators; page https://www.drybench.com/methods/tools/calc-cell-counting. Quote this line with any number taken from this reply.
```

### Changes to its methods

0 changes

No change is logged for these method versions.
