Logo
Inventory Keeper
Early Access
BlogPricingJoin the Waitlist

Back to free tools

Inventory Cost Calculator

Calculate inventory cost, food cost percentage, and gross margin for a period.

This tool is for illustration and education. Calculations are rounded to six decimal places; displayed results may use fewer. Determine the precision your decisions require.
The formula

Cost of goods sold = beginning inventory + purchases − ending inventory

Calculator

Enter your numbers

Start with these example values, or enter your own.

Results

Cost of goods sold: $9,000.00

Gross profit before operating expenses: $21,000.00

Food cost percentage: 30.00%

Gross margin: 70.00%

What the terms mean

Beginning and ending inventory: The value of inventory at the start and end of the period.

Purchases: Inventory purchased during the period, net of returns.

Cost of goods sold: The inventory cost used during the period.

Food cost percentage: Food cost divided by food sales for the same period.

Gross margin: Revenue minus cost of goods sold, expressed as a percentage of revenue, before labor, rent, and other operating expenses.

Use the same period, category, currency, and inventory valuation for all amounts. This simplified formula assumes no additional inventory additions or transfers needing adjustment.

Related blog post

What Is Food Cost Percentage?

Food cost percentage tells you whether your menu pricing is working. Learn what it measures, how to calculate it, and what a healthy number looks like.

Keep your inventory in view

See how Inventory Keeper helps you manage inventory day to day.

Explore Inventory Keeper