Home · Small Business & Pricing · Cost Estimates · Cost Function Calculator

Cost Function Calculator

Evaluates a linear cost function: total cost at a chosen quantity from fixed cost and per-unit variable cost, plus average and marginal cost.

Your figures

Example result — edit the figures to make it yours

17,500

Total cost

Average cost per unit35.00
Marginal cost per unit15.00

What this calculator does

Evaluates a linear cost function: total cost at a chosen quantity from fixed cost and per-unit variable cost, plus average and marginal cost. Every figure on this page is computed from the formula or definition stated below, with no hidden rounding steps, and the method notes name the exact convention where more than one exists.

The formula and method

Total cost = Fixed cost + Variable cost per unit × Quantity

The cost function is linear — the per-unit variable cost is assumed constant at every quantity, which is a simplification real production only approximates over a limited range.

For a linear function, marginal cost (the cost of one more unit) equals the per-unit variable cost exactly.

Worked example

With the example inputs this page opens with (fixed cost 10000, variable cost per unit 15, quantity (units) 500), the result is 17,500.00 — total cost. Change any figure and the result updates with the same formula.

Quick reference

Quick reference — varying fixed cost
Fixed costTotal cost
500012,500.00
800015,500.00
1000017,500.00
1250020,000.00
1500022,500.00
2000027,500.00

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How does the Cost Function Calculator work?

Evaluates a linear cost function: total cost at a chosen quantity from fixed cost and per-unit variable cost, plus average and marginal cost. Fixed cost · Variable cost per unit · Quantity → Total cost. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Cost Function Calculator need?

Fixed cost · Variable cost per unit · Quantity → Total cost. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.

Is the Cost Function Calculator free to use?

Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.