AWS Lambda Cost Calculator

Estimate Lambda monthly cost from invocations, average duration, memory size, architecture (arm/x86), and optional free tier.

AWS Lambda Cost Calculator

Estimate monthly Lambda compute + request charges from invocations, duration, memory, and architecture.

Prices modeled at $0.0000166667/GB-s (x86), $0.0000133334/GB-s (arm), $0.20 per 1M requests, and $0.0000000309 per GB-s ephemeral storage. Provisioned concurrency and SnapStart are not included.

The Lambda Cost Formula

Billable compute ≈ invocations × duration (seconds) × (memory MB ÷ 1024) → GB-seconds, then × per-architecture price.
Requests are billed separately (typically $0.20 per million after free tier).

Ways To Cut Cost Without Guessing

  • Prefer arm64 (Graviton) when dependencies support it (~20% cheaper GB-seconds).
  • Right-size memory: more memory also means more CPU — sometimes higher memory finishes sooner and costs less.
  • Reduce package size and cold starts for spiky traffic.
  • Batch work or move long jobs to Step Functions / Fargate when duration balloons.

This calculator ignores provisioned concurrency and SnapStart add-ons — add those separately when you use them.