tech calculator
Serverless Compute & Cost Estimator
Estimate monthly cloud functions cost, billable GB-seconds, and evaluate cold start latency overheads.
Formula Verified by Dr. James Callahan, PhD
Inputs
Compute Parameters
ms
MB
Environment Details
Cloud Provider
%
ms
Results
Estimated Monthly Cost
$14.97
Total Compute Volume1,250,000 GB-seconds
Billable GB-seconds850,000 GB-seconds
Billable Invocations4,000,000
Monthly Cold Starts50,000
Total Latency Overhead40000.0 seconds/month
Formula
Serverless cost formulation
Cost = (Billable Invocations × Request Rate) + (Billable GB-Seconds × Compute Rate)GB-Seconds are calculated as (Allocated Memory MB / 1024) × (Execution Duration MS / 1000) × Invocations.
Step by step
How the calculation works
- 1Enter the total number of function executions (invocations) expected per month.
- 2Specify the average execution time in milliseconds (duration).
- 3Choose the memory size allocated to your function. Note that CPU power scales proportionally with memory.
- 4Enter the cold start rate (the percentage of invocations that will spin up new containers) and average cold start duration.
Related guides
Learn more about this calculation
Guide
How to Use Do The Calculation Calculators: A Practical Step-by-Step Guide
Learn the fastest reliable workflow for using Do The Calculation calculators, reading results, checking formulas, and using save, print, share, and export actions correctly.
Guide
Understanding Calculator Formulas: How DTC Turns Inputs into Results
Understand how Do The Calculation formulas are presented, what the explanation blocks mean, and how to verify calculator logic before using a result in a real decision.