# Food waste cost calculator

- Human page: https://happytails.ai/en/calculators/food-waste-cost-calculator/
- Markdown: https://happytails.ai/en/calculators/food-waste-cost-calculator.md
- Structured JSON: https://happytails.ai/agents/en/calculators/food-waste-cost-calculator/index.json
- Visibility: public

## Tool capabilities

| Property | Value |
| --- | --- |
| Tool ID | `food-waste-cost-calculator` |
| Category | calculators |
| Implementation | Registered implementation. Registration alone is not a production-quality guarantee. |
| Browser execution | Automatic updates after valid input or file selection. |
| Browser processing | Browser; see tool notes for network behavior. |
| HTTP API | Not callable through HTTP. |
| Browser-agent interface | run_current_tool |

### Implementation notes

Project observed discarded mass and price through a chosen number of days. Reduction is an editable savings scenario, not an achieved result. Runs on your device. Changing units keeps the entered numbers.

### Inputs and settings

No free-text input is required. Use the file inputs and/or settings below.

| Setting | Meaning | Control type | Default | Constraints |
| --- | --- | --- | --- | --- |
| `discarded` | Discarded quantity per observed period | number | 2 | min=0 max=1000000000 step=any |
| `massUnit` | Mass unit | select | "kg" | Allowed: g, kg, oz, lb |
| `price` | Purchase price for the reference amount | number | 5 | min=0 max=1000000000 step=any |
| `priceAmount` | Reference quantity covered by that price | number | 1 | min=0 max=1000000000 step=any |
| `priceUnit` | Reference price mass unit | select | "kg" | Allowed: g, kg, oz, lb |
| `period` | Observed waste period | select | "Week" | Allowed: Day, Week, 30-day month, Year (365 days) |
| `horizonDays` | Projection horizon (days) | number | 365 | min=1 max=36500 step=any |
| `reduction` | Scenario: waste reduction (%) | number | 25 | min=0 max=100 step=any |
| `currency` | Currency of all entered costs | select | "USD" | Allowed: USD, EUR, GBP, CAD, AUD, Other |

### Browser-agent workflow

1. Open the human page in a browser that supports WebMCP.
2. Discover the interface exposed by that page; use its actual schema.
3. Select files on the page first when the tool requires files.
4. Call `run_current_tool` with valid input and settings.
5. Inspect the returned result or error and the displayed output. Retrieve files from the displayed download links.

Calls do not automatically copy or download results. Browser permissions still apply. Interface availability alone is not proof of successful execution.

### Planning specification

Up to 36,500 horizon days. Observed quantities and prices are assumed to repeat. No disposal fee, inflation or carbon impact is inferred.

This describes intended requirements. Use the implementation notes, interface schema and observed output to determine current support.

### Complete machine-readable capability record

```json
{
  "id": "food-waste-cost-calculator",
  "category": "calculators",
  "built": true,
  "requirements": "Up to 36,500 horizon days. Observed quantities and prices are assumed to repeat. No disposal fee, inflation or carbon impact is inferred.",
  "implementation": {
    "fields": [
      {
        "key": "discarded",
        "label": "Discarded quantity per observed period",
        "value": 2,
        "type": "number",
        "min": 0,
        "max": 1000000000,
        "step": "any"
      },
      {
        "key": "massUnit",
        "label": "Mass unit",
        "value": "kg",
        "type": "select",
        "values": [
          "g",
          "kg",
          "oz",
          "lb"
        ]
      },
      {
        "key": "price",
        "label": "Purchase price for the reference amount",
        "value": 5,
        "type": "number",
        "min": 0,
        "max": 1000000000,
        "step": "any"
      },
      {
        "key": "priceAmount",
        "label": "Reference quantity covered by that price",
        "value": 1,
        "type": "number",
        "min": 0,
        "max": 1000000000,
        "step": "any"
      },
      {
        "key": "priceUnit",
        "label": "Reference price mass unit",
        "value": "kg",
        "type": "select",
        "values": [
          "g",
          "kg",
          "oz",
          "lb"
        ]
      },
      {
        "key": "period",
        "label": "Observed waste period",
        "value": "Week",
        "type": "select",
        "values": [
          "Day",
          "Week",
          "30-day month",
          "Year (365 days)"
        ]
      },
      {
        "key": "horizonDays",
        "label": "Projection horizon (days)",
        "value": 365,
        "type": "number",
        "min": 1,
        "max": 36500,
        "step": "any"
      },
      {
        "key": "reduction",
        "label": "Scenario: waste reduction (%)",
        "value": 25,
        "type": "number",
        "min": 0,
        "max": 100,
        "step": "any"
      },
      {
        "key": "currency",
        "label": "Currency of all entered costs",
        "value": "USD",
        "type": "select",
        "values": [
          "USD",
          "EUR",
          "GBP",
          "CAD",
          "AUD",
          "Other"
        ]
      }
    ],
    "input": false,
    "background": false,
    "live": true,
    "presentation": "metrics",
    "note": "Project observed discarded mass and price through a chosen number of days. Reduction is an editable savings scenario, not an achieved result. Runs on your device. Changing units keeps the entered numbers.",
    "experience": {
      "automatic": true,
      "single": false,
      "inputMaxLength": 1000000,
      "inputMode": "text",
      "label": "Your text",
      "placeholder": "Type or paste your input…",
      "help": "Change the input or settings to update your result. Results update as you type. Up to 1,000,000 characters.",
      "action": null
    },
    "mode": "automatic",
    "interactive": false
  },
  "execution": "Browser interface",
  "api": null,
  "browser_agent": {
    "supported": true,
    "name": "run_current_tool",
    "discovery": "WebMCP on the human page in a supporting browser",
    "verification": "See audit/API-AUDIT.md; availability is not verification"
  }
}
```

## Page guide

See what your measured food waste costs over time and compare an editable reduction scenario.

How can we improve this tool?

Report a problem or share an idea.

Please leave out private information. Your message and the tool name go to our team via PostHog.

### How to use Food waste cost calculator

1. Enter your measured quantities, units and assumptions.
2. Review the calculated result and the stated limits.
3. Download the report or plan for your project.

## Useful next steps

- [Compost volume calculator](https://happytails.ai/en/calculators/compost-volume-calculator/) ([Markdown](https://happytails.ai/en/calculators/compost-volume-calculator.md))

- [Repair versus replace calculator](https://happytails.ai/en/calculators/repair-versus-replace-calculator/) ([Markdown](https://happytails.ai/en/calculators/repair-versus-replace-calculator.md))

## Start with observed waste

Enter discarded mass for a day, week, 30-day month or 365-day year. Price can use a different mass unit, so a 100 g purchase price can be compared with kilograms of waste.

### Compare a reduction scenario

Choose a horizon in days and the reduction percentage you want to examine. The report separates projected waste, total cost, potential savings and remaining cost. The scenario is not evidence of savings already achieved.

### Save the measurements and assumptions

Download CSV and a text or JSON report. The calculation runs on your device. Changing a unit keeps the number you entered, so check both before using the result.
