Calculates the break-even point where total revenue equals total costs. Use via MCP in Cursor or Windsurf, or call GET /v1/finance/break-even with fixed costs, variable cost per unit, and selling price per unit. Returns exact units needed and revenue required to break even — crucial for business planning and pricing decisions.
curl "https://tinyfn.io/v1/finance/break-even" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/finance/break-even', {
headers: { 'X-API-Key': 'YOUR_API_KEY' }
});
const data = await response.json();
console.log(data);
import requests
response = requests.get('https://tinyfn.io/v1/finance/break-even',
headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)
Connect your AI agent (Claude, Cursor, Windsurf, etc.) to TinyFn's finance tools:
{
"mcpServers": {
"tinyfn-finance": {
"url": "https://tinyfn.io/mcp/finance",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}
Provide fixed_costs, variable_cost_per_unit, and selling_price_per_unit. The tool returns break-even units (fixed costs ÷ contribution margin) and total revenue needed.
Break-even units shows how many products to sell, while break-even revenue shows total sales dollars needed. Both represent the same point where profit is zero.
Yes, AI agents in Cursor or Claude Code can call break-even calculations during business plan reviews, automatically flagging unrealistic pricing or cost structures.
The contribution margin becomes zero, making break-even impossible since each sale generates no profit to cover fixed costs. The tool will indicate this scenario.
Highly accurate for the inputs provided, but assumes linear cost behavior and constant pricing. Real markets have complexities like volume discounts and economies of scale.