Billing proration explained: calendar units vs day ratios
Billing proration charges for part of a period. Why the day-ratio formula drifts from the quoted price, and calendar-unit proration with a worked example.
Supreet Gupta, Co-founder
· Updated · 4 min read

On this page
Billing proration means charging or crediting only the part of a billing period a customer actually had something: a partial month at the start of a subscription, a mid-cycle upgrade, or a downgrade with unused time left. It sounds like simple arithmetic, but it's one of the most common places a billing system disagrees with the quoted price.
Proration is one of the rules a subscription billing system applies every cycle, and it matters just as much in seat-based billing, where seats change mid-period all the time.
The day-ratio proration formula, and why it drifts
The most common way to compute proration is days used / days in period × monthly rate. It looks reasonable and is wrong more often than it's right, for one reason: months don't have the same number of days, but a monthly rate is quoted as a flat monthly amount, not a daily rate that changes with the month it lands in.
A customer quoted $1,000 a month should pay $1,000 for any full month, whether it has 28, 30 or 31 days. Day-ratio proration over a longer window doesn't guarantee that, because the denominator is the window's total days rather than the month's own. Multiply that across every partial month, every upgrade and every subscription that starts mid-cycle, and the differences add up to a number that never quite matches what finance quoted.
Calendar-unit proration: how to prorate correctly
The more accurate approach, calendar-unit proration, prices a partial window by walking whole units of the quoted price's own basis (days, weeks or months, depending on what the price is quoted in) and prorating only the fractional unit at the edge. A quarterly invoice clipped to start mid-month, for a monthly-quoted price, should charge full months for the months fully covered and prorate only the partial month at the boundary. It shouldn't divide the whole quarter's rate by the quarter's total days and multiply by days used.
As a formula: prorated charge = (full units × unit price) + (days used in the partial unit ÷ days in that unit × unit price). A unit is whatever the price is quoted in, usually a month, and the partial unit is the one cut by a start, a change or a cancellation.
To work a partial month, an upgrade or a downgrade through by hand, use the proration calculator formulas and worked examples.
Example: Orrin Cloud, an invented usage-based company, charges a $1,000 monthly platform fee, invoiced quarterly at $3,000 for January to March. A customer starts on February 1, so the first invoice covers February and March. A day ratio over the quarter charges 59 ÷ 90 × $3,000 = $1,966.67, because February's 28 days and March's 31 make 59 of the quarter's 90 days. Calendar units charge two full months at $1,000, or $2,000, which is what the customer was quoted.
This matters most in three situations:
| Situation | What should happen |
|---|---|
| Mid-cycle activation | The first, partial period charges a fraction of one calendar unit, not a fraction of the whole invoice window |
| Upgrade / downgrade mid-period | The old price covers the time before the change; the new price covers the time after, each walking calendar units of its own basis |
| Cancellation with unused time | Any credit for unused time uses the same formula as the original charge, never a different one for refunds |
Why proration bugs show up at the edges of a period
For a subscription that starts exactly on the billing day and runs full cycles, none of this matters: a full month is a full month, charged at the full rate. The complexity only shows up at the edges: the first partial period, a change mid-cycle, or a cancellation before a period ends. That's why proration bugs are easy to miss in testing. The common case works, and real customers hit the edge cases constantly, because contracts rarely start on the first of a month.
What to check in a billing system's proration
- Does a mid-cycle activation charge match what you'd compute by hand, walking calendar units rather than a day ratio of the full period?
- Does an upgrade or downgrade split cleanly at the change date, each segment priced on its own basis?
- Is the credit formula for cancellations consistent with the charge formula, or does it use different math?
- Does proration behave correctly for prices quoted in different units (daily, weekly, monthly or quarterly), or does everything get forced through one formula whatever the quoted basis?
- Can you actually see the calculation on the invoice, or does the prorated line just show a final number with no visible breakdown?
Sonic AI prorates fixed fees and seats by the customer's own rule: by day, by hour, or the whole month once a threshold is passed. Whichever rule applies, it walks calendar units of the quoted price's own basis and uses the same math for activation stubs, upgrades, downgrades and credits. See how the Billing engine handles proration, or the deeper mechanics in upgrade and downgrade proration.
Related terms: proration, calendar-unit proration, billing schedule, invoice period.

Written by
Supreet Gupta
Co-founder, Sonic AI · LinkedIn
Supreet is a Cofounder at Sonic AI. Before starting Sonic, Supreet was a Product Manager at SaaS Labs (Sequoia funded Series B startup) where he worked with enterprises in US and Europe to deliver communication solutions. He completed his bachelors from IIT Bombay.


