Skip to content

Main content

Sample Dilution Stage Remainder Tool

Arithmetic for already supplied fraction stages and withdrawal, without laboratory procedure or organism parameters.

Loading tool…

Description

Multiply initialAmount by all stageFractions in [0, 1], then subtract finalWithdrawn, which cannot exceed the retained amount.

Dilution changes the concentration or source-equivalent quantity associated with a sample. A dilution fraction is the retained proportion; its reciprocal is a correction factor.

Multiply initialAmount by all stageFractions in [0, 1], then subtract finalWithdrawn, which cannot exceed the retained amount.

When to use this tool

Use Sample Dilution Stage Remainder when you need a supplied dilution or source-equivalent calculation.

How to use the tool and how it works

  1. Enter initialAmount, stageFractions, finalWithdrawn. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read retainedAmount, remainder. Use the output convention below.

Multiply initialAmount by all stageFractions in [0, 1], then subtract finalWithdrawn, which cannot exceed the retained amount.1

Input fieldMeaning and unitsAccepted input
initialAmountInitial AmountRequired. Finite number; minimum 0.
stageFractionsStage FractionsRequired. Array of finite number; maximum items 256.
finalWithdrawnFinal WithdrawnRequired. Finite number; minimum 0.
Output fieldInterpretationReturned shape
retainedAmountRetained AmountRequired. Finite number.
remainderRemainderRequired. Finite number.
json
{
  "input": {
    "initialAmount": 100,
    "stageFractions": [
      0.5,
      0.2
    ],
    "finalWithdrawn": 3
  },
  "output": {
    "retainedAmount": 10,
    "remainder": 7
  }
}

Limitations and assumptions

  • An empty stage list preserves the initial amount; losses and recoveries outside the supplied fractions are not estimated.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

Trace every dilution stage and volume basis from the bench record, including recovery and blank assumptions where relevant.

References

  1. Calculation and input contract: microbiology/sample-dilution-stage-remainder — tool.io

Similar or alternative tools