Marginal Cost Calculator
Marginal cost is the change in total cost divided by the change in output, and it is the cost of one more unit. A bakery that bakes 1,300 loaves at 4,855 dollars, up from 1,000 loaves at 4,000 dollars, has a marginal cost of 2.85 dollars per loaf. At a 4.75 dollar price each extra loaf adds 1.90 dollars, while the average cost falls to 3.73 dollars.
| Marginal cost per unit | |
| Change in total cost over the step | |
| Average total cost at the first level | |
| Average total cost at the second level | |
| Variable cost per unit at the second level | |
| Revenue at the second level | |
| Profit at the second level | |
| Extra profit per unit against price | |
| Break-even output at this contribution margin | |
MC = (TC2 minus TC1) / (Q2 minus Q1). Fixed costs stay out of the marginal figure when they do not change with output, but they set average total cost and the break-even point. All calculations run in your browser, and nothing you type is uploaded or stored.
Enter two output levels with the total cost at each, and the calculator returns the marginal cost per unit, average total cost, the margin against your price and the break-even output.
Key takeaways
- MC = (TC2 - TC1) / (Q2 - Q1), so the bakery step of 855 dollars over 300 loaves is 2.85 dollars a loaf
- Average cost and marginal cost can move in opposite directions: average fell from 4.00 to 3.73 dollars while marginal cost rose
- Variable cost per loaf is (4,855 - 1,800) / 1,300 = 2.35 dollars, and 1,800 / (4.75 - 2.35) = 750 break-even loaves
- A 4.75 dollar price against a 2.85 dollar marginal cost leaves 1.90 dollars of contribution per extra loaf
- Marginal cost crosses the average cost curve at the low point of average cost, near 300 loaves on the bakery schedule
On this page
- Marginal cost is the cost of one more unit
- The formula: change in cost over change in output
- Worked example: a bakery adds 300 loaves a week
- Average cost, marginal cost and the shape of the curve
- Comparing marginal cost with price and with marginal revenue
- Where the numbers come from: labor, power and materials
- Where a two point marginal cost estimate goes wrong
Marginal cost is the cost of one more unit
Marginal cost is the extra cost of producing one more unit of output, and it is the number that decides whether the next unit is worth making. A bakery does not ask what a loaf costs on average, it asks what the 1,001st loaf costs, because that is the loaf it has to sell or lose. Average cost spreads fixed rent over every loaf, while marginal cost measures the cost of the next loaf alone.
The distinction matters because the two move in opposite directions. As a bakery adds ovens, shifts and delivery runs, the average cost per loaf falls as fixed costs spread out, while the marginal cost of each extra loaf rises once capacity starts to strain. The OpenStax Principles of Economics chapter on short run costs lays out the same split: average cost measures the cost of the average unit, marginal cost measures the cost of the next unit only.
For everyday decisions the definition is plain enough. A cup of coffee costs you the beans, the milk, the cup and the labor to make one more cup, and that is what you compare against the price of the cup. If the extra cost of the next cup is 60 cents and you sell it for 4 dollars, the extra cup is worth making. If the extra cost is 4.20 dollars, the next cup loses money even though the shop as a whole might still be profitable.
The formula: change in cost over change in output
Marginal cost is a rate of change, and the rate is measured between two points rather than at a single one:
- MC = (TC2 - TC1) / (Q2 - Q1)
- TC1 and TC2 are total cost at two output levels
- Q1 and Q2 are the output levels, in units
Multiply out the algebra and you get the definition in words: the change in total cost divided by the change in quantity. The units work out to dollars per unit, the same unit as a price, which is why the two can be set side by side. Note the minus signs: when total cost rises, the marginal cost is positive, and when total cost falls as output rises, the marginal cost is negative, which is the economics of a business that gets more efficient with scale.
The textbook illustration from OpenStax uses a hair salon where total cost rises from 320 dollars at 40 haircuts to 400 dollars at 60 haircuts. The change in cost is 80 dollars and the change in output is 20 haircuts, so the marginal cost of each of those haircuts is 80 / 20 = 4 dollars per haircut. A second OpenStax example starts with one widget costing 32.50 dollars and two widgets costing 44 dollars, so the marginal cost of the second widget is 44 - 32.50 = 11.50 dollars. Both numbers come from dividing a change in cost by a change in quantity, and the calculator on this page does the same division for your own figures.
One important detail: the two output levels should be close together if you want the marginal cost of a single unit. Averaging over a wide range blurs the step you care about, the way measuring the average height of everyone in a stadium tells you nothing about the tallest person in it.
Worked example: a bakery adds 300 loaves a week
Take a neighborhood bakery with fixed costs of 1,800 dollars a month for rent, insurance and the loan on the ovens. Last month it baked 1,000 loaves for 4,000 dollars of total cost. This month it baked 1,300 loaves and total cost rose to 4,855 dollars. The change in cost is 4,855 - 4,000 = 855 dollars and the change in output is 1,300 - 1,000 = 300 loaves, so the marginal cost of a loaf is 855 / 300 = 2.85 dollars per loaf.
Now the other numbers in the table, all built from the same two points. Average total cost was 4,000 / 1,000 = 4.00 dollars a loaf last month and 4,855 / 1,300 = 3.73 dollars this month, so the average fell as volume rose. Variable cost per loaf at the higher output is (4,855 - 1,800) / 1,300 = 2.35 dollars, the part of cost that moves with each loaf. At a price of 4.75 dollars a loaf, revenue is 4.75 x 1,300 = 6,175 dollars and profit is 6,175 - 4,855 = 1,320 dollars. Each extra loaf adds 4.75 - 2.85 = 1.90 dollars of contribution, and the break-even point where fixed cost is covered is 1,800 / (4.75 - 2.35) = 750 loaves.
Read the three cost numbers together and the story is clear. The average cost of 3.73 dollars looks healthy, but it is the 2.85 dollar marginal cost that says anything about the next loaf. The bakery can afford to keep baking, because 2.85 dollars of extra cost sits well below the 4.75 dollar price, and 1,300 loaves is far past the 750 loaf break-even point. If a flour supplier pushed the marginal cost of a loaf up to 4.90 dollars, the average cost would still be under 4 dollars and the shop would still be profitable in total, yet every additional loaf would now lose 15 cents. That is the trap marginal cost catches and average cost hides.
Average cost, marginal cost and the shape of the curve
The bakery numbers can be laid out as a schedule so you can watch the two curves cross. Here fixed cost is 500 dollars and total cost climbs as the shop approaches capacity.
| Output (loaves) | Total cost ($) | Marginal cost ($ per loaf) | Average total cost ($ per loaf) |
|---|---|---|---|
| 100 | 900 | 4.00 | 9.00 |
| 200 | 1,500 | 6.00 | 7.50 |
| 300 | 2,200 | 7.00 | 7.33 |
| 400 | 3,100 | 9.00 | 7.75 |
| 500 | 4,300 | 12.00 | 8.60 |
Average total cost falls from 9.00 dollars to 7.33 dollars as fixed cost spreads over more loaves, then climbs again once the marginal cost of the next loaf runs above the average. Marginal cost starts at 4.00 dollars for the first hundred loaves and reaches 12.00 dollars for the last hundred, because the shop is adding shifts, oven time and delivery runs that each carry their own cost. The marginal cost curve crosses the average cost curve at its lowest point, near 300 loaves, and that crossing is the textbook signal to stop expanding output unless price has risen to match.
For a price taker, such as a bakery selling wholesale at a market price, the rule that falls out of this schedule is the one in the OpenStax chapter on output decisions for competitive firms: produce up to the point where price equals marginal cost. Below that point each unit adds profit, above it each unit subtracts. A business that sells at a fixed price of 8 dollars a loaf on this schedule would stop somewhere between 300 and 400 loaves, where the marginal cost of the next loaf crosses 8 dollars.
Comparing marginal cost with price and with marginal revenue
When a firm can change its own price, price stops being a constant and the comparison becomes marginal cost against marginal revenue, the extra revenue from selling one more unit. At a constant price the two are the same number, which is why the simpler price test works for most small businesses.
| Business | Cost step | Marginal cost | Price | Extra profit per unit |
|---|---|---|---|---|
| Bakery | 1,000 to 1,300 loaves | 2.85 | 4.75 | 1.90 |
| Lawn care | 30 to 45 lawns | 11.50 | 42.00 | 30.50 |
| Mobile coffee cart | 200 to 260 cups | 1.16 | 4.75 | 3.59 |
Run the lawn care case through the same arithmetic. Fixed cost of 310 dollars a month covers the truck payment and insurance. At 30 lawns total cost is 565 dollars and at 45 lawns it is 737.50 dollars, so the change in cost is 172.50 dollars over 15 extra lawns, a marginal cost of 172.50 / 15 = 11.50 dollars a lawn. The variable cost per lawn is (737.50 - 310) / 45 = 9.50 dollars, which is the fuel, the mower fuel can and the crew time. At 42 dollars a lawn the extra profit per lawn is 42 - 11.50 = 30.50 dollars, and the break-even point is 310 / (42 - 9.50) = 10 lawns. A crew only cuts lawns above that number, and the margin says why: 30 lawns is already a comfortable business.
The mobile coffee cart is the case where fixed cost eats the most. With 900 dollars of fixed cost, total cost of 1,080 dollars at 200 cups and 1,149.60 dollars at 260 cups, the marginal cost of a cup is 69.60 / 60 = 1.16 dollars, and variable cost per cup is (1,149.60 - 900) / 260 = 0.96 dollars. At 4.75 dollars a cup the cart earns 1,235 dollars of revenue and 85.40 dollars of profit, and the break-even point is 900 / (4.75 - 0.96) = 238 cups. The margin of 3.59 dollars a cup is the most comfortable of the three, yet the cart needs nearly 240 cups a month before it earns anything at all. Marginal cost and the break-even point answer different questions, and a business needs both.
Where the numbers come from: labor, power and materials
A marginal cost figure is only as honest as the inputs behind it, so it helps to know what the big cost lines look like right now. Three federal sources cover most of them.
Three federal series cover most of the inputs you need, and each one moves on its own schedule.
| Input | Published figure | Source and year | How it enters a marginal cost |
|---|---|---|---|
| Federal minimum wage | 7.25 dollars an hour | US Department of Labor, 2026 | Hourly cost of the labor that adds each unit |
| US residential electricity | 18.34 cents per kWh in June 2026 | EIA Electric Power Monthly, Table 5.6.A | Power cost of running equipment per extra shift |
| Producer prices, final demand | Up 3.0 percent in 2025 | US Bureau of Labor Statistics, 2025 annual | Resets the material cost per unit in your next estimate |
Labor. The federal minimum wage is 7.25 dollars an hour under the Fair Labor Standards Act, and the Department of Labor minimum wage page still shows that figure as the floor for covered nonexempt workers in 2026, with many state and local rates above it. At the federal floor, one 8 hour shift costs 7.25 x 8 = 58.00 dollars. If that shift bakes 40 loaves, the labor cost carried by each loaf is 58.00 / 40 = 1.45 dollars, and that figure belongs in the variable cost side of your marginal cost calculation.
Power. Electricity is a classic variable cost for anyone running equipment all day. The EIA Electric Power Monthly, Table 5.6.A puts the average US residential price at 18.34 cents per kilowatthour in June 2026, against 17.47 cents a year earlier. A 1,500 watt space heater running 8 hours draws 12 kilowatthours, which at 18.34 cents is 12 x 0.1834 = 2.20 dollars of power for one shift. If a business added a second heater for the same 12 kilowatthours, that 2.20 dollars is the marginal cost of the extra heat, with no fixed cost attached.
Materials. Input prices move too, and the Bureau of Labor Statistics producer price index showed producer prices for final demand up 3.0 percent over the year ending December 2025, after a 3.5 percent rise in 2024. A material that costs 0.40 dollars per unit at the start of that year carries 0.40 x 1.03 = 0.412 dollars at the end of it, so a marginal cost computed on January prices is 3 cents a unit stale by December. Update the cost side of the calculation before you change the price side.
Where a two point marginal cost estimate goes wrong
The formula is simple, and most of the errors come from choosing the wrong two points or forgetting what belongs in each one.
- Do not use total cost when you mean variable cost. If fixed cost changed between the two points, for instance because you signed a new lease, that jump lands in your marginal cost and makes it look like a huge cost of production. Use two points inside the same cost structure.
- Do not divide total cost by total output. That is average cost. The marginal figure needs the change in the numerator and the change in the denominator.
- Do not compare costs across different periods. A January total and a June total blend price changes and volume changes into one number that describes neither.
- Do not drop step costs. A new oven is a jump in fixed cost, not a rise in the cost per loaf. If you spread the oven over a year, its depreciation belongs in your fixed cost estimate, not in the marginal cost of the next loaf.
- Do not read a negative marginal cost as free money. Falling marginal cost usually means the extra volume came with a setup that pays off, such as a bulk discount on materials or a second shift filling an already staffed shift.
One more caution about small businesses: marginal cost is a per unit number, and a per unit number hides a lot. A bakery that adds 300 loaves a month also adds staff hours, delivery miles, packaging and spoilage. Compute the marginal cost of a loaf, then multiply by the 300 loaves and check that the total matches your actual spending, because a per unit figure that is wrong by a few cents becomes a real hole at volume.
For the neighbouring jobs, the break-even calculator covers the fixed cost side of the same arithmetic, the cost of goods sold calculator handles what you carry, and the markup calculator turns cost into a shelf price. This page stays on the one question of what the next unit costs.
Frequently asked questions
What is the formula for marginal cost?
MC = (TC2 - TC1) / (Q2 - Q1), the change in total cost divided by the change in quantity. TC1 and TC2 are total cost at two output levels, Q1 and Q2 are the output levels, and the result is in dollars per unit.
How do you calculate marginal cost from two data points?
Subtract the lower total cost from the higher one, then divide by the difference in output. A bakery at 4,000 dollars for 1,000 loaves and 4,855 dollars for 1,300 loaves has a marginal cost of 855 / 300 = 2.85 dollars a loaf.
Is marginal cost the same as average cost?
No. Average cost divides total cost by total output, so it spreads fixed costs across every unit. Marginal cost measures only the cost of the next unit, which is why the two can move in opposite directions as output rises.
What is a realistic marginal cost for a small business?
It depends on the business, and the honest answer comes from your own cost records. In the bakery example on this page, the marginal cost of a loaf is 2.85 dollars, while a mobile coffee cart works out at 1.16 dollars a cup and lawn care at 11.50 dollars a lawn.
Why is marginal cost higher than average cost?
It happens once the firm is close to capacity, when each extra unit needs extra shifts, extra oven time and extra delivery runs. On the schedule in this page, marginal cost rises from 4.00 dollars to 12.00 dollars a loaf while average cost falls to 7.33 dollars and then climbs back.
How do I use marginal cost to set a price?
A price has to cover the marginal cost of the unit you are selling plus your profit margin, and it also has to cover fixed cost across the volume you plan to sell. At a 4.75 dollar loaf price against a 2.85 dollar marginal cost, the bakery earns 1.90 dollars a loaf toward the 1,800 dollars of fixed cost.
What is the break-even quantity when I know marginal cost?
Use variable cost per unit rather than marginal cost for the margin, then divide fixed cost by that margin. In the bakery case, (4,855 - 1,800) / 1,300 = 2.35 dollars of variable cost per loaf, and 1,800 / (4.75 - 2.35) = 750 loaves.
Does marginal cost include rent and other fixed costs?
Not in the marginal figure itself. Fixed costs do not change with the next unit, so they stay out of the marginal calculation and go into average total cost and the break-even point instead.
What happens to marginal cost when a fixed cost changes?
Nothing, and that is the point. A new lease or a new oven is a step in fixed cost. If you measure across that step, the whole jump gets divided by your output and shows up as a fake rise in marginal cost, so measure between two points inside the same cost structure.
How large should the step between my two output levels be?
Small enough that the step is representative of the unit you care about. A step of 300 loaves describes the average marginal loaf in that range. A step of one loaf describes the true marginal cost but is easily thrown off by noise in the cost records.
How much do labor costs matter in a marginal cost calculation?
More than most people expect. At the federal minimum wage of 7.25 dollars an hour, an 8 hour shift costs 58.00 dollars, and if that shift produces 40 units the labor cost per unit is 1.45 dollars, which belongs in the variable cost side of the calculation.
Is marginal cost the same as marginal revenue?
No. Marginal cost is what the next unit costs to make, marginal revenue is what it adds to sales. When a firm cannot change its price, the two are the same number, and the output rule becomes price equals marginal cost. When it can change price, compare marginal cost against marginal revenue directly.
Why does marginal cost sometimes fall as output rises?
Bulk discounts, better equipment utilization or filling a shift that is already staffed can make the next unit cheaper than the last. It is not a mistake, but it is also not a free lunch, and it usually reverses once the cheap capacity is used up.
How often should a small business recompute marginal cost?
Whenever a major input price moves or your cost structure changes. Producer prices for final demand rose 3.0 percent over the year ending December 2025, so a material costing 0.40 dollars a unit becomes 0.412 dollars a unit by year end, and a January marginal cost is stale by December.
Spotted a wrong number or a broken result?
More Everyday tools
- 1 Hour Cycling Calories Calculator
- 1 Hour Lunch Break Calculator
- 1 Million in Numbers
- 1 Weeks Ago From Today
- 1 in 60 Rule Calculator
- 10 Day Payoff Calculator
- 10 Hour Shift Schedule Calculator
- 10 Minutes From Now
- 10 Months Ago From Today
- 10 to 1 Arm Workout Calculator
- 10207 2: Log Base 2 Calculator
- 1099 Hourly Rate Calculator
- 11 Months Ago From Today
- 11 Weeks Ago From Today
- 12 Hour Shift Pay Calculator
- 12 Months Ago From Today
Fee schedules, rates and rules change without notice. Always confirm important figures with the official source before you rely on them.