# Gas payment amount

**URL:** <https://forums.sui.io/t/gas-payment-amount/47816>\
**Category:** Technical Support\
**Tags:** sui\
**Created:** [March 25, 2025, 11:31am UTC](https://forums.sui.io/t/gas-payment-amount/47816 "2025-03-25T11:31:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Imadra](https://avatars.discourse-cdn.com/v4/letter/i/97f17d/32.png) [@Imadra](https://forums.sui.io/u/Imadra)\
**Post date:** [March 25, 2025, 11:31am UTC](https://forums.sui.io/t/gas-payment-amount/47816/1 "2025-03-25T11:31:24Z")

</div>

I’m trying to understand how to determine the exact amount of gas paid in a Sui transaction. I see values like:

- computationCost
- storageCost
- storageRebate
- nonRefundableStorageFee

I understand that some arithmetic between these fields gives an estimate, but it doesn’t seem to match the actual gas paid in all cases. Specifically, `storageRebate` seems somewhat unpredictable, and I’m not sure how to rely on it for precise calculations.

Looking at object diffs might help, but if I’m analyzing a past transaction block, the object may no longer exist, so I can’t inspect its before/after states to compute the delta.

Is there a reliable way to compute the exact gas paid for a transaction using the node provider endpoints (e.g., fullnode RPC or indexer)?

Any help or clarification would be appreciated.
