--- title: "Calculate pro-rata charges for membership upgrades" slug: "calculate-pro-rata-charges-for-membership-upgrades" updated: 2026-06-16T16:34:06Z published: 2026-06-16T16:34:06Z canonical: "mysupport.roller.software/calculate-pro-rata-charges-for-membership-upgrades" --- > ## Documentation Index > Fetch the complete documentation index at: https://mysupport.roller.software/llms.txt > Use this file to discover all available pages before exploring further. # Calculate pro-rata charges for membership upgrades When upgrading or downgrading a membership, ROLLER uses the following formula to calculate the one-off, pro-rata amount charged or credited to the guest: ![pro-rata.png](https://cdn.us.document360.io/23700755-951c-4b69-8afe-ec8b33c6c689/Images/Documentation/360003287055.png) **Where:** - **Unit.cost1** is the unit cost of the membership that is being upgraded. - **Unit.cost2** is the unit cost of the new membership. - **Billing.period.length** is the current recurring billing period. For non-recurring passes, the billing period length is 1. For recurring memberships, the billing period length is defined as: ![Screen_Shot_2020-01-28_at_11.00.14_am.png](https://cdn.us.document360.io/23700755-951c-4b69-8afe-ec8b33c6c689/Images/Documentation/360003381636.png) **Example:** A guest wants to upgrade their membership from a $20p/m to a $30p/m membership. If the guest upgrades halfway through a billing cycle they will have to pro-rata $5 immediately and then begin paying $30p/m upon their next scheduled payment. [Embedded content](https://fast.wistia.com/embed/iframe/kdn3h0l3o0) ## Related - [Upgrade and downgrade memberships at POS](/upgrade-and-downgrade-memberships-at-pos.md) - [Upgrade a non-membership product to a membership at POS](/upgrade-a-non-membership-product-to-a-membership-at-pos.md) - [Encourage guests to self-serve membership upgrades, renewals and cancellations](/encourage-guests-to-self-serve-membership-upgrades-renewals-and-cancellations.md) - [Manage payments for recurring memberships](/manage-payments-for-recurring-memberships.md)