Skip to content

Main content

Weighted Share Transfer Fixed Total Tool

Calculate weighted share transfer fixed total from explicit caller-supplied inputs.

Loading tool…

Description

Transfer signed amount from firstAmount to secondAmount and divide each resulting amount by positive total.

A ratio compares quantities under a stated numerator and denominator. Fractions, percentage numerals, and percentage-point changes use different conventions, and changing a part can also change its whole. Unit consistency, zero denominators, rounding, and the order of adjustments determine the result.

Transfer signed amount from firstAmount to secondAmount and divide each resulting amount by positive total.

When to use this tool

Use Weighted Share Transfer Fixed Total when you need this specific ratio, allocation, transformation, interval, or adjustment-order calculation with an explicit base.

How to use the tool and how it works

  1. Enter total, firstAmount, secondAmount, transfer. 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 firstFraction, secondFraction. Use the output convention below.

Transfer signed amount from firstAmount to secondAmount and divide each resulting amount by positive total. Require nonnegative initial parts fitting the total and nonnegative resulting parts.1

Input fieldMeaning and unitsAccepted input
totalTotalRequired. Finite number; strictly above 0.
firstAmountFirst AmountRequired. Finite number; minimum 0.
secondAmountSecond AmountRequired. Finite number; minimum 0.
transferTransferRequired. Finite number.
Output fieldInterpretationReturned shape
firstFractionFirst FractionRequired. Finite number.
secondFractionSecond FractionRequired. Finite number.
json
{
  "input": {
    "total": 100,
    "firstAmount": 40,
    "secondAmount": 30,
    "transfer": 10
  },
  "output": {
    "firstFraction": 0.3,
    "secondFraction": 0.4
  }
}

Limitations and assumptions

  • The total stays fixed and may include other unchanged parts. No balancing records, indivisible-unit rounding, currency treatment, or allocation entitlement is verified.
  • The field tables state structural bounds; the mechanics also specify cross-field constraints. Malformed inputs and unsupported domains cause errors. A successful false flag, empty branch value, or zero placeholder has the meaning stated above and is distinct from an input error.
  • 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. Signed zero is exported as zero.

Alternative or Complementary methods

Check numerator, denominator, units, and adjustment order before comparing results. Use a complete allocation or physical mixture model when a single arithmetic term leaves relevant constraints unspecified.

References

  1. Calculation and input contract: proportions/weighted-share-transfer-fixed-total — tool.io

Similar or alternative tools