Marginal Cost Calculator

Compute marginal cost (MC) as the change in total cost divided by the change in quantity.

Money MC + ATC at both Q Economies of scale check
Rate this calculator · 5.0 (1)

Marginal Cost Calculator

MC = ΔTC / ΔQ · with ATC compare

Instructions — Marginal Cost Calculator

1

Enter two production levels

Type the initial total cost (TC1) and the initial quantity produced (Q1). Then enter the new total cost (TC2) and the new quantity (Q2). Q2 must be larger than Q1: marginal cost is defined for an increase in output. Total cost includes fixed plus variable costs at that volume, in your currency of choice.

2

Read marginal cost and the change

The headline gives marginal cost per added unit. The grid below shows the change in total cost (ΔTC), the change in quantity (ΔQ), and the average total cost (ATC) at each production level. If ATC drops from Q1 to Q2, the firm is in the economy-of-scale region. If it rises, diminishing returns are setting in.

3

Compare marginal cost to price

Profit-maximising output sits where marginal cost equals marginal revenue. If your selling price exceeds marginal cost, every extra unit adds to profit and you should expand. If marginal cost crosses above price, shrink output. The detail row flags which region you are in and ties the result back to the U-shaped cost curve taught in micro-economics.

Marginal cost ignores fixed cost: Rent, depreciation, and salaried labour do not change with the next unit, so they drop out of ΔTC. Only variable costs (raw materials, hourly labour, power) feed into marginal cost.
Marginal cost vs marginal revenue: Set MC = MR to find the profit-maximising quantity. Below that point, expand; above it, contract. This is the canonical rule taught in micro-economics from Samuelson to current BLS producer-price guides.

Formulas

Marginal cost is the slope of the total cost curve. The formulas below are exact when the input numbers are exact; in practice TC depends on accurate allocation of fixed and variable costs.

Marginal cost
$$ MC = \frac{\Delta TC}{\Delta Q} = \frac{TC_2 - TC_1}{Q_2 - Q_1} $$
The base definition. Divide the change in total cost by the change in quantity. The result is the cost of producing one additional unit at the new output level.
Average total cost
$$ ATC = \frac{TC}{Q} $$
Average total cost spreads all costs across all units produced. ATC includes a share of fixed costs; marginal cost does not. ATC is what matters for unit-level pricing decisions.
Average variable cost
$$ AVC = \frac{VC}{Q} $$
AVC strips out fixed costs and divides only variable costs by quantity. Marginal cost crosses AVC at its minimum; below AVC, shutting down beats producing.
Marginal cost from a cost function
$$ MC(Q) = \frac{d \, TC(Q)}{dQ} $$
In continuous-output models, marginal cost is the derivative of the total cost function. For TC = aQ^2 + bQ + c, marginal cost is 2aQ + b. This formulation underlies the U-shaped curve.
Profit-maximising output
$$ MC = MR $$
Set marginal cost equal to marginal revenue. Below this output, each extra unit adds profit; above it, each extra unit destroys profit. Classical result from Samuelson and Nordhaus, Economics.
Cost elasticity
$$ E_{c} = \frac{MC}{ATC} $$
When E_c is less than 1, expanding output lowers average cost (economies of scale). When E_c is greater than 1, expanding output raises average cost (diseconomies of scale).

Reference

Three classic marginal cost scenarios
BusinessTC1 / Q1TC2 / Q2MC
Bakery$500 / 100 loaves$650 / 110 loaves$15
Furniture shop$10,000 / 50 tables$11,100 / 60 tables$110
Phone factory$500,000 / 1,000 units$540,000 / 1,100 units$400
Software firm$1,000,000 / 50,000 DLs$1,002,000 / 100,000 DLs$0.04
Steel mill$2.4M / 1,000 t$2.7M / 1,100 t$3,000

Marginal cost vs average cost regimes

Region of the cost curve
ConditionEffect on ATC
MC < ATCATC falling
MC = ATCATC at minimum
MC > ATCATC rising
Pricing rule
ConditionAction
P > MCExpand output
P = MCProfit maximum
P < MCContract output
P < AVCShut down short-run

Source: BLS Producer Price Index methodology, Samuelson and Nordhaus, Economics, 19th ed. (cost curves).

Article — Marginal Cost Calculator

Marginal Cost Calculator: Compute the Cost of the Next Unit

