Loading...


Updated 17 Oct 2026 • 4 mins read

This free AWS Fargate pricing calculator prices tasks the way AWS bills them, per vCPU-hour and GB-hour on x86, Arm, or Windows, with Spot and Compute Savings Plan options, ephemeral storage, and the ECS or EKS fee, then compares against EC2 at your real node utilization. The page explains Fargate pricing, works an example, and shows real spend.
The question behind almost every Fargate pricing search is not what Fargate costs but whether it costs more than EC2, and the honest answer is that it depends on a number most teams do not know: how full their EC2 nodes actually are. Per vCPU, Fargate carries a premium of roughly 20 percent over an equivalent EC2 instance at perfect packing. Almost nobody achieves perfect packing. At the 50 to 65 percent node utilization typical of real clusters, the EC2 side costs more per unit of work than the premium, and Fargate's pay-for-exactly-what-runs model wins, before counting the engineers who no longer patch nodes.
The calculator below prices Fargate tasks the way AWS bills them, per vCPU-hour and per GB-hour, on Linux x86, Arm, or Windows, with Spot and Savings Plan options, ephemeral storage, and the ECS or EKS fee, and then does the comparison most calculators skip: the EC2 cost for the same work at the node utilization you enter, and the break-even utilization at which EC2 becomes cheaper. The page around it explains the pricing model, works an example, and shows how to replace the estimate with the spend actually billed. Rates are from the official Fargate pricing page for US East as of October 2026.
Two meters per task, a few optional ones, and no servers.
| Line | US East rate (October 2026) | Notes |
|---|---|---|
| vCPU, Linux x86 | $0.04048 per vCPU-hour | Billed per second, one-minute minimum, from image pull to task stop |
| Memory, Linux x86 | $0.004445 per GB-hour | Allocated memory, not used |
| vCPU and memory, Linux Arm (Graviton) | $0.03238 and $0.003556 | 20 percent lower; most images run on Arm unchanged |
| Windows OS licence | $0.046 per vCPU-hour, on top of vCPU | Roughly doubles the vCPU line |
| Ephemeral storage | 20 GB included; $0.000111 per GB-hour above | Up to 200 GB per task |
| Fargate Spot | About 70 percent off, rates vary | Two-minute interruption notice; ECS only |
| Compute Savings Plans | About 22 percent (1 year) and 49 percent (3 years) off | Shared with EC2 and Lambda |
| Orchestrator | ECS free; EKS $0.10 per cluster-hour | About $73 a month per EKS cluster |
| Around the task | Load balancer about $16 a month plus usage; NAT about $33 plus $0.045 per GB; egress $0.09 per GB | The lines estimates leave out |
The detail that decides most Fargate bills is in the first two rows: Fargate bills allocated vCPU and memory, not consumed. A task definition that requests 4 vCPU and 8 GB pays for 4 vCPU and 8 GB every second it runs, at 15 percent utilization or 95. On EC2, over-allocation wastes a share of a node you were paying for anyway; on Fargate it is the bill itself.
Set the two side by side at the unit AWS actually sells. On Fargate, one vCPU with 4 GB of memory costs about $0.058 an hour on x86. On an m6i-class EC2 instance, which provides 4 GB per vCPU, the same vCPU costs about $0.048 an hour, so EC2 is about 17 percent cheaper when every vCPU on the node is doing useful work. The question is how often that is true.
| EC2 node utilization | EC2 cost per useful vCPU-hour | Fargate on-demand per vCPU-hour (with 4 GB) | Cheaper |
|---|---|---|---|
| 100% (theoretical) | $0.048 | $0.058 | EC2 by 17% |
| 80% | $0.060 | $0.058 | Roughly even |
| 60% (typical) | $0.080 | $0.058 | Fargate by 27% |
| 40% | $0.120 | $0.058 | Fargate by 52% |
The break-even sits near 80 percent sustained node utilization for a task with 4 GB per vCPU, and it moves with the memory ratio: a lean 1 vCPU, 2 GB task carries only about a 3 percent Fargate premium at perfect packing, so EC2 has to run above roughly 95 percent utilization to win, while a memory-heavy 1 vCPU, 8 GB task costs more on general-purpose EC2 than on Fargate at any utilization, because the node would need two vCPUs to supply the memory; only memory-optimized instances change that picture. Most real clusters run between 40 and 65 percent. Fargate wins on compute in that range, and wins further once the cost of operating nodes, patching, scaling, bin-packing, Karpenter, is counted. EC2 wins for large, steady, well-packed fleets, especially with Savings Plans on the nodes and Spot in the mix, and for workloads needing GPUs, large local storage, or specialized instances Fargate does not offer. Fargate Spot narrows the gap further for interruptible tasks. The calculator applies your own utilization figure so the answer is yours rather than ours; the general trade-off is in our guide to Kubernetes cost optimization and, for the EC2 side, what an AWS server really costs.
Ten tasks at 1 vCPU and 2 GB, running continuously on Linux x86 under ECS: the calculator's defaults. vCPU is 10 times $0.04048 times 730 hours, about $295; memory is 20 GB times $0.004445 times 730, about $65. Total about $360 a month, or $0.049 per task-hour.
Switch to Arm and it falls to about $288. Move the 60 percent of tasks that are stateless workers to Fargate Spot and the blend lands near $200. Run the same ten tasks on EC2 instead, at 60 percent node utilization, and the equivalent cost is about $584 before the load balancer and operations overhead, so Fargate is already cheaper at on-demand rates and markedly so on Spot. Now change one input: the tasks were defined at 4 vCPU and 8 GB because the template said so, though they use 15 percent. The Fargate bill quadruples to about $1,440, and the over-allocation is the entire difference. Right-sizing the task definition is the single largest Fargate saving, and it is a number only the running task reveals.
The button under the result exists because the largest Fargate cost, over-allocation, is invisible to any estimate. Opslyft reads Fargate cost from your actual AWS bill and shows it in Explorer by service, cluster, and team, beside the EC2, load balancer, NAT, and transfer around it, with cost per task and the CPU and memory utilization that says whether the task was sized right, tracked over time. Atlas inventories every service and task definition with an owner, and its recommendations weigh purpose and criticality and draw on memory and CPU metrics, so the 4 vCPU task running at 15 percent surfaces with a right-sized definition proposed and the owning team named. Monitor catches a service whose task count or size jumped with the cause, and Tickets turns the fix into an assigned item in Jira, ServiceNow, or Asana with the saving measured. For the broader container picture, our guide to container cost visibility explains why per-task cost needs usage data the bill does not carry.
For the wider AWS discipline, see our AWS cost optimization guide; for the pricing models Fargate sits among, our guide to cloud pricing models.
Fargate bills the vCPU and memory you allocate to each task, per second with a one-minute minimum, from the moment the image is pulled until the task stops. In US East, Linux on x86 costs $0.04048 per vCPU-hour and $0.004445 per GB-hour; Arm (Graviton) is 20 percent lower at $0.03238 and $0.003556; Windows adds a $0.046 per vCPU-hour OS licence. Each task includes 20 GB of ephemeral storage, with more at $0.000111 per GB-hour. ECS adds no control-plane fee; EKS adds $0.10 per cluster-hour.
A task with 1 vCPU and 2 GB running continuously costs about $36 a month on Linux x86 ($0.04048 plus 2 x $0.004445 per hour, times 730), about $29 on Arm, and about $11 on Fargate Spot. A 0.5 vCPU, 1 GB task is about $18. Ten such tasks are $360, $290, or $110 respectively; the calculator above gives the figure for your shape.
Per unit of allocated compute, yes: a vCPU with 4 GB of memory costs about $0.058 an hour on Fargate against about $0.048 on an m6i-class EC2 instance, roughly a 20 percent premium at perfect utilization. But EC2 nodes are rarely perfectly packed. At 60 percent node utilization the same work costs about $0.080 an hour on EC2, and Fargate is cheaper. The break-even is typically around 80 percent sustained utilization, before counting the engineering time to operate nodes.
About 70 percent off on-demand Fargate for interruptible tasks, with rates that vary by capacity. AWS gives two minutes' notice before reclaiming a Spot task, so it suits batch processing, CI, dev and test, and stateless services with enough replicas to absorb an interruption, and does not suit single-instance or latency-critical services.
Yes. Compute Savings Plans cover Fargate as well as EC2 and Lambda, discounting on-demand Fargate rates by about 22 percent for a one-year and about 49 percent for a three-year commitment. They apply to the vCPU and memory charges; Spot pricing is separate and not further discounted.
Most often because tasks are over-sized. Fargate bills what you allocate, not what you use, so a task defined at 4 vCPU and 8 GB running at 15 percent CPU pays for the other 85 percent every hour. Other causes are tasks that never scale to zero, Windows licence fees, ephemeral storage above 20 GB, and the EKS cluster fee when Fargate runs under EKS rather than ECS.
Opslyft reads Fargate cost from your AWS bill and shows it in Explorer by service, cluster, and team, beside the EC2, load balancer, and transfer around it, with per-task cost and the utilization that says whether the task was sized right. Atlas inventories every service and task definition with an owner, its recommendations flag over-allocated tasks using memory and CPU metrics, Monitor catches a service whose task count or size jumped with the cause, and Tickets routes the fix to the owner.