# Configuration Change/Upgrade or Downgrade

You can adjust your resource configuration—upgrade or downgrade—based on your needs when using SCloud products. In this guide, we’ll use UHost as an example..

<!-- image-todo -->
![img](https://cdn.udelivrs.com/2025/04/da7f9b9bb65476d0dbddade52be3f5cd_1745217107235.png)<br>
The rules for refunds or additional payments in configuration change operations are explained as follows:

After a configuration change, your original service expiration date stays the same. Any price adjustment—whether a refund or an additional charge—is based on the remaining service period. If the new configuration costs more, you pay the difference; if the new configuration costs less, the difference is refunded to your account.

Example 1: You purchased a specified configuration Host for 30 days, worth $18.857. After 10 days of use, you need to upgrade to a new configuration Host, a new configuration Host for 30 days, worth $37.714.

The amount you need to pay for the configuration change = value of the new configuration × (remaining time ÷ original service duration) - value of the original configuration × (remaining time ÷ original service time) = $37.714 × (20 days ÷ 30 days) - $18.857 × (20 days ÷ 30 days) = $12.571

Example 2: You purchased a specified configuration Host for 30 days, valued at 240 yuan. After 10 days of use, you need to downgrade to a new configuration Host, a new configuration Host for 30 days, worth $18.857 yuan.

The amount of configuration change refundable to you = original configuration value × (remaining time ÷ original service duration) - new configuration value × (remaining time ÷ original service time) = $37.714 × (20 days ÷ 30 days) - $18.857 × (20 days ÷ 30 days) = $12.571

Upgrade and Downgrade Refund Formula

|Step | Terminology Explanation (All times are in seconds)|
|--- | ---|
|Step 1: A = Used Time ÷ Purchased Time  | Used Time: Current Time minus Order Start Time|
|Step 2: B = Spent Amount × A   | Purchased Time: Start Time of Order to End Time of Order|
|Step 3: C = Changed Time ÷ Purchased Time  | Spent Amount: Order Paid Amount|
|Step 4: D = Cost Now × C   | Changed Time: From Current Time to Original Order End Time|
|Step 5: Refund = Spent Amount - (B+D) | Cost Now: Payment Amount Obtained According to Current Configuration and Payment Method (Duration)|
