# Dog and Cat Food Calculator > Daily calories for your dog or cat and grams or cups of food from the label, as an estimate. Estimates the daily energy a dog or cat needs from its weight and life stage — resting energy 70 × kg^0.75 times the published life-stage factor — and turns it into grams or cups per day and per meal from the calories on the food label, with treats taken off. Part of usefulweb.site (https://usefulweb.site/). Part of [Hearth](https://hearth.usefulweb.site/) (ownerApp: hearth). Results are deterministic calculations from the inputs and the listed assumptions; the API returns exactly what the web page shows. ## Use it - Human interface: https://hearthpetenergy.usefulweb.site/ (interactive tool at https://hearthpetenergy.usefulweb.site/tool) - JSON API: POST https://hearthpetenergy.usefulweb.site/api/v1/calculate with a JSON object of inputs (schema: https://hearthpetenergy.usefulweb.site/api/v1/tool) - OpenAPI: https://hearthpetenergy.usefulweb.site/openapi.json - MCP (Streamable HTTP): https://hearthpetenergy.usefulweb.site/mcp - tool `hearth_pet_energy` ## Inputs - species (select): Animal - weightKg (number): Body weight (kg) - For weight loss enter the target weight your vet suggests. - stage (select): Life stage - factor (number): My vet’s factor (× RER, only for “My vet’s factor”) - foodKcalPerKg (number): Food energy (kcal per kg, from the label) - Often printed as “metabolisable energy”; 0 = not known. - foodKcalPerCup (number): Food energy (kcal per cup, optional) - treatKcal (number): Treats per day (kcal) - meals (integer): Meals per day ## Method - Resting energy requirement RER = 70 × (body weight in kg)^0.75 kcal per day (NRC 2006), the same for dogs and cats. - Daily energy (MER) = RER × life-stage factor from the Pet Nutrition Alliance table linked by WSAVA: dog neutered 1.6, intact 1.8, inactive 1.2–1.4, weight loss 1.0, growth 2–3, pregnancy 1.6–2.0, nursing 2–6; cat neutered 1.2, intact 1.4, inactive 1.0, weight loss 0.8–1.0, growth 2–3, pregnancy 2–3, nursing 2–6. Growth uses 3.0 under 4 months and 2.0 from 4 months on (needs fall from about 4 months). The range shown uses the AAHA 2021 ranges where they are wider. - Food per day = (MER − treats) ÷ label kcal per kg × 1000 g, or ÷ kcal per cup; split into the meals you give. ## Limits - This is an estimate to start from, not veterinary advice. Pets differ by up to half from these numbers; weigh your pet and check its body condition every few weeks and ask your vet before changing the diet — always for puppies, kittens, pregnant, nursing, ill or overweight animals.