Skip to content

Main content

Predator Prey Size Ratio Term Tool

Descriptive measured size ratios only, without inferring prey suitability or feeding recommendations.

Loading tool…

Description

Descriptive measured size ratios only, without inferring prey suitability or feeding recommendations.

Specimen measurements and animal observations depend on a defined body part, reference value, unit, and observation window. A mass fraction, size ratio, or timing share summarizes those inputs. The counting and measurement conventions must stay explicit when comparing specimens or records.

Descriptive measured size ratios only, without inferring prey suitability or feeding recommendations.

When to use this tool

Use Predator Prey Size Ratio Term when you need to compare supplied specimen measurements or observation records under an explicit reference and denominator.

How to use the tool and how it works

  1. Enter predatorLength, preyLength, predatorMass, preyMass. 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 lengthRatio, massRatio, preyMassFraction. Use the output convention below.

Divide predatorLength by preyLength and predatorMass by preyMass for lengthRatio and massRatio. Return preyMassFraction=preyMass/predatorMass, requiring all four quantities positive.1

Input fieldMeaning and unitsAccepted input
predatorLengthPredator LengthRequired. Finite number; strictly above 0.
preyLengthPrey LengthRequired. Finite number; strictly above 0.
predatorMassPredator MassRequired. Finite number; strictly above 0.
preyMassPrey MassRequired. Finite number; strictly above 0.
Output fieldInterpretationReturned shape
lengthRatioLength RatioRequired. Finite number.
massRatioMass RatioRequired. Finite number.
preyMassFractionPrey Mass FractionRequired. Finite number.
json
{
  "input": {
    "predatorLength": 100,
    "preyLength": 20,
    "predatorMass": 500,
    "preyMass": 10
  },
  "output": {
    "lengthRatio": 5,
    "massRatio": 50,
    "preyMassFraction": 0.02
  }
}

Limitations and assumptions

  • Lengths and masses each need compatible units. These size ratios do not predict predation, feeding suitability, ecological impact, or an animal's health.
  • 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

Use compatible measurements and observation records to verify the chosen denominator and reference before interpreting a specimen comparison.

References

  1. Calculation and input contract: zoology/predator-prey-size-ratio-term — tool.io

Similar or alternative tools