# Subscription Upgrade and Downgrade Proration: Billing Math, Modes, and Edge Cases

DevFeed: [Subscription Upgrade and Downgrade Proration: Billing Math, Modes, and Edge Cases](<https://devfeed.tech/articles/subscription-upgrades-and-downgrades-the-proration-math-no-one-explains-10409.md>)

Original publisher: [Read original article](<https://dodopayments.com/blogs/subscription-upgrade-downgrade-proration/>)

Author: Ayush Agarwal

Published: 2026-05-02T00:00:00Z

Content type: tutorial

Language: en

Sources: [Dodo Payments Blog](<https://devfeed.tech/sources/dodo-payments-blog.md>)

Topics: [Software as a service](<https://devfeed.tech/topics/saas.md>), [Finance](<https://devfeed.tech/topics/finance.md>)

Tags: [billing](<https://devfeed.tech/tags/billing.md>), [customers](<https://devfeed.tech/tags/customers.md>), [payments](<https://devfeed.tech/tags/payments.md>), [saas](<https://devfeed.tech/tags/saas.md>), [subscription](<https://devfeed.tech/tags/subscription.md>), [subscription-billing](<https://devfeed.tech/tags/subscription-billing.md>), [subscriptions](<https://devfeed.tech/tags/subscriptions.md>)

## AI overview

A guide to subscription proration that explains how to calculate partial-period charges and credits when customers upgrade or downgrade. It covers immediate and next-cycle proration modes, billing-cycle anchors, and complications involving seats, add-ons, usage allowances, and time zones.

## Source excerpt

How proration actually works in subscription billing. Real math, billing modes, edge cases, and what happens when customers upgrade, downgrade, or change cycles mid-period.