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
Fixed costs are what you pay whether you sell anything or not in the period: rent, insurance, salaries, software subscriptions, loan repayments. Variable costs go up with every unit you make or sell: materials, packaging, shipping, card fees, sales commission. Total cost is the two added together. Some costs are a mix, like a utility bill with a standing charge plus usage; split those into a fixed part and a per-unit part before entering them.
Total cost = fixed costs + variable cost per unit × number of units. With $10,000 of fixed costs, a $20 variable cost per unit and 500 units, the variable costs are $20 × 500 = $10,000, so the total is $10,000 + $10,000 = $20,000.
It's the total cost divided by the number of units: what each unit costs you once fixed costs are shared out. In the example above, $20,000 ÷ 500 = $40 a unit, made up of $20 of fixed costs ($10,000 ÷ 500) and the $20 variable cost.
Because the fixed costs are spread over more units, while the variable cost per unit stays the same. With the same costs as above but 1,000 units, the total is $10,000 + $20 × 1,000 = $30,000, or $30 a unit: $10 of fixed costs plus the $20 variable cost. This holds only while the fixed costs really stay fixed; if more volume needs more space or staff, those become new fixed costs.
In plain terms, money the business spends to operate and to make or deliver what it sells during the period. That includes rent, wages, materials, shipping, software, insurance and fees. Your personal spending doesn't count. Some payments, like buying equipment that lasts for years or repaying the amount borrowed on a loan, are handled differently in accounts and tax returns; an accountant can tell you how they apply to you.
To make a profit at a given volume, the price needs to be above the cost per unit at that volume. The Markup and Profit Margin calculators turn a cost into a price, and the Break-Even calculator shows how many units you need to sell before your revenue covers your fixed costs.
Related Articles
Keep going
Related calculators
- Break-Even CalculatorUnits you need to sell to cover your costs, and to reach a profit target
- Profit Margin CalculatorGross margin from cost and price, or the price for a target margin
- Markup CalculatorMarkup from cost and price, or the price for a target markup
- Revenue CalculatorTotal revenue from units sold and price, compared with a previous period
More tools like this are in Business Calculators.
Where this comes from
Sources
Standard formula, see How it works.
Last reviewed: October 2026. Built and maintained by FinCalcBox; see About.
