Post
Share your knowledge.
why Non-Refundable Storage Fee is not 1% of Storage Rebate
I'm just wondering why Non-Refundable Storage Fee is not 1% of Storage Rebate:
│ Gas Info │ │
├────────────────────────────┼──────────┤
│ Computation Cost │ 1000000 │
│ Storage Cost │ 11187200 │
│ Storage Rebate │ 13031568 │
│ Non-Refundable Storage Fee │ 131632 │
│ Gas Used │ 947 │
│ Gas Budget │ 3089992 │
│ Gas Price │ 1000 │
│ Reference Gas Price │ 1000 │
│ Storage Gas Price │ 76 │
│ Rebate Rate │ 9900 │
╰────────────────────────────┴──────────╯
- Sui
Answers
7The non-refundable storage fee in your Sui transaction isn't exactly 1% of the storage rebate because it's actually taken as 1% of the full original storage cost from when the data was first added, not just the refunded part you get back. When you remove or update stored items, Sui gives you back 99% of that initial cost as the rebate, keeping the other 1% to help with the network's long-term upkeep. In your case, adding up the rebate of 13,031,568 and the fee of 131,632 gives the original storage value of 13,163,200, and 1% of that matches your fee spot on, while calculating 1% off the rebate alone would give about 130,316, which doesn't line up. The rebate rate of 9,900 out of 10,000 backs this up, showing it's set at 99% return. This system motivates folks to clear out old data while ensuring the network has funds for ongoing costs.
The Non-Refundable Storage Fee is not strictly 1% of the Storage Rebate because it is calculated based on the net storage cost after applying the rebate rate (e.g., 99% refundable, 1% non-refundable) to the original storage cost, not the rebate amount itself. In your example, the rebate rate is 9900 (99%), meaning 1% of the initial storage cost is withheld as a fee—not 1% of the rebate. The formula is:
Non-Refundable Fee = Storage Cost × (1 - Rebate Rate / 10000).
Here, 11187200 × (1 - 9900/10000) = 11187200 × 0.01 = 111872 (close to 131632, with minor rounding or tier adjustments). Sui’s gas model prioritizes predictability, so fees scale with resource usage, not the rebate.
The Non-Refundable Storage Fee is 1% of the Storage Cost (not the Rebate).
In your example:
- Storage Cost: 11,187,200
- 1% Fee: ~111,872 (close to your 131,632, likely due to rounding or gas price adjustments)
Why?
Sui charges a small fee to prevent spam—it’s deducted from the rebate you’d otherwise get.
Formula:
Non-Refundable Fee ≈ (Storage Cost * 1%)
(It incentivizes efficient storage cleanup.)
That's a sharp observation. The math doesn't seem to line up, and it's not just you—it's a bit confusing.
The non-refundable storage fee isn't a simple 1% of the rebate. It's actually 1% of the total storage cost before the rebate is applied. So in your case, it's 1% of that 11,187,200 figure.
Let me do that quick math: 1% of 11,187,200 is 111,872. But your fee is 131,632, which is higher. That's where the Rebate Rate of 9900 (or 99%) comes in. The system keeps 1% of the storage cost as a fee, but the calculation gets adjusted by this rebate rate.
Honestly, the exact formula is more complex under the hood. The key takeaway is that it's a small fee on the storage you use, not a direct cut of your rebate. The numbers can look off at first glance. I had to dig through the docs to get this myself.
Do you know the answer?
Please log in and share it.
Sui is a Layer 1 protocol blockchain designed as the first internet-scale programmable blockchain platform.
- How to Maximize Profit Holding SUI: Sui Staking vs Liquid Staking616
- Why does BCS require exact field order for deserialization when Move structs have named fields?65
- Multiple Source Verification Errors" in Sui Move Module Publications - Automated Error Resolution55
- Sui Move Error - Unable to process transaction No valid gas coins found for the transaction419
- Sui Transaction Failing: Objects Reserved for Another Transaction410