Skip to content

Main content

Carbohydrate Exchange Explicit Gram Factor Tool

Caller-defined exchange factor only; no meal plan or treatment recommendation.

Loading tool…

Description

Convert supplied carbohydrate grams to exchange units.

A food nutrient amount depends on mass, composition, retention and the chosen reference or exchange convention. Nitrogen-derived protein and a single amino-acid ratio are analytical terms rather than complete measures of dietary adequacy.

Convert supplied carbohydrate grams to exchange units.

When to use this tool

Use Carbohydrate Exchange Explicit Gram Factor when checking a supplied nutrient amount, protein factor or reporting normalization.

How to use the tool and how it works

  1. Enter carbohydrateGrams, gramsPerExchange. 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 exchanges. Use the output convention below.

Convert supplied carbohydrate grams to exchange units. Require nonnegative carbohydrateGrams and positive gramsPerExchange; exchanges = grams/factor.1

Input fieldMeaning and unitsAccepted input
carbohydrateGramsCarbohydrate GramsRequired. Finite number; minimum 0.
gramsPerExchangePositive caller-selected carbohydrate grams per exchange; no clinical exchange standard is selected.Required. Finite number; strictly above 0.
Output fieldInterpretationReturned shape
exchangesExchangesRequired. Finite number.
json
{
  "input": {
    "carbohydrateGrams": 45,
    "gramsPerExchange": 15
  },
  "output": {
    "exchanges": 3
  }
}

Limitations and assumptions

  • The exchange convention is supplied, not a dietary prescription, diabetes plan or universal serving definition.
  • 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

Use appropriate food-composition and analytical sources, and professional dietary guidance for individual requirements or treatment plans.

References

  1. Calculation and input contract: dietetics/carbohydrate-exchange-explicit-gram-factor — tool.io

Similar or alternative tools