Description
Divide reportedAmount by positive sourceBasis and multiply by positive targetBasis.
A product label can express an amount per serving, per package, or on a solvent-free basis. Changing the denominator changes the reported amount or fraction.
Divide reportedAmount by positive sourceBasis and multiply by positive targetBasis.
When to use this tool
Use Public Product Label Basis Factor when you need to reconcile explicit label quantities or package counts.
How to use the tool and how it works
- Enter reportedAmount, sourceBasis, targetBasis. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read targetBasisAmount. Use the output convention below.
Divide reportedAmount by positive sourceBasis and multiply by positive targetBasis.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| reportedAmount | Reported Amount | Required. Finite number. |
| sourceBasis | Source Basis | Required. Finite number; strictly above 0. |
| targetBasis | Target Basis | Required. Finite number; strictly above 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| targetBasisAmount | Target Basis Amount | Required. Finite number. |
{
"input": {
"reportedAmount": 20,
"sourceBasis": 100,
"targetBasis": 25
},
"output": {
"targetBasisAmount": 5
}
} Limitations and assumptions
- Use compatible basis quantities; this rescales a label amount and does not recommend a serving, dose, or treatment.
- 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
Check the original label's units and basis; assess suitability or safety independently of label arithmetic.
References
Similar or alternative tools
- Product Label Solvent Base Flag
Use labelTotalMass or labelTotalMass minus solventMass as denominator according to useSolventFree.
- Product Label Unit Token
Check unitToken by exact membership in allowedUnits.