Proration calculator: formula and worked examples
Proration calculator: calculate a partial charge or plan change, then check whether your contract uses day, hour or calendar-unit proration.
Lokesh Mahala, CEO & Co-founder
· 5 min read

On this page
- Step 1: Pick the proration method in the contract
- Step 2: Collect the inputs
- Step 3: Apply the proration formula
- Calendar-unit: a monthly price on a quarterly invoice
- Step 4: Net an upgrade or downgrade
- Keep metered usage separate from time-based fees
- Step 5: Check the result before invoicing
- Where Sonic fits
A proration calculator estimates the charge or credit for the part of a billing period covered by a plan, seat or fixed fee. For a day-based policy, divide the full-period price by the days in that period, then multiply by billable days. Use that formula only when the contract uses days; hourly or calendar-unit rules need different inputs.
Step 1: Pick the proration method in the contract
Choose the method in the contract or billing setup first. A calculator can multiply the amounts you enter, but it cannot tell you whether the customer was quoted a daily rate, a monthly price carried across a longer invoice, or a threshold rule. For the longer calendar-unit explanation, see calendar-unit proration.
| Method | Formula or rule | Use it when |
|---|---|---|
| Day-based | Full-period price × billable days ÷ days in the period | The agreed rule prorates by day |
| Hour-based | Full-period price × billable hours ÷ hours in the period | The agreed rule prorates by hour |
| Calendar-unit | Add full quoted units and prorate only a partial unit at the boundary | A monthly or other unit price spans a longer period |
| Whole-month threshold | Apply the full month when the change passes the agreed threshold | The contract uses a threshold instead of a fraction |
Step 2: Collect the inputs
A reliable calculation needs the billing period, the change's effective date, the price before and after the change, and the proration method. Record the quantity too when the charge is per seat or unit. Confirm the currency and the rounding rule used for the invoice.
Before calculating, write down:
- The billing period's start and end.
- The effective date or hour of the change.
- The full-period price for the old plan and the new plan, if both apply.
- The billable days, hours or calendar units under the agreed method.
- The number of seats or units covered by the price.
- The currency and rounding convention.
The examples below use US dollars, and the same arithmetic works in rupees. In India, GST is charged on the prorated amount, and a credit for a downgrade on an invoice already issued goes out as a GST credit note. In the US, whether sales tax applies to the prorated charge depends on the state. Confirm the tax treatment with your adviser.
Step 3: Apply the proration formula
For a day-based method, multiply the full-period price by the share of the period being charged. The share is billable days divided by total days in the billing period.
Prorated amount = full-period price × billable days ÷ days in the period
Example: Alderpoint, an invented SaaS company, charges $300 for a 30-day billing period. A new service starts with 10 days left, and the contract uses day-based proration:
- Daily amount = $300 ÷ 30 = $10.
- Partial-period charge = $10 × 10 = $100.
The same result comes from $300 × 10 ÷ 30 = $100. Enter the actual billing period and the billable days from the contract, rather than assuming every period has 30 days.
For an hour-based rule, use hours instead of days. The same $300 plan over a 30-day period covers 720 hours, so a change with 180 hours left costs $300 × 180 ÷ 720 = $75.
For a whole-month threshold, the contract sets the cut-off. If Alderpoint bills the full month for a $30 seat active more than 15 days, a seat added on 10 March (22 days) is billed $30 for March. A seat added on 20 March (12 days) falls under the threshold, and the contract says whether it is billed by day, $30 × 12 ÷ 31 = $11.61, or not at all.
Calendar-unit: a monthly price on a quarterly invoice
A monthly price on a quarterly invoice calls for a calendar-unit calculation when that is the agreed basis. Add the full monthly units, then prorate the partial month at the edge. Dividing the whole quarterly price by the quarter's total days can produce a different result from the quoted monthly price.
Example: Alderpoint's quarterly invoice covers January through March at $100 per month. If the service begins with 17 billable days in January, then continues for all of February and March, the amount is ($100 × 17 ÷ 31) + $100 + $100 = $254.84. This example assumes the contract counts 17 January days as billable. A day ratio over the whole quarter gives a different answer: $300 × 76 ÷ 90 = $253.33 in a year when February has 28 days, because it prices every day at the quarter's average daily rate. For the longer explanation, read how calendar-unit proration works.
Step 4: Net an upgrade or downgrade
For a mid-period plan change, calculate the unused portion of the old plan and the charge for the same portion on the new plan. Subtract the old-plan credit from the new-plan charge to get the net adjustment.
- Old-plan credit = old full-period price × remaining share.
- New-plan charge = new full-period price × remaining share.
- Net adjustment = new-plan charge − old-plan credit.
Example: Alderpoint moves from a $300 plan to a $450 plan with 10 of 30 days left. The old-plan credit is $300 × 10 ÷ 30 = $100. The new-plan charge is $450 × 10 ÷ 30 = $150. The net adjustment is $150 − $100 = $50 due. This assumes the old plan was billed in advance for the whole period. If it is billed in arrears, there is nothing to credit: bill each plan for the days it ran, here $300 × 20 ÷ 30 = $200 plus $150, or $350. See in advance vs in arrears.
For a downgrade from $450 to $300 with the same share left, the calculation reverses: a $150 old-plan credit against a $100 new-plan charge leaves a $50 credit. Whether that credit reduces an invoice or is handled another way depends on the contract and billing workflow. See upgrade and downgrade proration for the invoice-state mechanics.
Keep metered usage separate from time-based fees
A metered charge is based on recorded usage, such as API calls or minutes. Do not multiply that measured usage by a time share unless the contract separately defines a timed minimum, allowance or fixed fee. Billing systems also differ in their default proration settings, so check yours against the contract.
Seats, platform fees, included allowances and minimum commitments can follow a different rule from measured usage. Check the contract for each line. For questions about minimums and later adjustments, see minimum commitments and true-ups.
Step 5: Check the result before invoicing
A calculation is ready to review when another person can reproduce it from the contract terms and invoice period. Check the method, the effective date, the direction of each credit or charge, and the rounding rule before you apply the adjustment.
- Confirm the contract's method: day, hour, calendar unit or threshold.
- Confirm which dates or hours count, including the effective date.
- Show the old-plan credit and new-plan charge separately.
- Apply the rounding rule used by the billing terms or invoicing setup.
- Compare the result with the price basis quoted to the customer.
If a monthly quoted price sits inside a quarterly invoice, review the calendar-unit example before using a day-ratio shortcut.
Where Sonic fits
In Sonic AI's Billing engine, a seat change, upgrade or addendum starts a new phase from its effective date and is prorated by your own rule: by day, by hour, or the whole month past a threshold you set. The next invoice shows the prorated difference line by line.

Written by
Lokesh Mahala
CEO & Co-founder, Sonic AI · LinkedIn
Lokesh is the Cofounder & CEO of Sonic AI. Before starting Sonic, Lokesh was an engineer at Stripe for 4 years building Stripe's Revenue and Finance Automation suite. He was a founding engineer at Recko (acquired by Stripe in 2021) where he built reconciliation solutions for B2C companies. He completed his bachelors from IIT Roorkee.


