Skip to content
Calcrivo

EC2 Monthly Cost Calculator

Build a full monthly EC2 bill from compute hours, attached EBS storage and data transfer out, and see what dominates.

Inputs

USD/hour

Editable list-price estimate — verify for your region, OS and instance family.

instances
hours

730 hours is an always-on average month; 744 is the longest calendar month.

GB
USD/GB

gp3 is about $0.08 per GB-month before provisioned IOPS or throughput.

GB
GB

AWS currently waives the first 100 GB of internet egress per month per account.

USD/GB

Total Monthly Cost

$270.24

Compute (instance-hours)

$210.24

EBS Storage

$24.00

Data Transfer Out

$36.00

Cost per Instance

$90.08

Compute Share of the Bill

77.8%

Step by step

  1. Values used

    On-demand rate per instance-hour = 0.0960 USD/hour; Number of instances = 3 instances; Hours running per month = 730 hours; EBS volume size per instance = 100 GB; EBS price per GB-month = 0.0800 USD/GB; Data transferred out to the internet = 500 GB; Free egress allowance = 100 GB; Egress price per GB above the allowance = 0.0900 USD/GB

  2. EC2 Monthly Cost

    total = rate × instances × hours + EBS rate × GB × instances + egress rate × max(0, egress GB − free allowance).

  3. Total Monthly Cost

    = 270.24

  4. Compute (instance-hours)

    = 210.24

  5. EBS Storage

    = 24.00

  6. Data Transfer Out

    = 36.00

  7. Cost per Instance

    = 90.08

  8. Compute Share of the Bill

    = 77.8

How it works

An EC2 line item is really three meters: instance-hours, provisioned EBS capacity per GB-month, and internet egress per GB above the free allowance. EBS bills on what you provision rather than what you write, and inbound traffic is free, which is why the transfer term only counts data leaving the region. Compute usually looks like the whole bill until a chatty workload pushes egress past the allowance — splitting the three meters shows which one to attack first.

Formula

EC2 Monthly Cost

total = rate × instances × hours + EBS rate × GB × instances + egress rate × max(0, egress GB − free allowance).

hours
Instance-hours billed per month (730 if always on)
EBS GB
Provisioned volume size — you pay for provisioned, not used, capacity
allowance
Free internet egress each month before per-GB charges start

Frequently Asked Questions

How is EC2 Monthly Cost calculated?

total = rate × instances × hours + EBS rate × GB × instances + egress rate × max(0, egress GB − free allowance). An EC2 line item is really three meters: instance-hours, provisioned EBS capacity per GB-month, and internet egress per GB above the free allowance. EBS bills on what you provision rather than what you write, and inbound traffic is free, which is why the transfer term only counts data leaving the region.

Why does EC2 Monthly Cost matter?

Compute usually looks like the whole bill until a chatty workload pushes egress past the allowance — splitting the three meters shows which one to attack first.

What values do I need to enter?

This calculator takes 8 inputs: On-demand rate per instance-hour, Number of instances, Hours running per month, EBS volume size per instance, EBS price per GB-month, Data transferred out to the internet, Free egress allowance, Egress price per GB above the allowance. The pre-filled defaults are a realistic starting point — replace them with figures from your own environment for a result you can act on.

Why 730 hours and not 720?

730 is 8760 ÷ 12, the true average month length. Using 720 (30 × 24) understates an always-on instance by about 1.4%, which matters once you multiply it across a large fleet.

You might also need