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.

Calculations run locally in your browser

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

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
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.
Every request has a price. Scale makes it visible. The Cloud & Infra Analyzer scores your full cost-per-request profile โ€” which endpoints cost the most and which are subsidizing others.
See per-request cost ranking โ†’