Your SaaS margin after the cloud and AI bill.
At $29 a month, 200 customers and $4 of cloud and API costs each, you keep a 80.17% gross margin and cover $1,500 of fixed costs at 65 customers. Put in your own costs; AI products that call a model on every request usually land lower.
This month
You keep $3,150.00 a month, at a 80.17% gross margin.
Per customer, per month
Gross margin = revenue minus payment fees and the cost of serving customers. Break-even = fixed costs divided by what each customer contributes, rounded up. Fees are Pocketsflow's, with sales tax and VAT handled.
Every cost is your own input: cloud and AI prices change too often to guess. Payment fees are Pocketsflow's 2% + card processing per monthly payment. Churn, growth and annual plans are not modelled here; for those, try the subscription calculator.
Four numbers that decide whether a customer is worth serving
Worked on the calculator's sample: $29 a month, 200 customers, $4 to serve each and $1,500 of fixed costs.
Gross margin
(revenue - fees - cost to serve) / revenue
$29 × 200 = $5,800 of revenue, less $350.00 of fees and $800 of cloud costs: 80.17%.
Net profit
gross profit - fixed costs
$4,650.00 of gross profit less $1,500 of fixed costs leaves $3,150.00 a month.
Contribution
price - fee - cost to serve
What one customer adds: $29 - $1.75 - $4.00 = $23.25.
Break-even
fixed costs / contribution, rounded up
$1,500 / $23.25 = 65 customers. Never, if a customer costs more than they pay.
The costs people forget to count
Pull these from your own bills. Usage-based lines go per customer; the rest are fixed.
Per customer
Cloud compute and serverless calls · Database and storage per customer · AI API tokens (model calls) · Transactional email and SMS · Bandwidth and file delivery · Third-party APIs billed per seat or per call
Fixed each month
Hosting base plan and domains · Monitoring, logging and error tracking · Software subscriptions and tools · Salaries and contractors (optional)
Bill your SaaS on Pocketsflow
Subscriptions and license keys are on the Free plan, and your app grants or revokes access from the API and webhooks. You pay 2% a payment plus card processing, and as merchant of record we collect and file the sales tax and VAT on each sale.


Questions
What is a good gross margin for a SaaS?
Software usually runs at a high gross margin because one more customer costs little to serve; many SaaS businesses aim for 70% or more. AI products that call a model on every request often land lower, so watch the cost per customer as usage grows.
What counts as a cost per customer, and what is fixed?
A cost per customer grows with every customer you add: compute, database and storage, AI API calls, email and SMS, per-seat tools. A fixed cost stays the same with zero customers: the hosting base plan, domains, monitoring, software subscriptions and salaries.
How do I estimate my cloud and AI cost per customer?
Take last month's usage-based bills (cloud, AI API, email) and divide by your active paying customers. Heavy users pull the average up, so recheck it whenever usage or your model provider's prices change.
How do I work out how many customers I need to break even?
Divide your fixed costs by what one customer contributes after fees and cost to serve, and round up. At $29 a month with $4 of costs per customer and $1,500 of fixed costs, that is 65 customers.
Which payment fee does the calculator use?
Pocketsflow's 2% per monthly payment on the Free plan, plus card processing and subscription billing (+0.5% on subscription payments), with sales tax and VAT handled (2% tax handling fee on taxed sales) as merchant of record. Selling $50,000 or more a month? The Volume plans lower the platform fee to 1% or 0.5%.
Should payment fees count against gross margin?
Finance teams differ. Here they do, because they grow with every sale like any cost to serve. Leave them out and your gross margin reads a few points higher; net profit does not change.
More free tools
Fees and pricing
- Fee calculatorWhat each platform takes from a sale, and what you keep each month.
- Payment fee calculatorWhat Stripe, PayPal and Pocketsflow take from a payment.
- Discount calculatorThe extra sales a discount needs before it pays off.
- EU VAT calculatorAdd or remove VAT at every member state's 2026 rate.
- Pricing guideSet a price from value, build three tiers, and see the sales a goal takes.
Profit and growth
Subscribers
- Subscription calculatorMRR, ARR, churn and lifetime value, projected 12 months out.
- CAC payback calculatorThe month a customer pays back what they cost to win.
- Newsletter revenue calculatorFree and paid subscribers, and newsletter revenue, a year out.
- Affiliate commission calculatorWhat affiliates earn, what you keep, and the highest rate you can afford.
Run these numbers on real sales.
2% a sale, plus card processing, with sales tax and VAT handled (2% tax handling fee on taxed sales). No monthly fee, so a month with no sales costs nothing.