Marginal cost is the cost of producing one more unit, computed as MC = change in total cost divided by change in quantity. A bakery whose total cost rises from $500 to $650 when output goes from 100 to 110 loaves has a marginal cost of $15 per loaf. Marginal cost excludes fixed costs (rent, salaries, depreciation) and includes only variable costs. The concept anchors profit-maximising output: produce up to the quantity where marginal cost equals marginal revenue.

Enter the initial and new total cost and quantity in the calculator above. The tool returns marginal cost per added unit alongside the change in total cost, the change in quantity, and the average total cost (ATC) at each production level. The detail line interprets the result: economies of scale (MC below ATC) or diminishing returns (MC above ATC).

How the marginal cost calculator works

This marginal cost calculator takes four numbers: TC1, Q1, TC2, Q2. It computes the change in total cost (TC2 minus TC1) and the change in quantity (Q2 minus Q1), then divides. Q2 must exceed Q1 for the result to be defined; if you enter the same quantity twice, the calculator flags an undefined result. Multi-currency support (USD, EUR, GBP, CAD, AUD, PLN) updates the unit labels automatically.

The output panel includes ATC at Q1 and ATC at Q2, computed as total cost divided by quantity at each level. Comparing MC against ATC2 tells you which side of the U-shaped average cost curve you are on. MC below ATC2 means average cost is still falling (economies of scale). MC above ATC2 means average cost is rising (diminishing returns).

Did you know

Marginal cost was not part of classical economics. Adam Smith and David Ricardo wrote about average cost and labour value, but the marginal concept arrived in the 1870s with the so-called Marginal Revolution. William Stanley Jevons (Manchester), Carl Menger (Vienna), and Leon Walras (Lausanne) independently developed marginal analysis between 1871 and 1874, reshaping economics into a discipline built on calculus.

The marginal cost formula

The marginal cost formula is MC = ΔTC / ΔQ. Take the difference in total cost between two production levels and divide by the difference in output. The discrete form fits real accounting data: businesses report total cost at month-end or batch-end, not at every infinitesimal unit. The continuous form is MC = d(TC)/dQ, the derivative of the total cost function, used in textbook microeconomics for analytic work.

For a total cost function TC(Q) = aQ^2 + bQ + c, marginal cost is 2aQ + b. The quadratic shape produces the U-shaped MC curve textbooks draw. For a linear TC(Q) = bQ + c, marginal cost is constant b, which describes software distribution and other near-zero-marginal-cost businesses.

Marginal cost vs average cost

Marginal cost and average cost answer different questions. Marginal cost asks: what does the next unit cost? Average total cost asks: what does each unit cost on average across all production? The two measures usually differ. ATC includes a share of fixed costs (rent, equipment, salaried staff) that do not move with output. MC excludes them.

Marginal cost cheat sheet
MC ΔTC / ΔQ
ATC TC / Q
AVC VC / Q
MC < ATC ATC falling
MC = ATC ATC at min
MC > ATC ATC rising
P = MC profit max output

Why the marginal cost curve is U-shaped

Marginal cost starts high at very low output, falls to a minimum, then rises again. The falling phase comes from economies of scale: bulk purchasing of inputs, division of labour, learning effects, and spreading of overhead. The rising phase comes from diminishing returns. Once capacity is reached, the next unit needs overtime labour, expedited shipping, or rented capacity, all of which cost more than the standard inputs used at scale.

The minimum of the U is the most efficient scale. Firms with stable demand operate near this point. Firms in growth phases sit on the falling side and benefit from expanding. Firms hitting capacity sit on the rising side and either invest in more capacity (which shifts the whole curve right) or accept higher unit costs.

Using marginal cost for pricing decisions

The pricing rule from microeconomics is: produce up to the quantity where marginal cost equals marginal revenue. In perfectly competitive markets, marginal revenue equals the market price, so P = MC at the profit-maximising output. In monopoly or oligopoly markets, MR is below price and the firm produces less than the perfectly competitive level. The marginal cost calculator gives the MC side of the equation; you supply the MR side from your demand analysis.

Below average variable cost, shut down

If your selling price falls below average variable cost (not average total cost), you lose money on every unit even before paying any fixed cost. The shutdown rule says: stop producing in the short run. Fixed costs are sunk; minimising variable losses by halting production is the correct response. Resume when price recovers above AVC.

Marginal cost examples by industry

