Restaurant meal bundle margin calculator

Calculate bundle contribution [name,margin,margin fraction] with your own figures.

Your numbers

Use the units shown. Results update as you change valid inputs.

Choose the currency for these amounts. Changing it keeps your numbers and does not convert exchange rates.

Use bundle contribution [name,margin,margin fraction] to compare changes to your inputs. The method and limits below explain the scope.

Examples

Examples

Try the starting example

Permitted bundles [name,sale price currency,component costs currency list]; enter JSON (USD)
[["A",12,[3,2,1]],["B",14,[4,3,1]]]
Bundle contribution [name,margin,margin fraction] (JSON) (USD)
[["A",6,0.5],["B",6,0.428571428571]]

Try another scenario

Permitted bundles [name,sale price currency,component costs currency list]; enter JSON (USD)
[["A",13,[3,2,1.5]],["B",15,[5,3,1]]]
Bundle contribution [name,margin,margin fraction] (JSON) (USD)
[["A",6.5,0.5],["B",6,0.4]]
Calculation method

Calculation method

Bundle contribution [name,margin,margin fraction] (JSON) (USD)

Margin=sale−sum component costs; margin fraction=margin/sale.

Symbols and units
a
Permitted bundles [name,sale price currency,component costs currency list]; enter JSON (USD)

Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.

Assumptions & limits

Assumptions & limits

  • Explicit permitted bundle combinations only; no optimization over unlisted combinations. Supported limits: All numeric inputs and computed intermediates must remain finite. Supported numeric input magnitude is zero or 1e-12 through 1e12 in absolute value; reject values outside this bounded range. All lists/JSON record tables are limited to 100 records unless a stricter bound is stated; reject malformed record arity and wrong member types. Sale price>0; component costs>=0; margin excludes labor/fixed costs unless included by user.
Are these inputs private?

These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.

Share this page
Share this calculator

Leave unchecked to share the page without your entered values.