Fargate Cost Calculator
Work out fargate cost instantly with clear inputs, formula shown and shareable results.
About Fargate Cost Calculator
Fargate bills vCPU and memory separately per second, so cost is a linear function of the task definition rather than of instance sizes. Because vCPU is priced about nine times higher per unit than memory, over-allocating CPU is far more expensive than over-allocating memory — the opposite of the intuition from instance-based pricing.
Formula
Fargate cost
per task hourly = vCPU x vCPU rate + memory GB x memory rate; monthly = per task hourly x tasks x hours
Worked example
With the default values below, Fargate Cost Calculator returns Monthly Fargate cost of $720.80. Change any input above and every figure here is recalculated in your browser.
Inputs used
- Tasks runningminimum 1
- 20
- vCPU per taskaccepts 0.25–16
- 1
- Memory per taskaccepts 0.5–120 GB
- 2 GB
- Hours running per monthaccepts 0.1–730 h
- 730 h
Results
- Monthly Fargate cost
- $720.80
- Hourly cost per task
- $0.04937
- Share of cost from vCPU
- 82.0%
- Annual cost
- $8,649.62
Step by step
- 1Values used
- 2Fargate cost
- 3Monthly Fargate cost= 720.80
- 4Hourly cost per task= 0.04937
- 5Share of cost from vCPU= 82.0
- 6Annual cost= 8,649.62
Assumptions and limits
- The result is derived only from the 4 inputs listed above. Anything not among them is not part of the calculation.
- In particular, this calculator does not take inflation, tax, fees or charges or compounding frequency into account.
- Figures are rounded for display to 5 decimal places, so totals built from several rounded parts can differ slightly from the unrounded arithmetic.
How these calculators are built and tested is described on the Methodology page. If a figure looks wrong, please report it.
Frequently Asked Questions
Is Fargate more expensive than EC2?
Per unit of capacity, yes — typically 20 to 50 percent more. It removes instance management and bin-packing waste, which often recovers the difference at low to moderate scale.
How is Fargate cost reduced?
Right-size the task definition, use ARM-based tasks where supported, and use Fargate Spot for interruption-tolerant work at a large discount.
Related Calculators
You might also need
- CDN Cost CalculatorAlso in Cloud Sizing & Cost
- Cloud Exit Cost CalculatorAlso in Cloud Sizing & Cost
- Cloud Monthly Cost CalculatorAlso in Cloud Sizing & Cost
- Egress Cost CalculatorAlso in Cloud Sizing & Cost
- Licence Cost In Cloud CalculatorAlso in Cloud Sizing & Cost
- S3 Request Cost CalculatorAlso in Cloud Sizing & Cost
