Billing and pricing calculators
The arithmetic behind a SaaS invoice: graduated and volume tier pricing, proration when a customer changes plan mid-period, and coupons stacked in order. The results reproduce Stripe's and Chargebee's published examples.
Final price after several percentage and fixed-amount discounts, applied in order like Stripe's stacked coupons, with an optional cap.
Checked against 4 published values
Credit for unused time and charge for the remaining time when a subscription changes plan mid-period, prorated to the second like Stripe, or by hour, day or week.
Checked against 9 published values
Price of a quantity under graduated or volume tiers, with optional flat fees, exactly as Stripe bills tiered prices.
Checked against 7 published values
As an API
Each of these calculators is a POST endpoint and an MCP tool with the same inputs and results as this site.