Pocket Lab Toolkit: measured results and formulas
What the automatic colony count found on generated plates, where it is off, and the formulas every tool uses. The app shows the same tables on its Count screen. Check every count yourself: the automatic count is a start, corrected by a tap.
Automatic colony count on generated plates
Measured on generated plates, not on real photos: each 600 × 600 pixels of brightness only (0 to 255), a dish of radius 270 with a bright wall, agar at 100 and noise of ±8 levels, colonies drawn as discs 4 to 8 pixels in radius at a contrast of 50 unless the row says otherwise. Settings: sensitivity 50, light colonies, the default sizes, unless the row says otherwise.
| Plate | Colonies | Counted | Error |
|---|---|---|---|
| Separate colonies, even light | 40 | 40, each at its place | none |
| 150 small colonies (radius 3 to 6) | 150 | 150 | none |
| Empty plate (noise ±8; and ±16 at sensitivity 100) | 0 | 0 | none |
| Dark colonies, counted as dark | 40 | 40 | none |
| Dark colonies, counted as light | 40 | 0 | all missed: set "Darker than the agar" |
| Light changing across the dish (135 levels side to side) | 40 | 40 | none |
| Large colonies (radius 17 to 25, contrast 40 or 25), sensitivity 0, 50 and 100 | 25 | 25, each at its place, area within −15% to +20% | none |
| Domed colonies (brightest in the middle, radius 6 to 12) | 40 | 40 | none |
| Vignetting (10 to 40 levels darker at the wall), empty, light or dark, sensitivity 50 and 100 | 0 | 0 | none |
| Vignetting, 40 dark colonies counted as dark | 40 | 40 | none |
| A shadow 30 levels deep at the wall, light, sensitivity 0, 50 and 100 | 40 | 40 | none |
| The same, dark colonies counted as dark | 40 | 40; 39 at sensitivity 100 | at 100 one colony by the wall joins the shadow and is left out as larger |
| A lamp's reflection, a 60 × 12 bar 150 levels bright, sensitivity 0 and 50 | 40 | 40 or 41 | every colony found; the bar may count as one |
| The dish drawn 8% too big (the wall and table inside it) | 40 | 40 | none: the wall is left out as larger |
| The dish cut off by the photo's edge, light or dark | 9 | 9 | none |
| Colonies inside the 5% margin at the wall | 4 | 0 | missed by design: the wall's edge is left out |
| Faint colonies (contrast 15) beside strong ones (contrast 50), sensitivity 0 | 20 + 20 | 33 | 7 faint ones left out |
| The same at sensitivity 25 to 100 | 20 + 20 | 40 | none |
| Touching pairs (20 pairs, radius 6, 11 pixels apart) | 40 | 40, each at its place, marked as split | none |
| A clump of 5 packed close (radius 6, 7 pixels apart) among 20 alone | 25 | 21 | packed so tight it has one peak: counts as one, not marked |
Touching colonies are mostly missed, not made up: the more they overlap, the more are missed, about half when their centers are 0.6 of their radii apart. Measured on 4 generated plates a cell, each with 20 colonies alone and 10 groups of touching ones.
| Group | Centers apart | Radius 5 to 7 | Radius 4 to 8 |
|---|---|---|---|
| 2 | 0.95 | 80 of 80 | 80 of 80 |
| 2 | 0.85 | 80 of 80 | 72 of 80 (−10%) |
| 2 | 0.75 | 69 of 80 (−13.8%) | 61 of 80 (−23.8%) |
| 2 | 0.6 | 56 of 80 (−30%) | 48 of 80 (−40%) |
| 3 | 0.95 | 119 of 120 (−0.8%) | 118 of 120 (−1.7%) |
| 3 | 0.85 | 116 of 120 (−3.3%) | 112 of 120 (−6.7%) |
| 3 | 0.75 | 99 of 120 (−17.5%) | 93 of 120 (−22.5%) |
| 3 | 0.6 | 66 of 120 (−45%) | 64 of 120 (−46.7%) |
| 5 | 0.95 | 195 of 200 (−2.5%) | 199 of 200 (−0.5%) |
| 5 | 0.85 | 179 of 200 (−10.5%) | 169 of 200 (−15.5%) |
| 5 | 0.75 | 147 of 200 (−26.5%) | 135 of 200 (−32.5%) |
| 5 | 0.6 | 91 of 200 (−54.5%) | 92 of 200 (−54%) |
Not measured yet
- Real photos. The figures are for generated plates; messy real plates are why every count can be corrected by tap.
- Colonies on the wall of the dish itself.
- Bubbles in the agar: small bumps can count as colonies.
Formulas
Each answer in the app shows its formula with your numbers and units.
| Tool | Formula | Notes |
|---|---|---|
| Molarity | mass = concentration × volume × MW | Solved for whichever of the four is left empty. |
| Molarity | concentration = mass ÷ (MW × volume) | |
| Molarity | volume = mass ÷ (MW × concentration) | |
| Molarity | MW = mass ÷ (concentration × volume) | |
| Dilution (C1V1 = C2V2) | V1 = C2 × V2 ÷ C1 | Solved for whichever of the four is left empty; both concentrations must be the same kind (molar, mass per volume, % or ×). |
| Dilution (C1V1 = C2V2) | V2 = C1 × V1 ÷ C2 | |
| Dilution (C1V1 = C2V2) | C1 = C2 × V2 ÷ V1 | |
| Dilution (C1V1 = C2V2) | C2 = C1 × V1 ÷ V2 | |
| Serial dilution | transfer = V ÷ F; diluent = V − transfer | V is each tube's volume once it has its transfer; F the dilution at each step (10 for 1 in 10). |
| Percent solutions | grams = % × milliliters ÷ 100 | w/v: grams per 100 mL. |
| Percent solutions | solute = % × final volume ÷ 100 | v/v. |
| Percent solutions | solute = % × total mass ÷ 100 | w/w. |
| Concentration conversions | per liter of solution: grams = moles × MW = % w/v × 10 = w/w fraction × ρ = v/v fraction × ρ(solute); N = M × equivalents per mole; molality = moles ÷ (ρ − grams) × 1000 | ρ is the solution's density in g/L; with none typed, 1 g/mL (a dilute water solution) is assumed and said. ppm and ppb are by mass. The equivalents per mole are typed, never guessed; v/v uses the pure solute's density. |
| Concentration conversions | stock volume = final strength × final volume ÷ stock strength (each as solute per liter of its own solution) | A stock in any of the units above to a final solution in any other, each read with its own density. |
| Concentration conversions | SG = ρ ÷ ρ(water at the reference temperature) | Water's density from Tanaka et al., Metrologia 38 (2001) 301, the formula the CIPM recommends (0 to 40 °C); against water at 4 °C unless another temperature is typed. |
| Concentration conversions | ρ = SG × ρ(water at the reference temperature) | |
| pH and buffers | [H⁺] + [Na⁺] = [OH⁻] + C × Ka ÷ (Ka + [H⁺]), [OH⁻] = Kw ÷ [H⁺], pH = −log₁₀[H⁺] | An acid's pH: the exact root of its charge balance with water's own ions (a strong acid has Ka ÷ (Ka + [H⁺]) = 1), never the √(Ka × C) shortcut, which is shown beside it. Kw is 10⁻¹⁴ (25 °C); concentrations stand for activities. |
| pH and buffers | [H⁺] + C × [H⁺] ÷ (Ka + [H⁺]) = [OH⁻], [OH⁻] = Kw ÷ [H⁺], pH = −log₁₀[H⁺] | A base's pH, read through the pKa of its conjugate acid as tables list it. |
| pH and buffers | pH = pKa + log₁₀([base form] ÷ [acid form]) (Henderson–Hasselbalch); exactly, [base form] = C × (ν − k) + [OH⁻] − [H⁺] | A buffer recipe, made exact by the charge balance: ν is the protons given up per acid molecule at the target pH, from the pKa typed and the same acid's steps below and above when typed; k is the protons the acid form has given up. Said when Henderson–Hasselbalch alone would miss by more than 0.05. |
| pH and buffers | V(base) = V(acid) × (ν × C(acid) − [H⁺] + [OH⁻]) ÷ (C(base) + [H⁺] − [OH⁻]) | Strong base to bring an acid of up to three steps to a target pH: the charge balance after mixing. |
| pH and buffers | d(pKa)/dT = −ΔrH° ÷ (R × T² × ln 10) (van 't Hoff, at 25 °C) | The pKa list: pK at 25 °C and zero ionic strength, and ΔrH°, from Goldberg, Kishore and Lennen, J. Phys. Chem. Ref. Data 31 (2002) 231, Section 8 (NIST). |
| Gas laws | P = nRT ÷ V | The ideal gas law, solved for whichever of P, V, n and T is left empty. Worked in kPa, L, mol and K with R = 8.314 462 618 L·kPa/(mol·K) (N_A × k, exact since the 2019 SI). Close for most gases near room temperature and 1 atm; real gases depart from it at high pressure and near their boiling point. |
| Gas laws | V = nRT ÷ P | |
| Gas laws | n = PV ÷ RT | |
| Gas laws | T = PV ÷ nR | |
| Gas laws | P1 = P2 × V2 × T1 ÷ (T2 × V1) | The combined gas law, P1V1 ÷ T1 = P2V2 ÷ T2, for the same amount of gas, solved for whichever of the six is left empty; temperatures in kelvin. |
| Gas laws | V1 = P2 × V2 × T1 ÷ (T2 × P1) | |
| Gas laws | T1 = T2 × P1 × V1 ÷ (P2 × V2) | |
| Gas laws | P2 = P1 × V1 × T2 ÷ (T1 × V2) | |
| Gas laws | V2 = P1 × V1 × T2 ÷ (T1 × P2) | |
| Gas laws | T2 = T1 × P2 × V2 ÷ (P1 × V1) | |
| Gas laws | p = x × P(total) | Dalton's law of partial pressures; x is the gas's share by moles (for ideal gases, by volume too). |
| Gas laws | P(total) = p ÷ x | |
| Gas laws | x = p ÷ P(total) | |
| Gas laws | V = n × Vm, Vm = RT ÷ P | At IUPAC's STP (273.15 K, 100 kPa: Vm = 22.711 L/mol) or SATP (298.15 K, 100 kPa: 24.790 L/mol); the value at 1 atm (22.414 and 24.465 L/mol), as many textbooks use, is given beside it. |
| Gas laws | n = V ÷ Vm, Vm = RT ÷ P | |
| Pressure and energy | p in Pa = value × (Pa per unit) | Exact definitions: 1 atm = 101 325 Pa, 1 bar = 10⁵ Pa, 1 Torr = 1/760 atm, 1 mmHg = 133.322 387 415 Pa (conventional), 1 psi = 6894.757 293 168 Pa. Absolute pressures. |
| Pressure and energy | E in J = value × (J per unit) | Exact definitions: 1 cal = 4.184 J (thermochemical), 1 kWh = 3.6 × 10⁶ J, 1 eV = 1.602 176 634 × 10⁻¹⁹ J, 1 L·atm = 101.325 J. |
| Centrifuge (RCF and rpm) | RCF = 1.118 × 10⁻⁵ × r × rpm² | r in cm. The constant is (2π/60)² ÷ 980.665 cm/s², to four figures as rotor sheets print it. |
| Centrifuge (RCF and rpm) | rpm = √(RCF ÷ (1.118 × 10⁻⁵ × r)) | |
| Temperature | °F = °C × 9/5 + 32; K = °C + 273.15 | |
| Temperature | °C = (°F − 32) × 5/9; K = °C + 273.15 | |
| Temperature | °C = K − 273.15; °F = °C × 9/5 + 32 | |
| Mass and molar concentration | mass concentration = molar concentration × MW | |
| Mass and molar concentration | molar concentration = mass concentration ÷ MW | |
| Cells to seed | volume = cells wanted ÷ cell density | |
| Master mix | total = volume per reaction × reactions × (1 + overage ÷ 100) | |
| Molar mass | M = sum of (atoms × standard atomic weight) | Standard atomic weights: CIAAW, Abridged Standard Atomic Weights 2024 (ciaaw.org). |
| Reaction (limiting reagent and yield) | n = mass × purity ÷ 100 ÷ M; limiting reagent: smallest n ÷ coefficient; each amount = coefficient × n(limiting) ÷ coefficient(limiting) | M from the formula (Molar mass above); purity 100% when none is typed, and an amount typed in moles is taken as pure. The equation is taken as typed, never balanced for you; equivalents are moles ÷ moles of the limiting reagent. |
| Reaction (limiting reagent and yield) | n = mass × purity ÷ 100 ÷ M; limiting reagent: smallest n ÷ coefficient; each amount = coefficient × n(limiting) ÷ coefficient(limiting); % yield = actual ÷ theoretical × 100 | With the amount of a product made typed: its percent yield, by moles (the same ratio by mass). |
| Ligation | insert mass = vector mass × (insert length ÷ vector length) × ratio | The ratio is insert to vector by moles (3 for 3:1), as in Promega's pGEM-T Vector Systems technical manual (TM042). Amounts in fmol use 650 g/mol per base pair, an average. |
| DNA/RNA (A260) | concentration = A260 × 50 µg/mL × dilution ÷ path (cm) | Double-stranded DNA: 50 µg/mL per A260 unit at 1 cm; RNA 40, single-stranded DNA 33 (Sambrook and Russell, Molecular Cloning, 3rd ed.). Purity: A260/A280 about 1.8 for DNA and 2.0 for RNA; A260/A230 about 2.0 to 2.2. |
| DNA/RNA (A260) | concentration = A260 × 40 µg/mL × dilution ÷ path (cm) | RNA. |
| DNA/RNA (A260) | concentration = A260 × 33 µg/mL × dilution ÷ path (cm) | Single-stranded DNA. |
| DNA/RNA (A260) | concentration = A260 × dilution ÷ (ε260 × path) | An oligo, by the Beer-Lambert law with its own ε260 in L/(mol·cm). |
| Protein (A280) | concentration = A280 × dilution ÷ (ε280 × path) × MW | The Beer-Lambert law with the protein's own ε280 in L/(mol·cm) and molecular weight. |
| Protein (A280) | concentration = A280 × 1 mg/mL × dilution ÷ path (cm) | A rough shortcut: real proteins differ several-fold. |
| OD600 and growth | cells/mL = OD600 × dilution × cells per mL at OD 1 | 8 × 10⁸ cells/mL at OD 1 for E. coli when none is typed, an approximate figure. |
| OD600 and growth | doubling time = t × ln 2 ÷ ln(N2 ÷ N1) | Exponential growth between two readings. |
| Seeding | cells = cells per cm² × area per well × wells; volume = cells ÷ cells per mL | |
| Seeding | suspension per vessel = volume ÷ split ratio | Split 1:N. |
| Colonies per mL (CFU) | CFU/mL = colonies × dilution factor ÷ volume plated (mL) | Reported to two significant figures, rounded as FDA BAM ch. 3 rounds. Outside 15 to 300 colonies per plate the result is marked as an estimate; with no colonies it is less than the detection limit (1 colony at that dilution). |
| Hemocytometer | cells/mL = mean cells per large square × dilution factor × 10⁴ | For 1 mm² squares 0.1 mm deep: 10⁴ is 1 mL over one square's volume (0.1 µL). A 0.2 mm chamber uses 5000. |
| Hemocytometer | viability = live cells ÷ (live + dead cells) × 100 | |
| Differential count | percent = count of the kind ÷ total counted × 100 | Only keys in the total count toward it; a key left out of the total is said per 100 counted. |
| Differential count | 95% range = (p + z²/2N ± z·√(p(1 − p)/N + z²/4N²)) ÷ (1 + z²/N), z = 1.96 | Wilson score interval (Wilson 1927), as recommended by Newcombe (1998); p = count ÷ N, N = total counted. |
| Differential count | absolute count = count of the kind ÷ total counted × total count typed | In the unit of the total typed. |
| Punnett square | share = squares in the class ÷ all squares | Mendel’s segregation and independent assortment: each gamete equally likely, genes taken to be unlinked. |
| Chi-square | E = N × part ÷ sum of parts | |
| Chi-square | χ² = Σ (O − E)² ÷ E | Pearson’s chi-square; also used by Hardy-Weinberg and Map distance. |
| Chi-square | degrees of freedom = classes − 1 | |
| Chi-square | p = Q(df ÷ 2, χ² ÷ 2) | Q is the regularized upper incomplete gamma, by its series and continued fraction (Numerical Recipes, section 6.2). A warning shows when an expected count is under 5 (Cochran 1954). |
| Hardy-Weinberg | p = (2 × AA + Aa) ÷ (2 × N) | q = 1 − p. |
| Hardy-Weinberg | expected AA = p² × N, Aa = 2pq × N, aa = q² × N | |
| Hardy-Weinberg | degrees of freedom = genotypes − 1 − 1 | One less for the allele frequency, estimated from the same counts. |
| Mouse cross | share = wanted pups ÷ equally likely pups | Every way the parents’ gametes can meet, each allele and each sex with chance 1/2; loci taken to be unlinked. |
| Mouse cross | wanted per litter = share × litter size × survival | Litter size and survival are your own numbers. |
| Mouse cross | litters = N ÷ wanted per litter, rounded up | An average. |
| Mouse cross | pairs = litters ÷ litters per pair, rounded up | |
| Mouse cross | n = litters × litter size × survival, rounded down | |
| Mouse cross | P(at least N) = Σ C(n, k) share^k (1 − share)^(n − k), k = N to n | The binomial upper tail. |
| Map distance | RF = recombinants ÷ total | From a two-point test cross. |
| Map distance | map distance = RF × 100 cM | 1 map unit (cM) = 1% recombination. |
| Map distance | Haldane d = −½ ln(1 − 2RF) × 100 cM | Haldane 1919: no interference. Given for RF under 0.5. |
| Map distance | Kosambi d = ¼ ln((1 + 2RF) ÷ (1 − 2RF)) × 100 cM | Kosambi 1944: some interference. Given for RF under 0.5. |
| Decay and counts | A = A₀ × 2^(−t ÷ T½) | The same as A₀ × e^(−λt) with λ = ln 2 ÷ T½. Half-lives: IAEA Nuclear Data Section, LiveChart of Nuclides (ENSDF evaluated data), read 2026-11-19. |
| Decay and counts | t = T½ × log₂(A₀ ÷ A) | The time for the activity to fall from A₀ to A. |
| Decay and counts | T½ = t × ln 2 ÷ ln(A₀ ÷ A) | From two readings t apart. A small fall between them makes it uncertain. |
| Decay and counts | net rate = N_g ÷ t_g − N_b ÷ t_b, σ = √(N_g ÷ t_g² + N_b ÷ t_b²) | Poisson counting statistics (Knoll, Radiation Detection and Measurement, chapter 3). |
| Decay and counts | activity (Bq) = net counts per second ÷ (efficiency × emission yield) | 1 Ci = 3.7 × 10¹⁰ Bq; 1 dpm = 1/60 Bq. |
| Decay and counts | N = (z ÷ r)² | Counts for a relative uncertainty r: z = 1 for one standard deviation, 1.96 for 95%. Poisson counting statistics (Knoll, Radiation Detection and Measurement, chapter 3). |
| Decay and counts | T = (√R_g + √R_b)² ÷ (R_n² × (r ÷ z)²), t_g ÷ t_b = √(R_g ÷ R_b) | The shortest total counting time for a net rate known to r, and its split between sample and background. Poisson counting statistics (Knoll, Radiation Detection and Measurement, chapter 3). |
| Decay and counts | L_C = 1.645 × √(2B), L_D = 1.645² + 2 × L_C (≈ 2.71 + 4.65 × √B) | Currie (1968), Analytical Chemistry 40, 586: a blank counted as long as the sample, 5% false positives and false negatives. |
| Decay and counts | MDA (Bq) = L_D ÷ (efficiency × emission yield × counting time in s) | |
| Pipette Check | V = m × Z, Z = 1 ÷ (ρ_w − ρ_a) × (1 − ρ_a ÷ ρ_b) | Gravimetric volume (as in EURAMET cg-19): m the weighing, ρ_w water, ρ_a air, ρ_b the balance's weights (8.0 g/mL). |
| Pipette Check | ρ_w = a5 × (1 − (t + a1)² × (t + a2) ÷ (a3 × (t + a4))) | Air-free water, Tanaka et al. (2001), Metrologia 38, 301: a1 = −3.983035 °C, a2 = 301.797 °C, a3 = 522528.9 °C², a4 = 69.34881 °C, a5 = 999.97495 kg/m³. |
| Pipette Check | ρ_a = (0.34848 × p − 0.009 × h × e^(0.061 × t)) ÷ (273.15 + t) | Moist air in kg/m³, p in hPa, h in % relative humidity, t in °C (CIPM-2007 approximation, as in OIML R 111-1). |
| Pipette Check | systematic error = mean volume − nominal volume; random error = standard deviation (n − 1); CV = SD ÷ mean × 100 | Passed or failed only against the limits the user types. |