Same fleet priced across instance types
Your count and hours on each size, cheapest first.
Home / Dev & AI / Cloud Cost / AWS EC2 Cost Calculator
Cloud Cost
Estimate your EC2 bill. Choose an instance type, set how many you run and for how many hours, add EBS storage, and see the monthly cost with a type comparison.
Estimated monthly cost
$0
Same fleet priced across instance types
Your count and hours on each size, cheapest first.
EC2 is AWS's core compute service, where you rent virtual servers called instances by the hour. Cost depends on the instance type you pick, how many you run and for how many hours, plus the EBS block storage attached to each. On-demand pricing has no commitment, while reserved and savings plans cut the rate sharply for steady workloads.
This EC2 cost calculator multiplies your instance count by the hourly rate and run hours, adds EBS storage, and compares the cost across popular instance types so you can right size. A full month running 24/7 is 730 hours.
Two m5.large instances at $0.096 an hour for 730 hours cost 2 × $0.096 × 730 = about $140. Add 30 GB of gp3 EBS at $0.08 per GB for $2.40, so about $142 a month.
An m5.large is about $0.096 an hour on demand, roughly $70 a month if always on. Smaller t3 instances cost a few dollars a month. Pick a type above for your figure.
730 hours for a 24/7 instance. If you stop instances outside business hours, reduce the hours to match and save proportionally.
Use Reserved Instances or Savings Plans for steady load, choose Graviton (t4g, m7g) for better price to performance, right size to actual usage, and stop idle instances.
EBS is the block storage volume attached to an instance. It is billed per GB per month separately from compute, around $0.08 per GB for gp3.
They are July 2026 on-demand estimates and vary by region. Confirm on the AWS pricing page for your region.