Skip to content
Workflow · Finance close · Opening soon

Restaurant food cost percentage

See weekly food cost percentage by location from exported sales and purchase files. Compare food purchases with food sales using the same location key.

Early access opens shortly. Check back soon.

Someone typed

“calculate food cost percentage by week: food purchases divided by food sales, by location”

The agent read it as

Calculate food cost percentage by week: Weekly food purchases by location divided by Weekly food sales by location, by location.

What the agent built

4 steps, each one an ordinary Mammoth step you can open and change.

  1. File
    Weekly food sales by location
    CSV export · 24 rows
  2. File
    Weekly food purchases by location
    CSV export · 24 rows
  3. Step
    Make sales location key
    Step 1
  4. Step
    Make purchase location key
    Step 2
  5. Join
    Bring in food purchases
    24 of 24 paired
  6. Step
    Calculate food cost percentage
    Step 4
  7. Result
    Weekly Location Food Cost
    24 rows
  8. Schedule
    Runs when you say
    Proposed

Checked on the sample files: every step ran, 24 rows came out, and the join paired 24 of 24 rows.

What you get back

The result of that run, the rows to look at first.

Weekly Location Food CostSample data24 rows
LocationWeekFood cost percentageFood purchasesFood sales
Harbor Grill2026-09-2127.147,60028,000
Lakeside Kitchen2026-09-2123.645,20022,000
Midtown Market2026-09-2126.156,80026,000
Harbor Grill2026-09-2826.917,40027,500
Lakeside Kitchen2026-09-2823.725,10021,500
Midtown Market2026-09-2827.066,90025,500
Harbor Grill2026-10-0526.907,80029,000
Lakeside Kitchen2026-10-0523.485,40023,000
Midtown Market2026-10-0526.307,10027,000
Harbor Grill2026-10-1226.898,20030,500
Lakeside Kitchen2026-10-1213.892,50018,000
Midtown Market2026-10-1226.427,00026,500
24 rows in the result · 12 shown, problems first. Sample data: illustrative figures, not business results.

How do you calculate food cost percentage by week?

Export weekly food sales and weekly food purchases from Toast. Match both files by location, then divide food purchases by food sales for each week and location. The result is a weekly food cost percentage by location.

How it works

How to use the Weekly Location Food Cost workflow

  1. 1Get early accessWe invite people in small batches, job by job. You'll land on this workflow, already built and checked on the sample files.
  2. 2Swap in your exportsUpload your own files as they come out of your tools. The agent checks the workflow on your rows.
  3. 3Change it in words, then turn it onSay what to change and see the new result before anything saves. Then choose when it runs.

Weekly Location Food Cost: questions

Which export should you use?
Use the export that includes weekly food sales by location, and the export that includes weekly food purchases by location. If your source file has different column names, map the columns that hold location, week, purchases, and sales.
What happens to rows that do not match?
Rows that do not match on the location key stay out of the percentage result. You can review those rows in the source files, then fix the location names or keys and run the workflow again.
How do you change the rules?
Change the rule text in plain words, for example, use a different location key, a different week field, or a different formula. Then rerun the workflow so it applies the new rules to the exported files.

Get early access to this workflow

It will open already built and checked on the sample files. Swap in your own exports and see your result.

Early access opens shortly. Check back soon.

Workflows like this

Consolidate entities, compare budget to actual, build a trial balance, review month-on-month moves and work out commission.

All finance close templates →