Skip to content
ChartslibraryUI
Get Pro

React break-even chart

Revenue against total cost by volume, with the break-even point and the loss and profit zones.

Get Pro to install · $79 once<BreakEvenChart />

A break-even chart shows how many units you need to sell to cover your costs. Revenue rises from zero with the price; total cost starts at the fixed cost and rises with the variable cost per unit. Where the two lines cross is the break-even point, marked with the volume and the revenue at that point.

You pass three numbers (fixed cost, cost per unit and price) instead of rows, and the chart does the arithmetic. The area between the lines is shaded as loss before break-even and profit after it. Add your current or expected volume and the chart marks it with the profit or loss it makes. Hover anywhere along the volume axis to read revenue, cost and profit, and the table lists them at round volumes, at break-even and at your current volume. If the price is not above the cost per unit, the chart says the business can never break even instead of drawing lines that never cross.

When to use

  • Pricing and unit economics decisions
  • How many seats, orders or units cover fixed costs
  • Explaining operating leverage to a board or team

When not to use

Good practice

  • Give the price and costs in the subtitle so the reader can check the point.
  • Mark the current or expected volume.
  • Use the same period for fixed costs and volume (per month, per year).

Installation

Break-even chart is a Pro chart.

Installation is part of Pro

Get Pro to install it with your access key and the shadcn CLI, and use it in unlimited projects.

Unlock with Pro

Usage

Usage examples are part of Pro

Every example on this page comes with its code in Pro. The props and data shape below are public.

Unlock with Pro

Data

Three numbers: fixed cost for the period, variable cost per unit and price per unit. Optional current volume and axis maximum.

{ fixedCost: 84000, unitCost: 18, price: 49, current: 3150 }

Missing values are null. Invalid values make the chart say what’s wrong instead of drawing a misleading picture. How charts handle bad data

Props

Every chart also accepts the shared frame props: title, subtitle, source, height, mode, toolbar. Common API

export interface BreakEvenChartProps extends FrameProps {
  /** Fixed costs for the period (rent, salaries, software). */
  fixedCost: number;
  /** Variable cost per unit sold. */
  unitCost: number;
  /** Price per unit. */
  price: number;
  /** Units at the right end of the x axis. Default: twice the break-even volume. */
  maxUnits?: number;
  /** Current or expected volume, marked with its profit or loss. */
  current?: number;
  /** Number format for money. Default "currency". */
  format?: FormatInput;
  /** Number format for units. Default "integer". */
  unitFormat?: FormatInput;
  /** Name of the unit, e.g. "seats" or "orders". Default "units". */
  unitLabel?: string;
}
Pro

Waterfall chart

A bridge from one total to another, with computed subtotals that always close.

Pro

P&L summary

A generic income statement table with variances plus a walk to the bottom line.

Pro

Football field

Valuation or scenario ranges by method against reference prices.

Sign in to ChartslibraryUI

New here? The same step creates your account.

Continue with Google
or

No password needed. Bought Pro? Use the email you paid with and your license is there. By signing in you agree to the Terms and Privacy policy.