Public IPv4 Cost Calculator
Estimate public IPv4 charges for EC2, Elastic IPs, load balancers, and NAT gateways.
Your usage
Pricing last updated:Estimated cost
$32.85 per month
$394.20 per year
| Charge | Monthly |
|---|---|
| Auto-assigned EC2 IPv4 | $10.95 |
| Attached Elastic IPs | $3.65 |
| Idle Elastic IPs | $7.30 |
| Load balancer addresses | $7.30 |
| NAT gateway addresses | $3.65 |
$0.005/hr in use · $0.005/hr idle · 730 hours per month
List public IPs in your account
Copy the read-only IPAM inventory command for us-east-1. Replace IPAM_RESOURCE_DISCOVERY_ID with your discovery ID and run it from your IPAM home region.
Estimated cost is $32.85 per month and $394.20 per year. Of 9 public IPv4 addresses, idle Elastic IPs account for $7.30 per month.
How it’s calculated
- In-use cost = (auto-assigned EC2 addresses + other attached Elastic IPs + load balancer addresses + public NAT gateway addresses) × in-use hourly rate × 730 hours.
- Idle cost = idle Elastic IPs × idle hourly rate × 730 hours. Monthly cost adds both charges. Annual cost is 12 times monthly cost.
- Load balancer addresses = balancers × public IPs per balancer. Each public NAT gateway is modeled with one IP. Count each address once, including any attached Elastic IP used by a load balancer or NAT gateway.
How to reduce this cost
- Review idle Elastic IPs and verify that they are safe to release.
- Use private subnets for workloads that need no inbound public connectivity.
- Evaluate IPv6 or dual-stack service endpoints where the application and its clients support them.
- Use Public IP Insights to check the actual number of billable addresses on each load balancer and NAT gateway.
Frequently asked questions
Do unused Elastic IPs incur charges?
Yes. An idle provider-owned Elastic IP accrues hourly charges while it remains allocated to your account.
Why can one load balancer count as several IPs?
Internet-facing load balancers commonly use multiple addresses across enabled zones. Enter the number you observe per load balancer.
Which Elastic IPs go in the attached field?
Count attached Elastic IPs there only if you have not counted them under another input. The EC2 field is for auto-assigned addresses.
What does the estimate cover?
It assumes a steady count of provider-owned public addresses for an average month. Bring-your-own IPs, contiguous blocks, credits, and other resource charges are outside this estimate.
Related guides
Related tools
NAT Gateway Cost Calculator
Estimate zonal NAT Gateway hourly and processing charges, then compare gateway endpoints and a small NAT instance.
Data Transfer Cost Calculator
Estimate internet egress, cross-zone, and inter-region transfer charges, with a CloudFront delivery comparison.