Cooking Spice Blend Ratio Calculator
Actual multi-spice blend fraction discrepancies against caller normalized target weights, no universal blend or substitution equivalence. Caller establishes matching ingredient basis and method. Not food-safety, doneness, preservation or allergy certification.
Description
A spice blend can be compared with normalized target ingredient weights.
A spice blend can be compared with normalized target ingredient weights.1
Mass discrepancies describe proportion differences rather than sensory intensity or recipe authenticity. Use Cooking Spice Blend Ratio Calculator to evaluate the supplied inputs under the specific model below.
When to use Cooking Spice Blend Ratio Calculator
Use Cooking Spice Blend Ratio Calculator to evaluate the supplied inputs under the specific model below. Establish the units, measurement scope and applicable model or recipe assumptions before entering values.
How to use Cooking Spice Blend Ratio Calculator and understand its results
- Establish the units, measurement scope and applicable model or recipe assumptions before entering values.
- Enter Observed spice masses g, Caller desired blend weights using the field table and validation rules below, then run the tool.
- Read Observed blend fractions, Signed target mass discrepancies g and interpret units, signs, ordering and placeholders as explained below.
- If the tool reports an input error, correct that field and rerun. A successful false result, empty match list or unknown-evidence placeholder has the specific meaning described here; check the limitations before applying the result.
| Input field | Meaning | Value type | Requirement |
|---|---|---|---|
| observedSpiceMassesG | Observed spice masses g | array of number | Required; constraints below |
| callerDesiredBlendWeights | Caller desired blend weights | array of number | Required; constraints below |
Enter aligned nonempty nonnegative observed spice masses and nonnegative target weights, each array with positive total. Normalize target weights, return observed mass fractions and observed minus total-mass×normalized-target for each spice in g. The target need not originally sum to one; this does not choose a blend recipe or calculate extra total mass.
observedFraction[i] = mass[i]/Σmass; discrepancyG[i] = mass[i]−Σmass×targetWeight[i]/ΣtargetWeight Field order, units and branch conditions follow the implementation explanation above.
| Output field | Meaning | Value type |
|---|---|---|
| observedBlendFractions | Observed blend fractions | array of number |
| signedTargetMassDiscrepanciesG | Signed target mass discrepancies g | array of number |
{
"input": {
"observedSpiceMassesG": [
10,
20,
30
],
"callerDesiredBlendWeights": [
1,
1,
2
]
},
"output": {
"observedBlendFractions": [
0.16666666666666666,
0.3333333333333333,
0.5
],
"signedTargetMassDiscrepanciesG": [
-5,
5,
0
]
}
} Limitations and assumptions
Mass discrepancies describe proportion differences rather than sensory intensity or recipe authenticity. Apply the exact scope and assumptions described above.
All listed fields require explicit values. Unexpected fields, incorrect types, nonfinite numbers and sparse arrays fail validation. Domain-specific bounds, alignments and supported tokens are stated above; extremely large inputs or outputs can also be rejected. These errors differ from successful results such as false, no matches or unknown evidence.
Alternative or Complementary methods
Use Cooking Curry Paste To Coconut Milk Ratio Calculator for a related task: Curry-paste proportion compares paste with coconut milk on a mass basis.
Use Cooking Marinade Amount Per Weight Calculator for a related task: Marinade quantity can be compared with protein mass.
References
-
Cooking Spice Blend Ratio Calculator — tool.io
Similar or alternative tools
- Cooking Curry Paste To Coconut Milk Ratio Calculator
Curry-paste proportion compares paste with coconut milk on a mass basis.
- Cooking Marinade Amount Per Weight Calculator
Marinade quantity can be compared with protein mass.