Skip to content
Sonic AI

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

Supreet Gupta, Co-founder

· Updated · 4 min read

Three month blocks: the first half filled in blue for a prorated month, the other two fully blue.
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:

SituationWhat should happen
Mid-cycle activationThe first, partial period charges a fraction of one calendar unit, not a fraction of the whole invoice window
Upgrade / downgrade mid-periodThe 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 timeAny 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.

Supreet Gupta

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.

FAQ

How do you prorate an annual subscription?

Walk whole months first, then prorate the partial month by its own days. Example: a $12,000 annual plan, or $1,000 a month, starts on March 16 for a term ending December 31. April to December is 9 full months, or $9,000, and March 16 to 31 is 16 of 31 days, or $516.13, for $9,516.13. A day ratio over 365 days gives 291 ÷ 365 × $12,000 = $9,567.12 instead.

Should a prorated charge be invoiced right away or on the next invoice?

Both are common. Some billing systems invoice the prorated amount when the change happens, which brings the cash in sooner but adds a small extra invoice. Others add it to the next regular invoice as its own line, which keeps the customer on one invoice a cycle. Pick one rule, write it into the contract, and apply it the same way to charges and credits.

Is GST or sales tax charged on a prorated amount?

Yes, tax follows the amount actually invoiced. In India, GST is charged on the prorated taxable value, and a credit for unused time goes out as a credit note that reverses the matching GST. In the US, sales tax applies the same way in states that tax the service, since the taxability of software subscriptions varies from state to state.

What is the difference between proration and a stub period?

A stub period is a short first or last period that doesn't line up with the normal billing cycle, such as March 16 to 31 on a monthly plan billed on the 1st. Proration is the method used to price it, along with any other part-period charge or credit. Every stub period needs proration, but not every proration involves a stub period.

See Sonic run on one of your contracts.

A 30-minute call with the team, using your own contract.

Book a demo