Service-period proration

Intersect inclusive billing and service dates, then calculate a prorated amount rounded once to the nearest hundredth.

The example value has been entered. Check it immediately or change the value.

Input is processed in the browser. Refreshing returns a sample value.

Result

Instructions and example

amount=fullPeriodAmount×inclusiveOverlapDays/inclusivePeriodDays; round-half-up to 0.01

For 2026-01-01–2026-01-31 at 31, service on 2026-01-16–2026-01-31 covers 16 of 31 days and costs 16.00.

Dates 1900–2100, billing start/end difference up to 3,660 days, amount 0–1,000,000,000 with 2 decimals. Inclusive-date arithmetic model, not contract, tax or regional billing interpretation.

Frequently asked questions

How are service dates outside the billing period treated?

Only overlapping dates count; no overlap produces 0.00.

Is the daily prorated rate rounded first?

No. Exact integer money fractions are used and only the final amount is rounded, avoiding intermediate rounding error.

Calculation criteria and reference materials

The calculation formula and scope of this tool are disclosed in the above description. Examples can be checked by substituting input values into the formula or following the specified string and calendar handling rules.

Verification of calculation criteria: · Calculation·verification principles · Report errors