Marginal cost varies wildly across industries. A software-as-a-service product has near-zero marginal cost: one more customer adds bandwidth, support cost, and payment-processor fees but no production cost. A semiconductor fabrication plant has high marginal cost: each chip requires several weeks of equipment time and large amounts of ultra-pure water and electricity. A bakery sits in between.

  • SaaS = near-zero MC (cents per added user)
  • Software download = MC about $0.04 per copy
  • Bakery (loaves) = MC about $1 to $5 per loaf
  • Custom furniture = MC $50 to $200 per piece
  • Auto manufacturing = MC $5,000 to $15,000 per vehicle
  • Marginal Revolution 1871-1874 (Jevons, Menger, Walras)
  • P = MC = profit-maximising output in perfect competition
  • P < AVC = short-run shutdown threshold

Common marginal cost mistakes

The single most common mistake is including fixed costs in ΔTC. Fixed costs by definition do not change with output, so they cancel from the numerator. If you compute MC and get a number close to ATC, double-check that you have not accidentally added rent or depreciation into the cost change.

The second mistake is using widely separated quantity points. The marginal cost concept is local: it describes the slope of the cost curve at a particular quantity. If you compute MC between Q = 100 and Q = 10,000, you get the average slope across that whole range, not the marginal cost at any specific point. Pick adjacent or near-adjacent points for a meaningful MC.

The third mistake is treating marginal cost as a price ceiling. Selling at exactly MC covers the variable cost of the next unit but contributes nothing to fixed cost. In the long run, price must exceed average total cost for the business to survive. The MC = price rule is a short-run profit-maximising condition, not a long-run viability rule.

Marginal cost in modern economics

Marginal cost is still the foundation of micro-economic theory taught in every introductory course. The US Bureau of Labor Statistics tracks the Producer Price Index using a methodology that implicitly assumes producers respond to changes in marginal cost. The OECD glossary defines marginal cost as the increase in total cost per additional unit of output and ties it to the optimal level of production where marginal revenue equals marginal cost.

Modern applications include carbon pricing, electricity markets (where dispatch order is set by marginal cost of each generator), and platform economics (where near-zero marginal cost explains why digital monopolies are hard to dislodge). The basic formula has not changed in 150 years; the applications have.

FAQ

Marginal cost is the cost of producing one more unit. If a bakery spends $500 to bake 100 loaves and $650 to bake 110, the cost of those extra 10 loaves is $150, so the marginal cost per loaf is $15. It tells a firm whether expanding output is worthwhile: if the next unit costs less to produce than its selling price, profit grows.
Marginal cost = change in total cost divided by change in quantity, or MC = ΔTC / ΔQ. Pick two production levels with known total costs. Subtract the smaller cost from the larger, divide by the difference in units produced. Round to the precision your accounting supports (usually cents).
Marginal cost is the cost of the next unit; average cost is total cost divided by all units. Marginal cost ignores fixed cost; average total cost includes a share of it. When marginal cost is below average total cost, average cost is falling. When marginal cost is above average total cost, average cost is rising. The two curves meet at the minimum of the U-shaped average cost curve.
The U-shape comes from economies of scale on the left and diminishing returns on the right. At low output, adding one more unit spreads fixed costs further and workers specialise, so marginal cost falls. Past a certain point, the firm hits capacity constraints (crowded factory floor, overloaded equipment) and each extra unit costs more to produce. The minimum of the U is the most efficient scale.
No, by construction. Fixed costs (rent, salaries, depreciation) do not change when output changes by one unit, so they cancel in ΔTC. Only variable costs (raw materials, hourly labour, energy, packaging) enter marginal cost. This is why software has near-zero marginal cost: one more download costs essentially nothing in materials.
A firm maximises profit where marginal cost equals marginal revenue. In perfect competition, marginal revenue equals the market price, so the rule simplifies to price equals marginal cost. In monopoly, marginal revenue is below price and the firm produces less. Setting the selling price below marginal cost guarantees a loss on every extra unit.
Marginal cost can approach zero for digital goods, but rarely turns negative in normal operations. Distributing one extra copy of a software file costs cents in bandwidth, near zero. Negative marginal cost would mean producing more reduces total cost, which only appears in special cases like joint products or learning-curve effects where the next unit also lowers production cost on prior units.
Falling marginal cost as output grows is one signature of economies of scale. Bulk purchasing of inputs, division of labour, and dedicated machinery all push marginal cost down. The opposite, rising marginal cost from diseconomies of scale, comes from coordination problems and overhead overhead at very large firms. The U-shaped curve captures both phases.