# Cat & Dog Wet + Dry Mixed Feeding Calculator — Algorithm

Plain-text mathematical specification for `https://pacebowl.com/tools/wet-and-dry-mixed-feeding-calculator/`.

## Clinical Standards
Calibrated against **NRC (2006)**, **WSAVA Global Nutrition Guidelines**, and **AAFCO Metabolizable Energy (ME)** canned vs. extruded moisture norms (~78% moisture wet cans vs. ~10% moisture dry kibble).

## Core Equations
```
weight_kg           = weight_lb * 0.45359237
RER                 = round(70 * (weight_kg ^ 0.75))
MER                 = round(RER * life_stage_factor)
dry_kcal_per_kg     = dry_kcal_per_100g * 10

# Mode A: Custom Calorie Split (e.g. 25/75, 50/50, 75/25)
wet_kcal            = MER * (wet_pct / 100)
wet_cans_per_day    = wet_kcal / kcal_per_can

# Mode B: Fixed Wet Cans + Top Up Rest with Kibble
wet_kcal            = fixed_cans_per_day * kcal_per_can
wet_cans_per_day    = fixed_cans_per_day

# Remaining Dry Kibble & Hydration
dry_kcal            = max(0, MER - wet_kcal)
wet_grams_per_day   = round(wet_cans_per_day * can_weight_grams)
wet_oz_per_day      = wet_grams_per_day / 28.349523125
dry_grams_per_day   = round((dry_kcal / dry_kcal_per_kg) * 1000)
dry_cups_per_day    = dry_kcal / dry_kcal_per_cup
food_water_ml_day   = round(wet_grams_per_day * 0.78 + dry_grams_per_day * 0.10)
```

## Standard Commercial Wet Can Sizes
- `3.0 oz (85 g)` Cat Can: `75–95 kcal` (default `85 kcal`)
- `5.5 oz (156 g)` Cat / Small Dog Can: `145–185 kcal` (default `165 kcal`)
- `13.0 oz (370 g)` Dog Canned Loaf: `350–430 kcal` (default `385 kcal`)
