Skip to content

Main content

Target Ratio Missing Part

Recover one nonnegative missing part from an explicit known-part to missing-part ratio.

Loading tool…

Description

Calculate a missing ratio part from a known part and known-to-missing ratio.

Proportions depend on the order of a ratio, its denominator and whether an input is a decimal fraction or a percentage number. Inverting a zero-crossing interval is undefined, and rounding an ideal share to a quantum can exceed a total. Supplied conservation, tax or mixing assumptions need explicit units and boundaries before interpretation.

Calculate a missing ratio part from a known part and known-to-missing ratio.

When to use this tool

Use Target Ratio Missing Part when you already have knownPart, suppliedKnownToMissingRatio and need to calculate a missing ratio part from a known part and known-to-missing ratio.

How to use the tool and how it works

  1. Enter knownPart, suppliedKnownToMissingRatio. 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 missingPart. Use the output convention below.

Require knownPart>=0 and ratio>0; return knownPart/suppliedKnownToMissingRatio.1

Input fieldMeaning and unitsAccepted input
knownPartKnown PartRequired. Finite number; minimum 0.
suppliedKnownToMissingRatioPositive known part/missing part, so missing=known/ratio.Required. Finite number; strictly above 0.
Output fieldInterpretationReturned shape
missingPartMissing PartRequired. Finite number.
json
{
  "input": {
    "knownPart": 12,
    "suppliedKnownToMissingRatio": 3
  },
  "output": {
    "missingPart": 4
  }
}

Limitations and assumptions

  • The ratio direction is known divided by missing; units and the validity of the assumed proportion are caller responsibilities.
  • 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

Write the numerator, denominator and ratio direction explicitly before rebasing or inverting a quantity. Use a full allocation or mass balance for multiple components, and account for quantum remainders jointly when rounded shares must add to a fixed total.

References

  1. Calculation and input contract: proportions/target-ratio-missing-part — tool.io

Similar or alternative tools