Fargate Pricing Calculator






AWS Fargate Pricing Calculator: Estimate Your Serverless Costs


AWS Fargate Pricing Calculator

An interactive tool to estimate your monthly serverless container costs on AWS Fargate.



Pricing varies significantly by region. N. Virginia is often the cheapest.


ARM/Graviton architecture typically offers better price-performance.


The number of virtual CPUs allocated to each container task.


The amount of RAM in Gigabytes allocated to each task.


How many identical tasks will be running simultaneously.


Total hours your tasks will run in a month (e.g., 24 hours * 30.4 days ≈ 730).


Each task includes 20 GB free. You only pay for storage above this amount.

Estimated Monthly Cost

$0.00


Compute Cost

$0.00

Storage Cost

$0.00

Cost per Task

$0.00

Cost Breakdown: vCPU vs. Memory

What is a Fargate Pricing Calculator?

A fargate pricing calculator is an essential tool for developers, DevOps engineers, and financial planners who use or consider using AWS Fargate for their containerized applications. AWS Fargate is a serverless compute engine for containers, which means it allows you to run containers without managing the underlying servers. While this simplifies operations, the pricing can be complex. This calculator helps demystify the costs by breaking them down based on your specific resource needs.

Unlike traditional server costs, Fargate pricing is granular, based on the vCPU, memory, and storage resources you allocate to your tasks, billed per second. This tool models those dimensions to provide a reliable monthly cost estimate, preventing unexpected bills and enabling better budget management. Anyone deploying applications on Amazon ECS or EKS with the Fargate launch type should use a fargate pricing calculator to project their operational expenses accurately.

Fargate Pricing Formula and Explanation

The core of the fargate pricing calculator revolves around a straightforward formula that sums the costs of compute (vCPU and Memory) and any additional storage. The calculation is performed on a per-task basis and then aggregated for the total monthly estimate.

The fundamental formula is:

Monthly Cost = (vCPU Cost + Memory Cost + Storage Cost) * Number of Tasks

Where:

  • vCPU Cost = vCPUs per Task * Price per vCPU-Hour * Hours per Month
  • Memory Cost = Memory GB per Task * Price per GB-Hour * Hours per Month
  • Storage Cost = (Total Storage - 20GB) * Price per GB-Hour * Hours per Month

These variable rates are determined by your choice of AWS Region and CPU architecture. For a deep dive into container costs, you might find our analysis on aws container pricing enlightening.

Variables in Fargate Cost Calculation
Variable Meaning Unit Typical Range
vCPU per Task Virtual CPU cores assigned to a task Cores 0.25 – 16
Memory per Task RAM assigned to a task Gigabytes (GB) 0.5 – 120
Execution Time Duration the tasks run per month Hours 1 – 730
Region The AWS geographical location Name e.g., us-east-1
Architecture The processor architecture of the task Type x86 or ARM

Practical Examples

Example 1: Small, Continuous Web Application

Imagine running a small web application that requires one task to be active 24/7.

  • Inputs: 1 vCPU, 2 GB Memory, 1 Task, 730 hours/month, 20 GB Storage, x86 in us-east-1.
  • Calculation:
    • vCPU Cost: 1 * $0.04048 * 730 = $29.55
    • Memory Cost: 2 * $0.004445 * 730 = $6.49
    • Storage Cost: $0 (since it’s within the 20GB free tier)
  • Result: The estimated monthly cost would be approximately $36.04. This is a common use case analyzed when evaluating fargate vs lambda cost.

Example 2: Batch Processing Job with ARM Architecture

Consider a daily data processing job that runs 10 concurrent tasks for 2 hours each day, leveraging the cost-effective ARM architecture.

  • Inputs: 2 vCPU, 8 GB Memory, 10 Tasks, 60 hours/month (2 hours * 30 days), 30 GB Storage, ARM in us-east-1.
  • Calculation:
    • vCPU Cost: 2 * $0.03238 * 60 = $3.89
    • Memory Cost: 8 * $0.00356 * 60 = $1.71
    • Storage Cost: (30GB – 20GB) * $0.000111 * 60 = $0.07
    • Total per Task: $3.89 + $1.71 + $0.07 = $5.67
  • Result: The total estimated monthly cost for all 10 tasks would be $56.70. Exploring fargate spot pricing could reduce this even further.

