# Cooking Calculators – Baking Pan Volume & Scaling

> Cooking Calculators – Baking Pan Volume & Scaling is a paid API for AI agents from cooking-calc.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-29).

Calculates baking pan volume in cups and mL for round, square, and rectangular pans, and computes the recipe scale factor needed when switching from one pan size to another.

## Facts

- Endpoint: GET https://cooking-calc.x402tookit.com/pan-scaling?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cooking-calculators-baking-pan-volume-scaling-682eaf16
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mD-_XYaVyeiMUcPPgacPB

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability cooking-calculators-baking-pan-volume-scaling-682eaf16
```

Example prompt: My brownie recipe is written for a 9x13 rectangular pan that's 2 inches deep — if I want to bake it in a 9-inch round pan that's 2 inches deep instead, what scale factor should I use to adjust the ingredients?

## When to prefer this

Use this endpoint whenever a user needs to substitute one baking pan shape or size for another and wants to know the exact volume of each pan and the multiplier to apply to recipe ingredients. Prefer this over generic recipe-scaling endpoints when the scaling driver is pan geometry rather than serving count.

## Known failure modes

- Missing required 'from' or 'to' query parameters returns an error
- Unsupported pan shape strings (not round/square/rect) cause a parse failure
- Dimension values that are zero or negative may produce nonsensical results
- Extremely large or small dimensions outside realistic baking ranges may yield unexpected output
- Malformed dimension strings (e.g. missing height component) may fail to parse

## How this service works

Baking pan volume in cups and mL for round, square and rectangular pans, and the recipe scale factor from one pan to another.

## Output

Returns volume (in cups, mL, and cubic inches) and area (in square inches) for both the source and target pan, plus an area scale factor and volume scale factor to adjust recipe quantities, along with a verdict and human-readable summary explaining whether the swap is feasible and any caveats.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "from",
      "to"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "Pan you will use, same format"
      },
      "from": {
       "type": "string",
       "description": "Pan the recipe was written for, like round:9x2 (diameter x height), square:8x2 or rect:9x13x2"
      },
      "unit": {
       "type": "string",
       "description": "in (default) or cm for the dimensions"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "unit": {
       "type": [
        "null",
        "string"
       ]
      },
      "panTo": {
       "type": [
        "null",
        "object"
       ],
       "properties": {
        "shape": {
         "type": [
          "null",
          "string"
         ]
        },
        "volumeMl": {
         "type": [
          "null",
          "number"
         ]
        },
        "volumeCups": {
         "type": [
          "null",
          "number"
         ]
        },
        "heightInches": {
         "type": [
          "null",
          "number"
         ]
        },
        "areaSquareInches": {
         "type": [
          "null",
          "number"
         ]
        },
        "volumeCubicInches": {
         "type": [
          "null",
          "number"
         ]
        }
       }
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "panFrom": {
       "type": [
        "null",
        "object"
       ],
       "properties": {
        "shape": {
         "type": [
          "null",
          "string"
         ]
        },
        "volumeMl": {
         "type": [
          "null",
          "number"
         ]
        },
        "volumeCups": {
         "type": [
          "null",
          "number"
         ]
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cooking-calculators-baking-pan-volume-scaling-682eaf16/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cooking-calc.x402tookit.com](https://www.zero.xyz/host/cooking-calc.x402tookit.com/llms.txt)
