About this tool
Estimate monthly AWS Lambda cost from invocations, memory size and duration, with the always-free tier applied.
The AWS Lambda Cost Calculator estimates your monthly Lambda bill from three inputs — invocations per month, configured memory and average duration — using AWS on-demand pricing for x86 functions in US East (N. Virginia): $0.20 per million requests plus $0.0000166667 per GB-second of compute. Compute is calculated as invocations x duration in seconds x memory in GB, where 1 GB = 1,024 MB, then the always-free tier of 1,000,000 requests and 400,000 GB-seconds is subtracted. It is for engineers and architects sizing a serverless workload before committing to it.
Open AWS Lambda Cost Calculator on AltFTool — it loads instantly in your browser.
Enter the values you already know.
Fine-tune the options to match your scenario.
Read the result and use it in your planning or reporting.
Requests and compute are shown as separate lines, so you can see which one is actually driving the bill.
The 1M requests and 400,000 GB-seconds are subtracted before pricing, and you can switch that off to see the gross cost.
A single normalised figure that makes memory and duration trade-offs directly comparable.
$0.20 per million requests on the request meter, plus compute charged at $0.0000166667 per GB-second. A million invocations of a 512 MB function running 200 ms each uses 100,000 GB-seconds, so the compute side alone would be about $1.67 before the free tier.
Lambda has an always-free tier of 1,000,000 requests and 400,000 GB-seconds of compute per month, and unlike the 12-month AWS free tier it does not expire. A 128 MB function running 1 second per call can therefore make about 1,000,000 free calls a month before either meter runs out.
It can go either way, because Lambda gives CPU in proportion to memory. Doubling memory doubles the per-second rate, so it only pays off if duration drops by more than half. The 1,769 MB point is where a function gets one full vCPU, which is often the sweet spot for CPU-bound work.
No. Since December 2020 AWS bills Lambda duration in 1 ms increments, so a 12 ms function is billed for 12 ms rather than rounded up to 100 ms. This calculator uses per-millisecond billing.
Add the AWS Lambda Cost Calculatorwidget to your blog or website — free, responsive, no signup. Just keep the “Widget by AltFTool” credit link visible.
<iframe src="https://www.altftool.com/embed/widget/aws-lambda-cost-calculator"
title="AWS Lambda Cost Calculator — free AltFTool widget"
width="100%" height="640" style="border:0;border-radius:12px;overflow:hidden"
loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>
<p style="font-size:12px;margin:4px 0 0">Widget by <a href="https://www.altftool.com/tools/all/aws-lambda-cost-calculator?utm_source=embed&utm_medium=widget">AltFTool — free online tools</a></p>