# 80/10/10 Prey Model Raw (PMR) Dog Food Calculator — Algorithm (`#80-10-10-raw-dog-food-calculator-algorithm`)

Plain-text mathematical specification for `https://pacebowl.com/tools/80-10-10-raw-dog-food-calculator/`.

## Ratio Standard & Scope
Implements the **80/10/10 Prey Model Raw (PMR)** animal-based framework (`80% Muscle Meat`, `10% Pure Edible Bone`, `5% Liver`, `5% Other Secreting Organ` — zero plant matter) plus **actual raw meaty bone (RMB) cut conversion** so owners do not confuse 10% pure edible bone with 10% bone-in poultry cuts.

## Core Equations
```
weight_kg             = weight_lb * 0.45359237
daily_total_grams     = weight_kg * 1000 * (body_weight_pct / 100)
daily_total_oz        = daily_total_grams / 28.349523125

# Pure 80/10/5/5 Nutritional Targets
target_muscle_g       = daily_total_grams * 0.80
target_pure_bone_g    = daily_total_grams * 0.10
target_liver_g        = daily_total_grams * 0.05
target_other_organ_g  = daily_total_grams * 0.05

# Actual Bone-In Cut (RMB) Conversion (e.g., Chicken Quarters = 30% Bone / 70% Meat)
rmb_cut_daily_g       = target_pure_bone_g / (cut_bone_pct / 100)
attached_meat_daily_g = rmb_cut_daily_g - target_pure_bone_g
extra_boneless_meat_g = max(0, target_muscle_g - attached_meat_daily_g)

# Multi-Day Freezer Batch Totals (7, 14, or 30 Days)
batch_grams           = component_daily_g * prep_days
batch_oz              = batch_grams / 28.349523125
batch_lbs             = batch_grams / 453.59237
```

## Standard Bone-In Cut Bone Percentages (Edible Bone Fraction)
- **Chicken Leg Quarters**: `~30%` edible bone / `~70%` attached meat
- **Chicken Backs / Frames**: `~44%` edible bone / `~56%` attached meat
- **Turkey Necks**: `~45%` edible bone / `~55%` attached meat
- **Chicken Wings**: `~46%` edible bone / `~54%` attached meat
- **Duck Necks**: `~50%` edible bone / `~50%` attached meat
- **Chicken Feet**: `~60%` edible bone / `~40%` attached meat
- **Pre-Ground Commercial 80/10/10 Mix**: Pre-blended `80% / 10% / 5% / 5%`

## Daily Body-Weight Percentage Presets
- Less Active / Weight Loss Adult: `2.0%` of ideal weight
- Adult Maintenance (Standard): `2.5%` of ideal weight
- Active / Athletic Adult: `3.0%` of ideal weight
- Working / Sporting Dog: `3.5%` of ideal weight
- Puppies: `4.0%` (9–12 mo), `5.5%` (6–8 mo), `6.5%` (4–5 mo), `8.0%` (2–3 mo) of current weight (or 2–3% of expected adult weight; consult a veterinary nutritionist for calcium:phosphorus balance in growing large/giant breeds).
