The short answer
The cost of building SaaS depends on two separate things. The first is the product itself: the feature your customers pay for. The second is the machinery every SaaS product needs whatever it does: keeping each customer's data apart, signing people in, charging them every month, letting your team support them and satisfying the security questions business buyers ask. Founders tend to scope the first carefully and underestimate the second.
To get a real number, define the version a first paying customer would actually use, decide which parts of the machinery you will buy as services rather than build, and ask for both halves to be scoped separately. The rest of this guide covers each half so you can do that.
Your product versus the SaaS machinery
Spend your budget on what makes your product different, and keep the rest as standard as possible. Customers rarely choose a product for its login screen or its invoice emails, but they will leave if either is broken. A sensible split looks like this:
- Build: the core workflow, the data model behind it and anything that sets you apart.
- Buy or use proven services: sign-in, payments and subscriptions, transactional email, error tracking.
- Keep simple at first: the admin area, reporting and settings, extended once real customers show what they need.
1. Multi-tenancy: keeping customers apart
A SaaS product serves many customer organisations, or tenants, from one system. How their data is separated is one of the earliest decisions and one of the most expensive to change later:
- A shared database where every record carries a tenant identifier. The simplest to run and the usual starting point, but every query must be written so one customer can never see another's data.
- A separate schema per tenant within one database. Stronger separation, with more work for each update to the data structure.
- A separate database per tenant. The strongest separation and the easiest story for cautious buyers, at a higher running and maintenance cost.
Also decide early whether one person can belong to several organisations, whether tenants get their own subdomain or custom domain, and whether settings and branding vary by tenant. Each is cheap to plan for and costly to retrofit.
2. Sign-in, teams and permissions
Authentication in SaaS is more than a login form. Expect to need email and password with verification and reset, sign-in with Google or Microsoft, two-factor authentication, inviting colleagues into an organisation and roles that limit what each person can do.
Larger customers will ask for single sign-on through their identity provider, usually over SAML or OpenID Connect, and for automatic removal of leavers. Hosted identity services such as Auth0, Clerk or Amazon Cognito handle much of this for a monthly fee; building it yourself saves the fee but adds security work you then maintain for good. Either choice is valid. A quote should say which one it assumes.
Building a SaaS product? Get the first release scoped and priced.
Talk to us3. Subscription billing
Billing looks like a payment form and is closer to a small accounting system. The common building blocks are Stripe Billing, Paddle and Chargebee. Paddle acts as the merchant of record, meaning it sells to your customer and handles sales tax and VAT for you; Stripe Billing and Chargebee leave you as the seller. Each charges its own fees on top of card processing, published on its pricing page; at the time of writing these differ in structure as well as amount, so check current pricing for your volume.
What makes billing cost more is the pricing model you choose:
- Flat monthly plans are the simplest.
- Per-seat pricing needs the seat count kept in sync with the people in each organisation.
- Usage-based pricing needs metering: recording every billable event reliably and reporting it to the billing service.
- Free trials, upgrades and downgrades mid-month, coupons, annual plans and failed-payment recovery each add rules and screens.
- Selling to businesses in several countries means VAT and sales tax on invoices, and sometimes invoice and bank transfer payment for larger accounts.
A launch with one or two flat plans, and the billing service's own hosted checkout and customer portal, keeps this line small until pricing is proven.
4. The admin side your team uses
Someone on your side has to run the product. Plan for an internal area where staff can find a tenant, see its plan and usage, extend a trial, issue a refund, switch features on for one customer and, with proper safeguards and logging, see what a user sees to help them. Without it, every support request becomes a developer task.
5. Security and compliance
Selling to businesses means answering security questionnaires. The work behind good answers is a real cost line:
- Data protection law, such as the GDPR and UK GDPR for European and UK customers, with a data processing agreement and a list of your subprocessors.
- Audit logs, encryption in transit and at rest, backups with tested restores and a clear data retention and deletion policy.
- A choice of hosting region if customers need their data kept in a particular jurisdiction.
- Formal certifications such as SOC 2 or ISO 27001 if your target buyers require them. These involve auditors and ongoing process, not just code, so plan for them as a business project.
6. Running costs that grow with customers
A SaaS product's monthly bill rises with its usage, so model it alongside your pricing:
- Hosting, databases and file storage.
- Transactional email for invitations, receipts and notifications, usually charged by volume.
- Monitoring, logging and error tracking, often priced by data volume or seats.
- Identity and billing service fees, as covered above.
- Model or API usage if the product has AI features. Language model providers charge per token processed, so every request has a variable cost. Set usage limits per plan so one heavy customer cannot erase the margin on everyone else.
Our DevOps and cloud and AI development work covers setting these up so the costs are visible per tenant from the start.
How to get an accurate quote
- Describe the core workflow a paying customer would use in the first release.
- Say who the buyers are: individuals, small teams or larger companies with IT departments.
- Choose a starting pricing model: flat plans, per seat or usage-based.
- Say which services you are happy to pay for (identity, billing, email) rather than build.
- List the compliance questions your target buyers are likely to ask.
- List any AI or third-party API features, with a rough idea of how often they run.
Much of the general advice in our custom software development cost guide applies here too. We scope SaaS builds as part of our custom software development service and quote the first release as a fixed figure; send us your outline.
