Back to calculator
TechnologyGenerated accuracy model review: 2026-05-06

Cloud Cost Est. accuracy and testing

This page documents how Calwarden builds trust for this calculator: source notes, regression-style default tests, limitations, assumptions, unit handling, rounding, and visible change history.

Formula source

  • The calculator splits the cost into two main components: 1. **Storage Cost:** Total GB × Price per GB. 2. **Bandwidth (Egress) Cost:** Total GB Transferred × Price per GB. Total = Storage Cost + Bandwidth Cost.

Test cases

Default input regression check

Generated from the checked-in default inputs and calculate function.

Inputs

  • Cloud Pricing Preset: AWS S3 Standard - US East
  • Storage Amount: 1 TB
  • Monthly Egress: 500 GB
  • Custom Storage Rate: 0.02 $/GB-mo
  • Custom Egress Rate: 0.09 $/GB

Expected outputs

  • Total Monthly Cost: $68.55
  • Storage Portion: $23.55
  • Bandwidth Portion: $45.00

Known limitations

  • This page documents the checked-in calculator logic and does not certify results for every real-world edge case.
  • Use the result as a planning estimate unless the calculator page states a stricter purpose.

Assumptions

  • Storage is entered in terabytes and converted to gigabytes using 1024 GB per TB in this estimate.
  • Preset pricing is treated as a flat per-GB planning rate even though providers use tiered pricing by region, SKU, operation, and volume.
  • Preset data is checked into the repo and should be refreshed when provider pricing changes.
  • Negative storage, transfer, or rate values are invalid.

Unit handling

  • Cloud Pricing Preset accepts one of the configured options.
  • Storage Amount accepts values in TB.
  • Monthly Egress accepts values in GB.
  • Custom Storage Rate accepts values in $/GB-mo.
  • Custom Egress Rate accepts values in $/GB.
  • Total Monthly Cost is displayed as currency.
  • Storage Portion is displayed as currency.
  • Bandwidth Portion is displayed as currency.

Rounding rules

  • Number displays use up to 2 decimal places in the calculator UI.
  • Currency outputs are displayed with standard US dollar formatting.

Version history

1.0.0 - 2026-05-06

Generated accuracy and testing page from the current cloud-storage-cost-calculator calculator definition.

Change log

2026-05-06

Published default regression test documentation and metadata fallbacks for Cloud Cost Est..

Calculator transparency

Accuracy pages are generated from checked-in calculator definitions and can be upgraded with curated review metadata over time.

Use calculator