EC2 cost calculator
EC2 cost calculator
Show the formula
Instance = instances × hours × price per hour
EBS gp3 = instances × (GB × $0.08 + IOPS above 3,000 × $0.005 + MiB/s above 125 × $0.04)
IPv4 = instance hours × $0.005Prices checked 17 November 2026, us-east-1, Linux on-demand, shared tenancy, in US dollars. Other regions differ. Always on means 730 hours a month, as in the AWS Pricing Calculator. EBS volumes are charged for the whole month, running or stopped. Everything is calculated in your browser.
An EC2 instance costs its hourly on-demand price × the hours it runs, plus storage and networking. In us-east-1 an m7i.large (2 vCPU, 8 GiB) is $0.1008 an hour, about $73.58 a month always on; the Graviton m7g.large is $0.0816, about $59.57. A 30 GB gp3 root volume adds $2.40 and a public IPv4 address $3.65 a month.
How EC2 pricing works
An on-demand instance has a price per hour that depends on its type, operating system and region. Linux instances are billed per second, with a 60-second minimum, only while they run. Stop an instance and the compute charge stops; its EBS volumes and any Elastic IP addresses keep costing money.
instance cost = instances × hours running × price per hour
EBS gp3 = GB × $0.08 + (IOPS − 3,000) × $0.005 + (MiB/s − 125) × $0.04 per month
public IPv4 = addresses × hours × $0.005
monthly cost = instance cost + EBS + public IPv4 (+ data transfer, snapshots, …)
The instance type sets the size: the letter is the family (T burstable, M general purpose, C compute optimised, R memory optimised), the number the generation, and a g means AWS Graviton (Arm), a AMD and i Intel. From large upwards, each size in a family doubles the vCPU, memory and price of the one below.
EBS gp3 storage, IOPS and throughput
Every gp3 volume includes 3,000 IOPS and 125 MiB/s whatever its size. You pay per GB-month for the size you provision, and only for IOPS and throughput above the included amounts:
| gp3 charge (us-east-1) | Price | Limit |
|---|---|---|
| Storage | $0.08 per GB-month | 1 GiB–64 TiB per volume |
| IOPS above 3,000 | $0.005 per IOPS-month | up to 80,000, at most 500 per GiB |
| Throughput above 125 MiB/s | $0.04 per MiB/s-month | up to 2,000 MiB/s, at most 0.25 MiB/s per IOPS |
Volumes exist independently of the instance, so the calculator charges them for the whole month even when the instance runs only some hours. Snapshots are extra. The gp2 vs gp3 cost guide shows why gp3 is usually cheaper.
EC2 on-demand prices in us-east-1
Linux, shared tenancy, on-demand, checked 17 November 2026 against the AWS Price List. vCPU and memory come from the same price list. The monthly figure is one instance running 730 hours.
| Type | vCPU | Memory | CPU | Per hour | Per month |
|---|---|---|---|---|---|
| t3.nano | 2 | 0.5 GiB | Intel | $0.0052 | $3.80 |
| t3.micro | 2 | 1 GiB | Intel | $0.0104 | $7.59 |
| t3.small | 2 | 2 GiB | Intel | $0.0208 | $15.18 |
| t3.medium | 2 | 4 GiB | Intel | $0.0416 | $30.37 |
| t3.large | 2 | 8 GiB | Intel | $0.0832 | $60.74 |
| t3.xlarge | 4 | 16 GiB | Intel | $0.1664 | $121.47 |
| t3.2xlarge | 8 | 32 GiB | Intel | $0.3328 | $242.94 |
| t4g.nano | 2 | 0.5 GiB | Graviton | $0.0042 | $3.07 |
| t4g.micro | 2 | 1 GiB | Graviton | $0.0084 | $6.13 |
| t4g.small | 2 | 2 GiB | Graviton | $0.0168 | $12.26 |
| t4g.medium | 2 | 4 GiB | Graviton | $0.0336 | $24.53 |
| t4g.large | 2 | 8 GiB | Graviton | $0.0672 | $49.06 |
| t4g.xlarge | 4 | 16 GiB | Graviton | $0.1344 | $98.11 |
| t4g.2xlarge | 8 | 32 GiB | Graviton | $0.2688 | $196.22 |
| t3a.micro | 2 | 1 GiB | AMD | $0.0094 | $6.86 |
| t3a.small | 2 | 2 GiB | AMD | $0.0188 | $13.72 |
| t3a.medium | 2 | 4 GiB | AMD | $0.0376 | $27.45 |
| t3a.large | 2 | 8 GiB | AMD | $0.0752 | $54.90 |
| t3a.xlarge | 4 | 16 GiB | AMD | $0.1504 | $109.79 |
| m7i.large | 2 | 8 GiB | Intel | $0.1008 | $73.58 |
| m7i.xlarge | 4 | 16 GiB | Intel | $0.2016 | $147.17 |
| m7i.2xlarge | 8 | 32 GiB | Intel | $0.4032 | $294.34 |
| m7i.4xlarge | 16 | 64 GiB | Intel | $0.8064 | $588.67 |
| m7i.8xlarge | 32 | 128 GiB | Intel | $1.6128 | $1,177.34 |
| m6i.large | 2 | 8 GiB | Intel | $0.096 | $70.08 |
| m6i.xlarge | 4 | 16 GiB | Intel | $0.192 | $140.16 |
| m6i.2xlarge | 8 | 32 GiB | Intel | $0.384 | $280.32 |
| m6i.4xlarge | 16 | 64 GiB | Intel | $0.768 | $560.64 |
| m6i.8xlarge | 32 | 128 GiB | Intel | $1.536 | $1,121.28 |
| m7g.medium | 1 | 4 GiB | Graviton | $0.0408 | $29.78 |
| m7g.large | 2 | 8 GiB | Graviton | $0.0816 | $59.57 |
| m7g.xlarge | 4 | 16 GiB | Graviton | $0.1632 | $119.14 |
| m7g.2xlarge | 8 | 32 GiB | Graviton | $0.3264 | $238.27 |
| m7g.4xlarge | 16 | 64 GiB | Graviton | $0.6528 | $476.54 |
| m7g.8xlarge | 32 | 128 GiB | Graviton | $1.3056 | $953.09 |
| m8g.large | 2 | 8 GiB | Graviton | $0.08976 | $65.52 |
| m8g.xlarge | 4 | 16 GiB | Graviton | $0.17952 | $131.05 |
| m8g.2xlarge | 8 | 32 GiB | Graviton | $0.35904 | $262.10 |
| m8g.4xlarge | 16 | 64 GiB | Graviton | $0.71808 | $524.20 |
| c7i.large | 2 | 4 GiB | Intel | $0.08925 | $65.15 |
| c7i.xlarge | 4 | 8 GiB | Intel | $0.1785 | $130.31 |
| c7i.2xlarge | 8 | 16 GiB | Intel | $0.357 | $260.61 |
| c7i.4xlarge | 16 | 32 GiB | Intel | $0.714 | $521.22 |
| c7i.8xlarge | 32 | 64 GiB | Intel | $1.428 | $1,042.44 |
| c6i.large | 2 | 4 GiB | Intel | $0.085 | $62.05 |
| c6i.xlarge | 4 | 8 GiB | Intel | $0.17 | $124.10 |
| c6i.2xlarge | 8 | 16 GiB | Intel | $0.34 | $248.20 |
| c6i.4xlarge | 16 | 32 GiB | Intel | $0.68 | $496.40 |
| c6i.8xlarge | 32 | 64 GiB | Intel | $1.36 | $992.80 |
| c7g.medium | 1 | 2 GiB | Graviton | $0.0363 | $26.50 |
| c7g.large | 2 | 4 GiB | Graviton | $0.0725 | $52.92 |
| c7g.xlarge | 4 | 8 GiB | Graviton | $0.145 | $105.85 |
| c7g.2xlarge | 8 | 16 GiB | Graviton | $0.29 | $211.70 |
| c7g.4xlarge | 16 | 32 GiB | Graviton | $0.58 | $423.40 |
| c7g.8xlarge | 32 | 64 GiB | Graviton | $1.16 | $846.80 |
| r7i.large | 2 | 16 GiB | Intel | $0.1323 | $96.58 |
| r7i.xlarge | 4 | 32 GiB | Intel | $0.2646 | $193.16 |
| r7i.2xlarge | 8 | 64 GiB | Intel | $0.5292 | $386.32 |
| r7i.4xlarge | 16 | 128 GiB | Intel | $1.0584 | $772.63 |
| r7i.8xlarge | 32 | 256 GiB | Intel | $2.1168 | $1,545.26 |
| r6i.large | 2 | 16 GiB | Intel | $0.126 | $91.98 |
| r6i.xlarge | 4 | 32 GiB | Intel | $0.252 | $183.96 |
| r6i.2xlarge | 8 | 64 GiB | Intel | $0.504 | $367.92 |
| r6i.4xlarge | 16 | 128 GiB | Intel | $1.008 | $735.84 |
| r6i.8xlarge | 32 | 256 GiB | Intel | $2.016 | $1,471.68 |
| r7g.medium | 1 | 8 GiB | Graviton | $0.0536 | $39.13 |
| r7g.large | 2 | 16 GiB | Graviton | $0.1071 | $78.18 |
| r7g.xlarge | 4 | 32 GiB | Graviton | $0.2142 | $156.37 |
| r7g.2xlarge | 8 | 64 GiB | Graviton | $0.4284 | $312.73 |
| r7g.4xlarge | 16 | 128 GiB | Graviton | $0.8568 | $625.46 |
| r7g.8xlarge | 32 | 256 GiB | Graviton | $1.7136 | $1,250.93 |
| t2.nano | 1 | 0.5 GiB | Intel | $0.0058 | $4.23 |
| t2.micro | 1 | 1 GiB | Intel | $0.0116 | $8.47 |
| t2.small | 1 | 2 GiB | Intel | $0.023 | $16.79 |
| t2.medium | 2 | 4 GiB | Intel | $0.0464 | $33.87 |
| m5.large | 2 | 8 GiB | Intel | $0.096 | $70.08 |
| m5.xlarge | 4 | 16 GiB | Intel | $0.192 | $140.16 |
| m5.2xlarge | 8 | 32 GiB | Intel | $0.384 | $280.32 |
| m5.4xlarge | 16 | 64 GiB | Intel | $0.768 | $560.64 |
| c5.large | 2 | 4 GiB | Intel | $0.085 | $62.05 |
| c5.xlarge | 4 | 8 GiB | Intel | $0.17 | $124.10 |
| c5.2xlarge | 8 | 16 GiB | Intel | $0.34 | $248.20 |
| c5.4xlarge | 16 | 32 GiB | Intel | $0.68 | $496.40 |
| r5.large | 2 | 16 GiB | Intel | $0.126 | $91.98 |
| r5.xlarge | 4 | 32 GiB | Intel | $0.252 | $183.96 |
| r5.2xlarge | 8 | 64 GiB | Intel | $0.504 | $367.92 |
| r5.4xlarge | 16 | 128 GiB | Intel | $1.008 | $735.84 |
t2, m5, c5 and r5 are older generations: the newer m7i, c7i and r7i (or Graviton m7g, c7g, r7g) cost about the same or less for more performance.
Public IPv4, burstable credits, Spot and Savings Plans
- Public IPv4 addresses. $0.005 per address-hour, whether it’s attached to a running instance or an idle Elastic IP: $3.65 a month each. See the public IPv4 charge guide.
- Burstable (T) instances. Run in unlimited mode by default. If average CPU stays above the baseline, surplus credits cost extra per vCPU-hour on Linux (t2 $0.05, t3 $0.05, t3a $0.05, t4g $0.04). Not included in the calculator.
- Spot Instances. Spare capacity at a discount that changes over time, and AWS can reclaim it with a two-minute warning. Not in the on-demand price list, so not modelled. See on-demand vs Spot.
- Savings Plans and Reserved Instances. A lower hourly rate for a one- or three-year commitment; the discount depends on term, payment option and family. Not modelled. See Savings Plans vs Reserved Instances.
What else an EC2 workload costs
- Data transfer. Traffic out to the internet and between Availability Zones or regions is billed per GB.
- EBS snapshots, load balancers, NAT gateways and CloudWatch detailed monitoring or logs.
- Operating system licences. Windows, RHEL and SUSE cost more per hour than the Linux prices here.
To see what you actually spend, the EC2-Other cost guide explains the line that holds EBS, NAT and IPv4 charges, and the AWS cost breakdown guide shows how to split the bill. Containers instead? Try the Fargate pricing calculator.
Questions
How much does an EC2 instance cost per month?
On-demand Linux prices in us-east-1 run all month (730 hours): a t3.micro costs about $7.59, a t4g.micro $6.13, an m7i.large $73.58 and an m7g.large $59.57. Add EBS storage (gp3 is $0.08 per GB-month, so 100 GB is $8.00) and $3.65 a month for a public IPv4 address.
How is EC2 on-demand pricing calculated?
You pay a price per hour for each running instance, billed per second with a 60-second minimum for Linux. A stopped instance costs nothing for compute, but its EBS volumes and any Elastic IP addresses are still charged. Multiply the hourly price by the hours the instance runs, then add storage, IPv4 and data transfer.
Are Graviton (Arm) instances cheaper?
Yes, about 19% cheaper per hour in the same size: an m7g.large is $0.0816 an hour against $0.1008 for an m7i.large with the same 2 vCPU and 8 GiB. Your software needs an arm64 build.
Does gp3 include IOPS and throughput?
Yes. Every gp3 volume includes 3,000 IOPS and 125 MiB/s at no extra cost. Above that you pay $0.005 per IOPS-month and $0.04 per MiB/s-month in us-east-1, up to 80,000 IOPS and 2,000 MiB/s.
What about Spot Instances and Savings Plans?
Both cost less than on-demand but aren’t in the price list this calculator uses: Spot prices move with supply and demand, and Savings Plan rates depend on the term and payment option. Check the AWS EC2 pricing pages for the current discount on the instance types you pick here.
What does the EC2 cost calculator leave out?
Windows and other licensed operating systems, Spot, Savings Plans and Reserved Instances, data transfer, EBS snapshots, load balancers, NAT gateways, CloudWatch and burstable CPU credits above the baseline. It prices Linux on-demand instances, gp3 volumes and public IPv4 addresses.
CloudConsole shows your EC2 instances with their CPU and status checks, and your spend by service and usage type, so an instance left running stands out. Stop or reboot it from your phone. On iPhone and Android.
About the app →