A total cost function calculates the full cost of producing a given quantity of goods or services by adding fixed costs to variable costs. Enter fixed cost, variable cost per unit, and quantity to see total cost, variable cost overall, and average cost per unit.
Formula
The standard linear total cost function is TC(q) = FC + vq. Total cost (TC) equals fixed cost (FC) plus variable cost per unit (v) multiplied by the quantity produced (q). The calculator uses dollars for costs and units for quantity. It also shows total variable cost, VC = vq, and average cost per unit, AC = TC / q.
- FC: fixed cost over the period being analysed, in dollars. It does not change with output within the model.
- v: variable cost per unit, in dollars per unit.
- q: units produced during the same period.
- TC: total cost for producing q units, in dollars.
- VC: total variable cost for q units, in dollars.
- AC: average cost per unit, in dollars per unit, provided q is greater than zero.
The expression requires consistent time periods and units. For example, if fixed costs are monthly, the quantity and per-unit variable costs should also describe that month. The model assumes variable cost per unit stays constant as output changes.
Worked Example
Using the calculator defaults: fixed cost is $1,000, variable cost is $5 per unit, and quantity is 200 units.
- Total variable cost: $5 per unit × 200 units = $1,000.
- Total cost: $1,000 fixed cost + $1,000 variable cost = $2,000.
- Average cost per unit: $2,000 ÷ 200 units = $10.00 per unit.
The calculator’s headline result is total cost: $2,000.00. The displayed cents are formatting; the inputs in this example produce an exact whole-dollar total.
How a Total Cost Function Works
Fixed costs are costs that do not vary with output over the range and period being modelled. Examples can include a facility lease or a recurring equipment charge, though whether a particular expense is fixed depends on the business and the time horizon. A cost that is fixed this month may change over a longer period.
Variable costs rise or fall with production in the simple model. If each unit uses $5 of materials and production is 200 units, the model assigns $1,000 of variable cost. Adding fixed costs gives the full modeled production cost. The function is linear: each additional unit increases total cost by the same amount, v, while FC remains unchanged.
Economics courses often express the function as TC(q) = FC + VC(q). If variable cost changes with output, VC(q) need not equal vq. For example, overtime, bulk discounts, or capacity limits can make per-unit costs rise or fall. In that case, a piecewise or nonlinear function may better represent the cost pattern.
When to Use It and How to Read the Results
Use a total cost function for a straightforward estimate of production cost when fixed costs and an average variable cost per unit are known. It can support budgeting, introductory cost analysis, and comparisons between production quantities, but it does not determine a selling price, revenue, or profit on its own.
- Total cost is the modeled amount spent to produce the entered quantity.
- Total variable cost isolates the part that changes with production under the assumptions.
- Average cost spreads total cost across units. With positive fixed costs, this average generally falls as output rises in the linear model because the fixed cost is divided among more units.
For example, at zero output, total cost remains equal to fixed cost, while average cost per unit is undefined because division by zero is not possible. The calculator accepts a quantity of zero so that total cost can still be evaluated; do not interpret its average-cost output at that quantity.
Common Mistakes and Limits
A frequent error is treating all expenses as variable or all expenses as fixed without specifying a time period and production range. Another is mixing monthly fixed costs with annual quantities, or entering a total variable cost in the per-unit field. The variable-cost input must be a cost for one unit, not the total for the whole batch.
- Check that fixed costs and production quantity cover the same period.
- Use the same definition of a unit throughout—for instance, one finished item rather than one case in one input and one item in another.
- Do not assume the per-unit variable cost stays constant if suppliers, efficiency, overtime, or capacity constraints change it.
- Remember that the result excludes costs not represented by the inputs, such as additional overhead, shipping, or financing costs.
The formula is a cost model, not an accounting classification of any particular expense. Real cost structures may include step-fixed costs, such as a cost that stays level until extra capacity is needed, and mixed costs with both fixed and variable components. For those situations, use estimates appropriate to the relevant output range or a more detailed model.
Frequently Asked Questions
What is the total cost function formula?
In the basic linear model, total cost is fixed cost plus variable cost per unit multiplied by quantity: TC(q) = FC + vq.
What is the difference between total cost and total variable cost?
Total variable cost changes with output in the model and equals vq. Total cost includes that amount plus fixed cost.
Can total cost be positive when production is zero?
Yes. If fixed costs are positive, the function gives TC(0) = FC. Average cost at zero output is undefined.
How do I calculate average cost from total cost?
Divide total cost by the number of units produced: AC = TC / q. This calculation requires q to be greater than zero.
Is total cost the same as total expense or price?
No. Total cost here means modeled production cost. It is not a product’s selling price, total revenue, or profit, and may not include every expense a business tracks.
This calculator is estimate arithmetic for education, not financial advice; actual costs depend on the inputs and accounting scope. Its result is an estimate, and the lender’s disclosure gives the exact figures.
Related
Formula used
in fc | Fixed cost | $ | 1000 | 0 | 100000000 in vc | Variable cost per unit | $ | 5 | 0 | 1000000 in q | Quantity produced | units | 200 | 0 | 100000000 out tc | Total cost | $ | fc + vc * q | 2 out tv | Total variable cost | $ | vc * q | 2 out ac | Average cost per unit | $ | (fc + vc * q) / q | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard loan formula for this calculation, fixed rate and monthly compounding unless stated, rounded as each result states. Not financial advice; no lender, rate or product is recommended. See formulas and assumptions, the disclaimer or report an error.
More in this section
- Trade In an Old Laptop for a New One?
- Trade In an Old Phone: Value, Steps, and Alternatives
- Trade In an Old Laptop? Options, Value, and Safety
- Trade In an Old iPhone: Options, Value and Steps
- AT&T Trade-In Offers: How They Work
- Trade In an Old iPad: Options, Value, and Preparation