# Poisson uncertainty of a count rate, or the counting time for a wanted precision

`radio_counting_uncertainty` · Runs: On the server · Level: Checked against a reference: exact rational arithmetic with 60-digit square roots: a script of the project's own, on MARLAP Examples 19.9, 19.16 and 19.17, and a second implementation in Python by a separate agent of the same model family

Works out a count rate with its Poisson uncertainty, or the counting time for a wanted precision.

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) / [Radiochemistry](https://www.drybench.com/mcp/catalogue/radiochemistry)

[Ask your assistant](https://www.drybench.com/mcp/connect)

```cite
Poisson uncertainty of a count rate, or the counting time for a wanted precision (radio_counting_uncertainty), Drybench MCP server 1.0.0; radio-counting-uncertainty@2.0.1 (Checked against a reference); https://www.drybench.com/mcp/tools/radio-counting-uncertainty
```

## What it is

Returns a count rate or net count rate with its Poisson uncertainty, or the counting time for a wanted precision. Use when stating the counting uncertainty of a measurement (MARLAP Eq. 19.23; live times), at or below background included, or planning a count. Not for counts to activity: use \`radio\_counting\_efficiency\`; not for replicate statistics: use \`stats\_column\_statistics\`; not for cell counts: use \`calc\_cell\_counting\`. Withholds √0 for a zero count; refuses an unreachable precision; background is measured or none; every count, time and rate needs its unit.

Field: [Radiochemistry](https://www.drybench.com/mcp/catalogue/radiochemistry).

## What it does

**You give**

- `solveFor` (required): uncertainty: the rate and its standard uncertainty; counting\_time: the gross time for a wanted relative uncertainty.
- `background` (required): measured: a background (blank) was counted and is subtracted; none: one rate, no background. Required, never assumed.
- `rateUnit` (required): The unit of every count rate and uncertainty returned.
- `counts`: uncertainty, background none: the counts. Optional.
- `countTime`: uncertainty, background none: the live counting time. Optional.
- `grossCounts`: uncertainty, background measured: the gross counts. Optional.

and 7 more, listed below

No request is recorded for this tool.

**Limits**

- Research arithmetic for laboratory radiotracers on half-lives, activities and counts you supply; not a dosing, clinical, dosimetry, radiation-protection, animal-welfare or diagnostic authority.
- Laboratory tracer arithmetic on values you supply, including every half-life.
- Research and education software: not for diagnosis or treatment decisions, and not a dosing, dosimetry, radiation-protection or animal-welfare authority.
- 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.

**It will not answer when**

- a counting time is asked for a planning net rate at or below zero, decided exactly on the stated rates as rationals (checked before the denominator).
- the background term's own standard uncertainty, √(R\_b/t\_b), is already at or above the wanted standard uncertainty of the net rate, r·R\_n, so no finite gross counting time reaches it; decided exactly on the stated values as rationals, (r·R\_n)² ≤ R\_b/t\_b: count the background longer.
- a value to be returned (the count rate, its standard or relative uncertainty, or the counting time in timeUnit) is beyond the largest double, or non-zero and below the smallest normal one, after its one rounding.
- targetRelativeUncertainty outside above 0.

### Every input, with its units

13 inputs

- `solveFor` (required): uncertainty: the rate and its standard uncertainty; counting\_time: the gross time for a wanted relative uncertainty.
- `background` (required): measured: a background (blank) was counted and is subtracted; none: one rate, no background. Required, never assumed.
- `rateUnit` (required): The unit of every count rate and uncertainty returned.
- `counts`: uncertainty, background none: the counts. Optional.
- `countTime`: uncertainty, background none: the live counting time. Optional.
- `grossCounts`: uncertainty, background measured: the gross counts. Optional.
- `grossTime`: uncertainty, background measured: the gross live time. Optional.
- `backgroundCounts`: uncertainty, background measured: the background counts. Optional.
- `backgroundTime`: Background live time (uncertainty, measured), or the fixed background time (counting\_time, measured). Optional.
- `grossRate`: counting\_time: the planning gross rate. Optional.
- `backgroundRate`: counting\_time, background measured: the planning background rate. Optional.
- `targetRelativeUncertainty`: counting\_time: the wanted relative standard uncertainty of the (net) rate, at k = 1. Optional.
- `timeUnit`: counting\_time: the unit of the time returned. Optional.

### Every refusal, with its code

6 refusals

| Code | When |
| --- | --- |
| `NET_RATE_NOT_POSITIVE` | a counting time is asked for a planning net rate at or below zero, decided exactly on the stated rates as rationals (checked before the denominator). |
| `PRECISION_UNREACHABLE_WITH_BACKGROUND` | the background term's own standard uncertainty, √(R\_b/t\_b), is already at or above the wanted standard uncertainty of the net rate, r·R\_n, so no finite gross counting time reaches it; decided exactly on the stated values as rationals, (r·R\_n)² ≤ R\_b/t\_b: count the background longer. |
| `RESULT_OUTSIDE_DOUBLE_RANGE` | a value to be returned (the count rate, its standard or relative uncertainty, or the counting time in timeUnit) is beyond the largest double, or non-zero and below the smallest normal one, after its one rounding. |
| `NOT_POSITIVE` | targetRelativeUncertainty outside above 0. |
| `OUT_OF_RANGE` | counts outside at least 0. |
| `NEGATIVE` | backgroundRate outside at least 0 cpm. |

## The calculation

The method's equations, constants and worked example.

### [Poisson standard uncertainty of a count rate or a net count rate, and the counting time for a wanted relative uncertainty](https://www.drybench.com/methods/m/radio-counting-uncertainty/2.0.1)

`radio-counting-uncertainty@2.0.1`

**Equation 1**

```text
R = N / t
u²(R) = N / t² (background none)
```

| Symbol | Meaning |
| --- | --- |
| `u(R)` | standard uncertainty of the count rate, returned as standardUncertainty in rateUnit, cps |
| `R` | count rate, N/t, returned as countRate in rateUnit (cps, or cpm at sixty times the cps value), cps |
| `N` | counts (argument counts) |
| `t` | live counting time (argument countTime), in seconds here, s |

Source 1.

**Equation 2**

```text
R_n = N_g/t_g − N_b/t_b
u²(R_n) = N_g/t_g² + N_b/t_b² (background measured)
```

| Symbol | Meaning |
| --- | --- |
| `R_n` | net count rate, of either sign, returned as countRate in rateUnit (cps, or cpm at sixty times the cps value), cps |
| `u(R_n)` | standard uncertainty of the net count rate, returned as standardUncertainty in rateUnit, cps |
| `N_g` | gross counts (argument grossCounts) |
| `N_b` | background counts (argument backgroundCounts) |
| `t_g` | gross live counting time (argument grossTime), in seconds here, s |
| `t_b` | background live counting time (argument backgroundTime), in seconds here, s |

Source 1.

**Equation 3**

```text
u_rel = u(R) / |R|, R the rate returned (the net rate R_n when background is measured)
```

| Symbol | Meaning |
| --- | --- |
| `u_rel` | relative standard uncertainty, returned as relativeUncertainty, a fraction (not a percentage) |
| `u(R)` | standard uncertainty of the rate, cps |
| `R` | the count rate or net count rate, taken by its magnitude, cps |

**Equation 4**

```text
background measured: t_g = R_g / ((r·R_n)² − R_b/t_b)
background none: t = 1 / (r²·R)
```

| Symbol | Meaning |
| --- | --- |
| `t_g` | gross counting time, returned as grossTime in timeUnit, s |
| `t` | counting time with no background, returned as grossTime in timeUnit, s |
| `r` | wanted relative standard uncertainty of R\_n (or R) at k = 1 (argument targetRelativeUncertainty; a percentage is divided by one hundred) |
| `R_g` | planning gross rate (argument grossRate), cps |
| `R` | planning rate with no background (argument grossRate), returned as countRate, cps |
| `R_b` | planning background rate (argument backgroundRate), cps |
| `R_n` | planning net rate, R\_g − R\_b, returned as countRate, cps |
| `t_b` | background counting time (argument backgroundTime), s |

Source 1.

| Constant | Value | From |
| --- | --- | --- |
| minute `min` | 60 s | Source 2 |
| hour `h` | 3600 s | Source 2 |
| day `d` | 86400 s | Source 2 |
| Julian year, 365.25 d (the only year accepted: y is invalid input AMBIGUOUS\_YEAR, and yr and year the kit's UNIT\_SPELLING; MARLAP's own worked line uses 365.2422 d, so an unqualified year has more than one length) `a` | 31557600 s | Source 3 |

A definition, not a model: the equation states what the quantity means. A different convention gives a different number.

**Worked example**

Worked example: one case of radio-counting-uncertainty\@2.0.1, 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**

- solveFor = uncertainty
- background = measured
- grossCounts = 120
- grossTime = 6000 s
- backgroundCounts = 42
- backgroundTime = 6000 s
- rateUnit = cps

**Steps**

1. rn = 0.013 cps, from grossCounts, grossTime, backgroundCounts, backgroundTime; by equation 2; gives countRate.
2. u = 0.0021213203 cps, from grossCounts, grossTime, backgroundCounts, backgroundTime; by equation 2; gives standardUncertainty.

The working, as the case writes it:

```text
R_n = 78/6000 = 0.013 s⁻¹
u = √(162)/6000 = 2.1213 × 10⁻³ s⁻¹
```

**Answer**

- countRate = 0.013 cps
- standardUncertainty = 0.0021213203 cps

Where these values came from: our own exact-arithmetic script and a hand-worked case; inputs from MARLAP (2004), chapter 19, Example 19.9 (p. 19-22); R\_n and u are not printed there; checked indirectly by the printed combined variance 0.0424 (asserted by the script).

At build the tool returned this answer within the tolerance the file states: Count rates, net rates and counting times relative 1e-15, each the exact value on the stated decimals in its returned unit rounded once (2.0.0); u(R) relative 4.5e-16 and u\_rel relative 9e-16 (the record's one and two units in the last place, at 2^-52 of the value each, on each side); below 1e-15, absolute at the relative value times 1e-15, in each value's unit; statuses, codes, withheld rules, units and counts exact.

Who worked this case: not recorded.

## Sources

1. MARLAP, Multi-Agency Radiological Laboratory Analytical Protocols Manual (July 2004), NUREG-1576 / EPA 402-B-04-001C, chapter 19, Measurement Uncertainty Used for: Poisson standard uncertainty of a count rate or a net count rate, and the counting time for a wanted relative uncertainty. At: equation 19.23, p. 19-38, section 19.5.3, with u(t) taken as 0 (valid when u(t)/t ≪ 1/√N); Examples 19.16 and 19.17; p. 19-22 to 19-23, section Example 19.9: u²(N\_S) = N\_S, u²(N\_B) = N\_B; equation 19.23, section 19.5.3; the counting-time form is derived here from it, not printed in MARLAP (the algebra is in the fixture's derivations). **Read in full, 10 November 2026**
2. BIPM, The International System of Units (SI), 9th edition, 2019 (complete brochure, 2026 update) Used for: Poisson standard uncertainty of a count rate or a net count rate, and the counting time for a wanted relative uncertainty. At: table 8, section non-SI units accepted for use with the SI: the minute; table 8, section the hour; table 8, section the day. **Read in full, 10 November 2026**
3. NIST Special Publication 811, Guide for the Use of the International System of Units (SI), 2008 edition Used for: Poisson standard uncertainty of a count rate or a net count rate, and the counting time for a wanted relative uncertainty. At: section Appendix B.8, footnote 18 (the Julian century); 8.1 (the symbol a for the year, after ISO 80000-3). **Read in full, 10 November 2026**

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

## How it is checked

**Level:** Checked against a reference.

**Checked against:** Our own exact-arithmetic script and a hand-worked case.

**Cases:** No case set is linked to this version.

**Not checked:** Non-Poisson background variance; count-time uncertainty u(t); dead time; the √(N+1) estimator and MARLAP Attachment 19D; any printed counting-time worked example; the meaning of digits beyond the inputs' precision.

No independent scientist has yet reviewed this.

### Changes to its methods

0 changes

No change is logged for these method versions.
