Ramp deal calculator
Model a multi-year deal that steps up each year. Get TCV, ACV and ARR, the discount against list, every invoice, and how far billing and revenue drift apart before the ramp catches up.
Using an AI assistant? Copy a prompt that gives it this calculator.
Your deal
Enter each step of the ramp. Free months are a step with a price of 0.
| Step | Months | Quantity | Price per unit, per year | Step value | Remove |
|---|
- Total contract value
- —
- ACV
- —
- ARR
- —
- Discount vs list
- —
Billed vs recognized, year by year
A ramp bills in steps, but revenue often doesn't follow. The balance is what sits on the balance sheet at each year end.
Straight-line when the same service runs all term. Follows the ramp when each step adds seats or scope.
| Contract year | Contract value | Billed | Recognized | Balance at year end |
|---|
Invoice schedule
| # | Invoice date | Covers | Amount |
|---|
The same deal, billed differently
Same TCV and ACV. What changes is when the cash arrives.
| Billing | Invoices | First invoice | Billed in year 1 |
|---|
How it's calculated
TCV, ACV and ARR on a ramp
On a flat deal the three numbers line up. On a ramp they diverge, and mixing them up is how forecasts and commission plans go wrong. Using the default deal above:
Everything committed over the term
$246,000
$45,000 + $80,000 + $121,000
What bookings usually count at signature. It makes the quarter a ramp closes in look bigger than the revenue it produces.
TCV ÷ years in the term
$82,000
$246,000 ÷ 3
The fair way to compare a ramp with a flat deal. Quoting first-year value ($45,000) as ACV understates it by almost half.
The current year's recurring rate
$45,000 → $121,000
Steps up on each ramp date
Grows with no new sale, so report ramp steps separately from new business. Exit ARR is where the renewal conversation starts.
Why a ramp creates a contract asset
When the same service is delivered for the whole term, revenue is usually recognized evenly: $82,000 a year here, against invoices of $45,000 in year one. The $37,000 gap is revenue earned but not yet billed, carried as a contract asset until the larger year-two and year-three invoices catch up. Billing upfront flips it: cash arrives first and sits as deferred revenue. The table above tracks that balance year by year.
Use it in code, or give it to your AI agent
This calculator runs on billing-math, an open-source MIT library from Bunny. Language models are unreliable at date and money arithmetic, so give your agent the MCP server and it calls exact functions instead of guessing.
Give it to your AI in one paste
Copy this prompt into Claude Code, Cursor, Claude Desktop or any assistant that supports MCP. It installs the server, checks the answer against a known example, and switches to exact tools for billing questions.
See the prompt
Set up the billing-math MCP server for me so you can do SaaS billing math exactly instead of estimating it: proration, plan and seat changes, co-terming and ramped multi-year deals.
About it: an open-source (MIT) stdio MCP server from Bunny Billing, published on npm as @bunnyapp/billing-math. Source: https://github.com/bunnyapp/billing-math. It needs Node.js 20 or later and runs with: npx -y @bunnyapp/billing-math
1. Add the server to the MCP configuration of the app I'm using right now.
- Claude Code: run claude mcp add billing-math -- npx -y @bunnyapp/billing-math
- Cursor, Claude Desktop, Windsurf, VS Code or another MCP client: add this server to its MCP config file, adjusting the format if the app uses a different one:
{
"mcpServers": {
"billing-math": {
"command": "npx",
"args": ["-y", "@bunnyapp/billing-math"]
}
}
}
If you can't change the configuration yourself, give me exact step-by-step instructions for this app instead.
2. Tell me if I need to restart the app or reload its MCP servers.
3. Once it is connected, check it works: use calculate_plan_change for a $3,000/month plan upgraded to a $4,500/month plan on 2026-06-19, where the billing period started on 2026-06-01. The answer should be $600.00 due now.
From then on, use the billing-math tools (calculate_plan_change, calculate_coterm, prorate_charge, get_billing_period, model_ramp_deal) for any proration, upgrade, downgrade, seat change, co-term, billing-date or ramp deal (TCV, ACV, ARR, invoice schedule) question, and show me the explanation steps they return.
npm install @bunnyapp/billing-math
import { modelRampDeal } from '@bunnyapp/billing-math';
modelRampDeal({
startDate: '2026-01-01',
listPrice: 1200,
phases: [
{ months: 12, quantity: 50, price: 900 },
{ months: 12, quantity: 80, price: 1000 },
{ months: 12, quantity: 110, price: 1100 },
],
}).metrics.acv; // 82000
claude mcp add billing-math -- npx -y @bunnyapp/billing-math
{
"mcpServers": {
"billing-math": {
"command": "npx",
"args": ["-y", "@bunnyapp/billing-math"]
}
}
}
The terms behind the numbers
Definitions for everything this calculator touches.
Quote the ramp once
In Bunny Billing a ramp is one quote with steps on agreed dates. When the customer signs, the invoice schedule and the revenue recognition schedule come from that quote, with no spreadsheet and no calendar reminder to change the price each year.