# Pet Food Cups to Grams Converter & Bag Label kcal/kg Calculator — Algorithm

Plain-text mathematical specification for `https://pacebowl.com/tools/pet-food-cups-to-grams-converter/`.

## Clinical & Nutritional Standards
Calibrated against **NRC (2006) Nutrient Requirements of Dogs and Cats**, **FEDIAF Nutritional Guidelines for Complete and Complementary Pet Food**, and **WSAVA Global Nutrition Guidelines**.

## Core Equations
```
grams_per_cup     = (kcal_per_cup / kcal_per_kg) * 1000
grams_converted   = cups * grams_per_cup
cups_converted    = grams / grams_per_cup
portion_kcal      = (grams / 1000) * kcal_per_kg

weight_kg         = weight_lb * 0.45359237
RER               = round(70 * (weight_kg ^ 0.75))
MER               = round(RER * life_stage_factor)
daily_grams       = round((MER / kcal_per_kg) * 1000)
grams_per_meal    = round(daily_grams / meals_per_day)
cups_per_meal     = (MER / kcal_per_cup) / meals_per_day
```

## Standard Kibble Bulk Density Presets (1 US Cup = 240 ml)
- Freeze-Dried Raw Nuggets: `~55 g/cup`
- Low-Density Airy Extruded Kibble: `~95 g/cup`
- Standard Adult Dog Kibble: `~105 g/cup`
- Standard Dry Cat Kibble: `~110 g/cup`
- High-Protein Dense Cat/Dog Kibble: `~125 g/cup`
