NAT gateway cost calculator
Enter how many NAT gateways you run and how much traffic goes through them. See what you pay each month and what the usual fixes would save. Nothing you type leaves your browser.
Runs in your browser, nothing is uploadedDefaults use us-east-1 prices: $0.045 per NAT gateway hour and $0.045 per GB, interface endpoints at $0.01 per zone hour and $0.01 per GB, gateway endpoints free. Change the NAT price for other regions.
How to use the NAT gateway cost calculator
- Enter how many NAT gateways you run. For a regional NAT gateway, enter the number of zones it runs in, because it is billed per zone.
- Enter the GB that went through NAT last month. Cost Explorer shows it as NatGateway-Bytes under EC2-Other, or sum BytesOutToDestination in CloudWatch.
- Estimate how much of it goes to S3 or DynamoDB, and how much to your busiest other AWS service. Flow Logs show the real split.
Example: 3 gateways and 2 TB a month
Three NAT gateways moving 2,000 GB a month cost about $99 for the hours and $90 for the data: about $189 a month. If half of that traffic is S3, free gateway endpoints take $45 off straight away.
For staging, one shared gateway instead of three saves about $66 a month more. Production keeps one per zone, or a regional NAT gateway.
Common questions
Is the regional NAT gateway cheaper?
Not per hour. It is billed for each zone it runs in at the same rate, plus the same charge per GB. It is simpler to run, not cheaper.
Why do interface endpoints sometimes cost more than NAT?
Each one costs about $7.30 a month per zone before any traffic. They only pay off for services that move a few hundred GB a month or more.
Does the calculator include data transfer to the internet?
No. Traffic leaving AWS for the internet is billed as data transfer on top of the NAT charge, whatever you do with NAT.
Read next: AWS NAT gateway cost: why it is so high and 5 ways to cut it
Want the real numbers for your AWS account?
Send me your setup and I will return a written list of savings and security fixes, safest first. It is free.