Storage costs in Google Cloud are calculated based on several factors. The primary consideration is the amount of data stored in your storage buckets or objects. The pricing structure varies depending on the storage class you choose for your data, such as Standard, Nearline, Coldline, or Archive.
Additionally, the duration for which you store the data plays a role in determining the cost. Longer storage durations will result in higher costs compared to shorter durations.