Cost Function Calculator

Calculate total cost from a cost function TC = FC + vQ (+ cQ²) — total variable cost, average fixed, variable and total cost, and…

Results

Enter your details and click Calculate to see your results.
About This Calculator

Enter fixed costs (rent, salaries, equipment), the variable cost per unit and the quantity. Add a quadratic term if unit costs rise with volume (diminishing returns).

Example

Example: $5,000 fixed cost and $12 per unit at 500 units gives a total cost of $11,000. Average fixed cost is $10, average variable cost $12 and average total cost $22; marginal cost is $12.

Assumptions

TC = FC + vQ + cQ²; AFC = FC ÷ Q; AVC = TVC ÷ Q; ATC = TC ÷ Q; MC = v + 2cQ. Average fixed cost always falls as output rises, because the same fixed cost is spread over more units.

Frequently Asked Questions

What is average fixed cost?

Fixed cost divided by the number of units — it shrinks as you produce more.

Why is marginal cost different from average cost?

Marginal cost is the cost of one more unit; average cost includes fixed costs spread over all units.

Related Calculators

About the Author

Imran Hossain
Imran Hossain

Professional SEO, Digital Marketer Specialist

I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist

View full profile