Back to Tools

Business & Pricing

Cost Calculator

Add up your fixed and variable costs to see the total cost for a period and what each unit costs you.

Costs for the period that don't change with volume, like rent, salaries and insurance. Can be 0.

What each extra unit adds, like materials, packaging and shipping. Can be 0.

Items made or sold, orders or hours in the same period as the fixed costs.

Your results will appear here

Enter your fixed costs, the variable cost per unit and the number of units.

The method

How it works

Costs come in two kinds. Fixed costs, like rent and salaries, are the same for the period however much you sell. Variable costs, like materials and shipping, are paid on every unit. The calculator multiplies the variable cost per unit by the number of units and adds the fixed costs to give the total cost.

Dividing the total by the number of units gives the cost per unit. It's split into the fixed costs shared across each unit and the variable cost of the unit itself, and the total is split into fixed and variable shares.

The formulas

Variable costs = cost per unit × units

Total cost = fixed + variable costs

Cost per unit = total ÷ units

Worked example

$10,000 of fixed costs, a $20 variable cost per unit and 500 units: the variable costs are $20 × 500 = $10,000, the total cost is $20,000, and the cost per unit is $20,000 ÷ 500 = $40 ($20 fixed plus $20 variable). Fixed and variable costs are 50% each.

The same costs at 1,000 units

The total rises to $10,000 + $20 × 1,000 = $30,000, but the cost per unit falls to $30, because the same $10,000 of fixed costs is now shared by twice as many units ($10 each).

What you get

Key features

  • Total cost from fixed and variable

    Adds your fixed costs to the variable cost of every unit to give the total cost for the period.

  • Cost per unit, split in two

    Shows what each unit costs in total, and how much of that is fixed costs spread over the units.

  • Fixed and variable shares

    Shows what percentage of the total is fixed and what percentage is variable.

  • Products or services

    Units can be items made, orders shipped or hours worked, whatever each variable cost applies to.

Read before relying on it

Assumptions

  • Fixed costs stay the same whatever the number of units. In reality they can step up, for example when you need bigger premises or another machine.
  • The variable cost is the same for every unit, with no bulk discounts or price changes along the way.
  • One product or service. For several, work out each one's variable costs separately.
  • Costs that are partly fixed and partly variable, like a phone plan with a monthly fee plus usage, need splitting into those two parts before you enter them.
  • The fixed costs and the units cover the same period, such as one month.
  • It's arithmetic, not an accounting or tax treatment of your costs.

Questions

Frequently asked questions

Related Articles

Where this comes from

Sources

Standard formula, see How it works.

Last reviewed: October 2026. Built and maintained by FinCalcBox; see About.