How to Use This Fargate Pricing Calculator

Using this calculator is a simple, step-by-step process designed to give you an accurate cost estimate quickly.

  1. Select AWS Region: Start by choosing the AWS Region where your containers will run. Pricing varies between regions.
  2. Choose CPU Architecture: Select between x86 (standard) and ARM (often more cost-effective).
  3. Enter Compute Resources: Input the vCPU and Memory (in GB) you plan to allocate for each task.
  4. Specify Task Count: Enter the number of concurrent tasks you will run.
  5. Define Usage Duration: Input the total number of hours your tasks will run per month. For a service that runs continuously, this is typically 730 hours.
  6. Configure Storage: Enter the total ephemeral storage for each task. Costs only apply for amounts over 20 GB.
  7. Review Results: The calculator instantly updates the ‘Estimated Monthly Cost’, along with a breakdown of compute vs. storage costs and a per-task cost.

The results provide a clear projection of your expenses, helping you make informed decisions about your architecture and budget. Understanding these inputs is key to managing your overall aws fargate cost.

Key Factors That Affect Fargate Pricing

Several factors can influence your final bill. Understanding them is crucial for cost optimization.

  • Region: As shown in the calculator, AWS charges different rates in different geographical regions. Choosing a cheaper region can lead to significant savings.
  • CPU Architecture (x86 vs. ARM): AWS Graviton (ARM) processors generally offer a better price-performance ratio, reducing your compute costs by up to 20% compared to x86 for compatible workloads.
  • On-Demand vs. Spot Instances: This calculator uses On-Demand pricing. However, for fault-tolerant workloads, Fargate Spot can offer savings of up to 70%, though instances can be interrupted.
  • Compute Savings Plans: Committing to a consistent amount of usage for a 1 or 3-year term can provide significant discounts over On-Demand pricing. This is ideal for steady-state workloads.
  • Data Transfer: Data transfer costs are not included in this calculator but are a real-world expense. Data transferred out to the internet or across regions incurs charges.
  • Logging and Monitoring: Services like Amazon CloudWatch for logging and monitoring also add to your total cost, based on the volume of logs and metrics ingested.

Frequently Asked Questions (FAQ)

1. Is this fargate pricing calculator 100% accurate?
This calculator provides a very close estimate based on AWS’s public pricing for On-Demand instances. However, it does not include taxes, data transfer fees, or costs from other AWS services like CloudWatch. It should be used for budgeting and estimation purposes.
2. Does this calculator include Fargate Spot pricing?
No, this tool calculates costs based on the standard On-Demand pricing model. To estimate Spot savings, you can typically apply a discount of 50-70% to the compute portion of the result, but remember that Spot prices fluctuate.
3. How does storage pricing work?
Every Fargate task gets 20 GB of ephemeral storage for free. You are only charged for the additional storage you configure beyond that 20 GB baseline, calculated on a per-GB-hour basis.
4. What’s the difference between vCPU and Memory units?
vCPU (virtual Central Processing Unit) is the processing power for your task. Memory is the RAM. Fargate requires you to specify both, and they are billed as separate line items.
5. Can I use this for Amazon EKS on Fargate?
Yes, the pricing model for vCPU, memory, and storage is the same whether you are using Fargate with Amazon Elastic Container Service (ECS) or Amazon Elastic Kubernetes Service (EKS).
6. Why is ARM architecture cheaper?
AWS develops its own ARM-based Graviton processors, which are highly efficient. They pass the cost savings from this efficiency on to customers, encouraging adoption for better performance and lower costs.
7. What happens if I run my tasks for less than a full hour?
Fargate bills per second, with a one-minute minimum charge. This calculator uses hours for simplicity, but in reality, your costs are granular, which is beneficial for short-lived tasks.
8. How can I lower my Fargate bill?
The best ways are to right-size your tasks (don’t over-provision vCPU/memory), use ARM/Graviton where possible, leverage Fargate Spot for non-critical workloads, and commit to Savings Plans for predictable applications.

© 2026 Your Company. This tool is for estimation purposes only. Always check the official AWS pricing pages for the most current information.



Leave a Reply

Your email address will not be published. Required fields are marked *