Cloud Cost & FinOps
Cost Per Request Calculator
Enter monthly request volume, average duration, and memory allocation to compute cost per request for Lambda vs EC2 vs other platforms, and the break-even request volume for each.
No data is transmitted — everything runs locallyTool
About this tool
Cost Per Request Calculator
The Cost Per Request Calculator computes and compares Lambda, EC2, and Cloudflare Workers cost per request from monthly volume and duration, with break-even analysis.
• Determine whether Lambda or EC2 is cheaper at a given request volume
• Calculate the break-even requests/month where Lambda becomes more expensive than a server
• Model Lambda cost at P95 and P99 duration — tail latency directly affects the bill
• Compare Cloudflare Workers vs Lambda cost per request for edge compute decisions
Affiliate disclosure
Developer-friendly cloud infrastructure. DigitalOcean provides cloud compute, networking, and managed databases with predictable pricing.
View cost-efficiently options on DigitalOcean
External site · Independent provider · We may receive a commission · Not a recommendation
FAQ
What does this tool tell you?
The Cost Per Request Calculator computes and compares Lambda, EC2, and Cloudflare Workers cost per request from monthly volume and duration, with break-even analysis.
What affects the result most?
Cost per request = total_monthly_infrastructure_cost / total_monthly_requests. Serverless vs server: Lambda cost per request vs EC2 server amortized cost per request. Lambda pricing: $0.20/M requests + $0.0000166667/GB-second compute duration.
How should I use the result?
The calculation is deterministic — the same inputs always produce the same output — so the most useful workflow is to vary one input at a time and see which factor moves the result most. That tells you where to focus your attention before committing to a decision.
Related tools