Skip to content

Main content

Historic Wage Ration Base Flag Tool

Calculate historic wage ration base flag from explicit caller-supplied inputs.

Loading tool…

Description

rationValue = rationQuantity*suppliedRationPrice; totalCompensation adds rationValue to cashWage only when includeRations.

Historical wages can include cash, rations and other in-kind compensation and may use local units and paid-day conventions. Basket equivalents and wage-day ratios require those choices to be explicit before making living-standard comparisons.

rationValue = rationQuantity*suppliedRationPrice; totalCompensation adds rationValue to cashWage only when includeRations.

When to use this tool

Use Historic Wage Ration Base Flag when checking a supplied historical wage or compensation conversion.

How to use the tool and how it works

  1. Enter cashWage, rationQuantity, suppliedRationPrice, includeRations. 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 rationValue, totalCompensation. Use the output convention below.

Require nonnegative cashWage, rationQuantity and suppliedRationPrice. rationValue = rationQuantity*suppliedRationPrice; totalCompensation adds rationValue to cashWage only when includeRations.1

Input fieldMeaning and unitsAccepted input
cashWageCash WageRequired. Finite number; minimum 0.
rationQuantityRation QuantityRequired. Finite number; minimum 0.
suppliedRationPriceSupplied Ration PriceRequired. Finite number; minimum 0.
includeRationsInclude RationsRequired. Boolean.
Output fieldInterpretationReturned shape
rationValueRation ValueRequired. Finite number.
totalCompensationTotal CompensationRequired. Finite number.
json
{
  "input": {
    "cashWage": 10,
    "rationQuantity": 2,
    "suppliedRationPrice": 3,
    "includeRations": true
  },
  "output": {
    "rationValue": 6,
    "totalCompensation": 16
  }
}

Limitations and assumptions

  • Ration value is still returned when excluded from compensation. Valuation, delivery, consumption needs and historical compensation definitions are supplied assumptions.
  • 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

Verify archival units, period, worker and household context and basket suitability before comparing real historical incomes.

References

  1. Calculation and input contract: economic-history/historic-wage-ration-base-flag — tool.io

Similar or alternative tools