AWS EC2 On-Demand: Hourly-to-Monthly Cost
What will your EC2 bill be? A t3.medium runs $0.0416/hr × 730 hrs = ~$30.37/month. Convert any instance's hourly rate to monthly cost — free, instantly.
- Data verified · July 2026
- Edited by Martín Rodríguez
- Formula verified by automated tests
- Private — runs on your device
See step-by-step calculation
See this calculation step by step
See period-by-period detail
How to use this calculator
Follow this tool’s steps, then review its formula, assumptions, and limits below.
When to use this calculator
- Estimating the monthly bill for a t3.medium web server running 24/7 in us-east-1 before launching a production environment.
- Comparing the cost of a compute-optimized c6i.xlarge ($0.204/hr → ~$148.92/mo) vs. a general-purpose m6i.xlarge ($0.192/hr → ~$140.16/mo) for a CPU-intensive batch job.
- Calculating region price differences — the same m5.large costs $0.096/hr in us-east-1 but $0.124/hr in ap-southeast-2 (Sydney), a 29% premium.
- Validating whether purchasing a 1-year Standard Reserved Instance (up to 40% discount) is worth it based on the on-demand baseline monthly cost.
- Projecting infrastructure spend for a startup's Series A pitch deck using realistic AWS line-item estimates per instance.
- Determining the break-even point between on-demand and Spot pricing (typically 70–90% cheaper) for fault-tolerant workloads like data pipelines.
Common EC2 Instance Types — On-Demand Pricing (Linux, us-east-1, 2025)
| Instance | vCPU | RAM (GB) | $/hr | $/month (730 hr) | Family / Use Case |
|---|---|---|---|---|---|
| t3.nano | 2 | 0.5 | $0.0052 | $3.80 | Dev/test, micro apps |
| t3.micro | 2 | 1 | $0.0104 | $7.59 | Low-traffic sites |
| t3.small | 2 | 2 | $0.0208 | $15.18 | Small web servers |
| t3.medium | 2 | 4 | $0.0416 | $30.37 | General-purpose apps |
| t3.large | 2 | 8 | $0.0832 | $60.74 | Mid-traffic workloads |
| t3.xlarge | 4 | 16 | $0.1664 | $121.47 | Business apps |
| t3.2xlarge | 8 | 32 | $0.3328 | $242.94 | Large web backends |
| m6i.large | 2 | 8 | $0.096 | $70.08 | General-purpose |
| m6i.xlarge | 4 | 16 | $0.192 | $140.16 | App servers |
| m6i.2xlarge | 8 | 32 | $0.384 | $280.32 | Databases, caches |
| m6i.4xlarge | 16 | 64 | $0.768 | $560.64 | In-memory workloads |
| c6i.large | 2 | 4 | $0.085 | $62.05 | Compute-intensive |
| c6i.xlarge | 4 | 8 | $0.170 | $124.10 | Batch, HPC |
| c6i.2xlarge | 8 | 16 | $0.340 | $248.20 | Video encoding, ML |
| r6i.large | 2 | 16 | $0.126 | $91.98 | Memory-intensive DBs |
| r6i.xlarge | 4 | 32 | $0.252 | $183.96 | SAP, Redis, Memcached |
| r6i.2xlarge | 8 | 64 | $0.504 | $367.92 | Large in-memory stores |
| g4dn.xlarge | 4 | 16 | $0.526 | $383.98 | ML inference, GPU |
| p3.2xlarge | 8 | 61 | $3.060 | $2,233.80 | Deep learning training |
Fuente: AWS EC2 On-Demand Pricing — aws.amazon.com/ec2/pricing/on-demand/ (mid-2025). Monthly cost = $/hr × 730 h. Verify current rates before budgeting.
How it works
How It's Calculated
AWS publishes on-demand pricing per instance type per region. The monthly estimate uses AWS's own 730-hour month convention:
Monthly Cost (USD) = Hourly On-Demand Rate × 730 hours
Example — t3.medium, us-east-1, Linux:
$0.0416/hr × 730 = $30.37/month
Example — m6i.2xlarge, us-west-2, Linux:
$0.384/hr × 730 = $280.32/month> Note: 730 = 365 days × 24 hours ÷ 12 months. AWS Cost Explorer and billing statements also use this convention.
---
Reference Table — Common Instance Types (Linux, On-Demand, us-east-1, 2025)
Prices as of mid-2025. Always verify at aws.amazon.com/ec2/pricing.
---
Typical Use Cases (with real numbers)
Case 1 — Small SaaS Web App
A startup runs one t3.medium (app server) + one t3.small (background worker) in us-east-1:
Case 2 — Data Processing Pipeline
A data engineering team uses a c6i.2xlarge for nightly ETL jobs that run ~200 hours/month (not 24/7):
Case 3 — Memory-Optimized Database
A PostgreSQL replica on r6i.xlarge running 24/7 in eu-west-1 ($0.2772/hr):
---
Common Mistakes
1. Using 720 instead of 730 hours — AWS bills on 730 hours/month (~30.42 days average). Using 720 underestimates by ~1.4%, which compounds across many instances.
2. Ignoring region multipliers — Prices vary significantly: us-east-1 is the cheapest AWS region. The same t3.medium costs $0.0464/hr in eu-west-1 (London) vs. $0.0416 in us-east-1 — an 11.5% difference.
3. Forgetting that EC2 pricing covers the instance only — EBS storage, Elastic IP addresses, NAT Gateway, data transfer, and load balancers are billed separately. A "t3.medium at $30/mo" server realistically costs $50–80/month fully loaded.
4. Confusing T3 burstable credits with constant compute — T3 instances earn CPU credits over time and burst above baseline. Under sustained 100% CPU load, a t3.medium is throttled to a 20% CPU baseline unless "unlimited" mode is enabled (which adds cost).
5. Comparing on-demand to Reserved without accounting for upfront payment time value — A 1-year All Upfront RI requires paying ~$263 today for a t3.medium vs. $30.37/mo × 12 = $364.44 on-demand. The savings are real (~28%), but capital is locked for 12 months.
6. Assuming Windows costs the same as Linux — Windows Server licensing is baked into the EC2 price. A t3.medium Windows instance costs $0.0544/hr in us-east-1 vs. $0.0416 for Linux — a 31% premium.
---
Calculation example
Frequently asked questions
How many hours per month does AWS use to calculate monthly EC2 costs?
What is the monthly cost of a t3.medium in us-east-1?
How much cheaper are Reserved Instances compared to on-demand?
How do Spot Instance prices compare to on-demand for EC2?
Does the region affect EC2 pricing significantly?
Are T3 instances always the cheapest option for low-traffic workloads?
What additional costs should I budget beyond the EC2 instance hourly rate?
What is the difference between t3 and t3a instance types?
How does AWS Graviton (C6g, M6g, R6g) compare in cost to Intel-based instances?
Sources & references
Methodology & trust
Technology calculator with its formula verified automatically against AWS EC2 On-Demand Pricing — Official AWS Pricing Page, per our editorial policy and methodology.
Updated: July 2026. Parameters are verified periodically against the cited sources.
Calculations run 100% in your browser. We do not store or transmit your data.
Indicative results. For critical decisions, consult a professional.
Rodríguez, M. (2026). AWS EC2 On-Demand: Hourly-to-Monthly Cost. Hacé Cuentas. https://hacecuentas.com/en/cloud-aws-gcp-azure-ec2-monthly-on-demand
Content licensed under CC-BY 4.0 — reuse it citing the source with a link to Hacé Cuentas.