Waterfall chart
A bridge from one total to another, with computed subtotals that always close.
Revenue against total cost by volume, with the break-even point and the loss and profit zones.
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.
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 ProUsage 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 ProThree 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
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;
}A bridge from one total to another, with computed subtotals that always close.
A generic income statement table with variances plus a walk to the bottom line.
Valuation or scenario ranges by method against reference prices.