AWS Lambda Cost Calculator
Enter requests per month, memory MB (default 512) and average duration ms. See request $ and compute $ after the Always Free tier, plus total. MVP covers classic Event Functions, on-demand, us-east-1, x86 only — region/architecture disclaimer applies. Estimates only; aws.amazon.com/lambda/pricing prevails.
Math runs in your browser. Nothing is uploaded.
Monthly total
—
Requests · compute
—
Breakdown
—
Region / architecture disclaimer: MVP models classic Lambda Event Functions, on-demand, US East (N. Virginia), x86 only. Requests: $0.20 / million after Always Free 1M requests/month. Duration: GB-seconds = (memory_MB/1024) × wall seconds; first-tier on-demand x86 $0.0000166667 / GB-second; free 400,000 GB-seconds/month. Smoke A: 15M × 50 ms @ 512 MB → 375,000 GB-s (within free) + 14M × $0.20 = $2.80. Out of scope (footnote): MicroVMs, Web Functions, Managed Instances, Provisioned Concurrency, SnapStart, Durable Functions, Tenant Isolation, ephemeral storage add-on, Lambda@Edge.
Estimates only. Official list prices as of 2026-11-03 (Asia/Shanghai); the provider's pricing page prevails. Source: AWS Lambda pricing
Serverless Compute Cost Comparison · Cloudflare Workers Cost Calculator · Vercel Functions Cost Calculator · AWS CloudFront Cost Calculator
More in this group
- Serverless Compute Cost Comparison Workers vs Lambda vs Vercel Fluid monthly compute $.
- Cloudflare Workers Cost Calculator Workers Paid requests + CPU-ms → monthly $.
- Vercel Functions Cost Calculator Vercel Fluid CPU + memory + invocations → monthly $.
- AWS CloudFront Cost Calculator CloudFront PAYG DTO + requests → monthly $.
- Amazon S3 Cost Calculator S3 Standard us-east-1 storage + requests + egress.
How it works
- What Lambda pricing does this calculator use?
- Classic Event Functions, on-demand, US East (N. Virginia), x86: $0.20 per million requests after 1M free; $0.0000166667 per GB-second after 400,000 GB-seconds free (as of 2026-11-03).
- What is Scenario A (15M × 50 ms @ 512 MB)?
- GB-seconds = 15e6 × 0.050 × (512/1024) = 375,000 — within the 400k free tier, so compute = $0. Billable requests = 14M × $0.20 = $2.80. Total ≈ $2.80.
- How are GB-seconds calculated?
- GB-seconds = (memory_MB / 1024) × wall-clock seconds × requests. Lambda bills wall time at 1 ms granularity, unlike Workers which bills CPU-ms only.
- What is out of scope?
- Lambda MicroVMs, Web Functions, Managed Instances, Provisioned Concurrency, SnapStart, Durable Functions, Tenant Isolation, ephemeral storage add-on and Lambda@Edge (different rates) are footnote-only.
- Why the region disclaimer?
- Lambda rates vary by region and architecture (x86 vs arm). This MVP hardcodes us-east-1 x86 list rates used in AWS examples so the math stays honest and auditable.