# Cake serving calculator

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

## Tool capabilities

| Property | Value |
| --- | --- |
| Tool ID | `cake-serving-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

Rectangles use a complete-piece grid. Round cakes use equal-area wedges based on your target portion area. Up to 1,000 portions; no standard event portion size is assumed. Calculated 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 |
| --- | --- | --- | --- | --- |
| `shape` | Cake shape | select | "Rectangle" | Allowed: Rectangle, Round |
| `length` | Cake length | number | 30 | min=0 max=100000000 step=any |
| `width` | Cake width | number | 20 | min=0 max=100000000 step=any |
| `diameter` | Cake diameter | number | 25 | min=0 max=100000000 step=any |
| `height` | Cake height | number | 8 | min=0 max=100000000 step=any |
| `portionLength` | Target portion length | number | 5 | min=0 max=100000000 step=any |
| `portionWidth` | Target portion width | number | 5 | min=0 max=100000000 step=any |
| `unit` | Dimension unit | select | "cm" | Allowed: mm, cm, in |
| `rotation` | Rectangular cutting grid | select | "Allow rotation" | Allowed: Allow rotation, Keep entered direction |

### 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 1,000 portions. No mixed-orientation packing, tiers, decorations or standard event portion chart is assumed.

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

### Complete machine-readable capability record

```json
{
  "id": "cake-serving-calculator",
  "category": "calculators",
  "built": true,
  "requirements": "Up to 1,000 portions. No mixed-orientation packing, tiers, decorations or standard event portion chart is assumed.",
  "implementation": {
    "fields": [
      {
        "key": "shape",
        "label": "Cake shape",
        "value": "Rectangle",
        "type": "select",
        "values": [
          "Rectangle",
          "Round"
        ]
      },
      {
        "key": "length",
        "label": "Cake length",
        "value": 30,
        "type": "number",
        "min": 0,
        "max": 100000000,
        "step": "any",
        "showWhen": {
          "shape": [
            "Rectangle"
          ]
        }
      },
      {
        "key": "width",
        "label": "Cake width",
        "value": 20,
        "type": "number",
        "min": 0,
        "max": 100000000,
        "step": "any",
        "showWhen": {
          "shape": [
            "Rectangle"
          ]
        }
      },
      {
        "key": "diameter",
        "label": "Cake diameter",
        "value": 25,
        "type": "number",
        "min": 0,
        "max": 100000000,
        "step": "any",
        "showWhen": {
          "shape": [
            "Round"
          ]
        }
      },
      {
        "key": "height",
        "label": "Cake height",
        "value": 8,
        "type": "number",
        "min": 0,
        "max": 100000000,
        "step": "any"
      },
      {
        "key": "portionLength",
        "label": "Target portion length",
        "value": 5,
        "type": "number",
        "min": 0,
        "max": 100000000,
        "step": "any"
      },
      {
        "key": "portionWidth",
        "label": "Target portion width",
        "value": 5,
        "type": "number",
        "min": 0,
        "max": 100000000,
        "step": "any"
      },
      {
        "key": "unit",
        "label": "Dimension unit",
        "value": "cm",
        "type": "select",
        "values": [
          "mm",
          "cm",
          "in"
        ]
      },
      {
        "key": "rotation",
        "label": "Rectangular cutting grid",
        "value": "Allow rotation",
        "type": "select",
        "values": [
          "Allow rotation",
          "Keep entered direction"
        ],
        "showWhen": {
          "shape": [
            "Rectangle"
          ]
        }
      }
    ],
    "input": false,
    "live": true,
    "presentation": "metrics",
    "note": "Rectangles use a complete-piece grid. Round cakes use equal-area wedges based on your target portion area. Up to 1,000 portions; no standard event portion size is assumed. Calculated 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

Estimate complete cake portions from your preferred serving dimensions and get a grid or wedge cutting plan.

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 Cake serving calculator

1. Enter the measurements and assumptions for this recipe or plan.
2. Review the calculated quantities and their stated basis.
3. Download the report and verify it against your measured result.

## Useful next steps

- [Cake pan conversion calculator](https://happytails.ai/en/calculators/cake-pan-conversion-calculator/) ([Markdown](https://happytails.ai/en/calculators/cake-pan-conversion-calculator.md))

- [Baking tin lining template](https://happytails.ai/en/calculators/baking-tin-lining-template/) ([Markdown](https://happytails.ai/en/calculators/baking-tin-lining-template.md))

## Choose your serving size

Enter the cake’s top dimensions and full height, then your target portion length and width. There is no assumed wedding or party serving size.

### Read the cutting method

Rectangles use a whole-piece grid with optional rotation and leave narrow edge remainders. Round cakes divide into equal wedges with at least the target top area; those wedges are not rectangular blocks.

### Save the result

Download CSV and a text or JSON report with the calculation and its assumptions. Processing stays on your device. Check measurements and selected units before using the result.
