Database Hosting Cost Calculator
Estimate managed database hosting costs including instance hours, storage, IOPS, and backups. Plan your RDS, Cloud SQL, or Azure DB budget.
Compare DynamoDB on-demand vs provisioned capacity costs. Find the break-even point and choose the most cost-effective mode for your workload.
Amazon DynamoDB offers two capacity modes: on-demand (pay-per-request) and provisioned (pre-allocated throughput). Choosing the wrong mode can mean paying 5โ10x more than necessary. This calculator helps you compare both modes side by side and find the break-even point for your workload.
On-demand mode charges per read and write request with no capacity planning required. It's ideal for unpredictable workloads, new tables, or spiky traffic. Provisioned mode requires you to specify read and write capacity units (RCUs and WCUs) in advance, offering lower per-request costs for steady workloads.
By entering your expected read and write volumes, item sizes, and consistency requirements, this calculator shows you exactly which mode is cheaper and by how much. It also factors in DynamoDB storage costs and optional features like auto-scaling and reserved capacity.
DynamoDB capacity mode selection is one of the most impactful cost decisions for NoSQL workloads on AWS. On-demand mode can cost 6.5x more per request than provisioned capacity. This calculator quantifies the difference for your specific usage pattern, helping you avoid significant waste on a service that often runs 24/7.
On-Demand Read Cost = reads_per_second ร 3600 ร 730 ร $0.00000025 ร RCU_per_read
On-Demand Write Cost = writes_per_second ร 3600 ร 730 ร $0.00000125 ร WCU_per_write
Provisioned Cost = (RCU_needed ร $0.00013 + WCU_needed ร $0.00065) ร 730
Storage Cost = GB ร $0.25/monthResult: Provisioned: $71.18/mo vs On-Demand: $230.73/mo
With 100 reads/sec on 2 KB items (eventually consistent, 1 RCU per read) and 50 writes/sec (2 WCUs per write for 2 KB items), provisioned mode needs 100 RCUs and 100 WCUs. Provisioned costs $71.18/month, while on-demand costs $230.73/month for the same throughput. Savings: $159.55/month.
On-demand pricing is $1.25 per million write request units and $0.25 per million read request units. Provisioned pricing is $0.00065 per WCU per hour and $0.00013 per RCU per hour. The math clearly shows provisioned is cheaper per-unit, but the key question is utilization: if you provision for peak but average 20% utilization, on-demand may still win.
DynamoDB auto-scaling adjusts provisioned capacity based on utilization targets (typically 70%). It responds within minutes, making it suitable for gradual traffic changes but not sudden spikes. Set minimum capacity high enough to handle baseline traffic without throttling, and use a target utilization of 50โ70% for a good balance of cost and headroom.
For tables with predictable, steady throughput, DynamoDB Reserved Capacity offers significant discounts. A 1-year commitment provides up to 53% savings, while a 3-year commitment saves up to 76%. Reserved capacity applies to provisioned mode only and can cover base throughput while auto-scaling handles peaks.
Last updated:
One RCU provides one strongly consistent read per second (or two eventually consistent reads) for items up to 4 KB. Larger items consume additional RCUs proportionally.
One WCU provides one write per second for items up to 1 KB. A 3 KB item consumes 3 WCUs per write. Transactional writes consume 2 WCUs per item.
On-demand is cheaper when your workload is highly variable or spiky with long idle periods, or when average utilization is below about 15โ18% of what you would provision. For steady workloads running consistently, provisioned mode is usually 5โ6x cheaper.
Yes, you can switch between on-demand and provisioned mode once every 24 hours. The change takes effect immediately. Some teams use on-demand for weekends and provisioned for weekdays.
DynamoDB charges $0.25 per GB per month for storage, measured as the total size of all items including attribute names. Local secondary index data is also charged at the same rate.
Each GSI provisions its own RCUs and WCUs independently of the base table. In on-demand mode, GSI reads and writes are billed at the same per-request rates. GSI storage is billed at the same $0.25/GB rate.
Estimate managed database hosting costs including instance hours, storage, IOPS, and backups. Plan your RDS, Cloud SQL, or Azure DB budget.
Estimate managed Redis cache costs for AWS ElastiCache, Azure Cache, or GCP Memorystore. Calculate node, storage, and data transfer expenses.
Estimate monthly serverless function costs based on invocations, execution duration, and memory allocation. Plan your AWS Lambda or cloud function budget.