Short answer, Standard edition, Iowa (us-central1), beyond the free quota: a document read is $0.03 per 100,000, a document write is $0.09 per 100,000, and a document delete is $0.01 per 100,000. One million reads therefore cost $0.30, one million writes cost $0.90, and one million deletes cost $0.10. Stored data on that same table is $0.000205479 per GiB-hour, which is $0.15 per GiB across a 730-hour month. These are list prices from Google's Firestore Standard pricing page, checked in November 2026. Other regions are different. Enterprise edition uses read and write units, covered below, not these per-document rates.
That is why a Firestore bill is a read-pattern problem. Storing the documents is the cheap line. Touching them on every screen is not. The rest of this page is the free quota, a 1 million document walkthrough, Enterprise unit pricing, and the five patterns behind the bills I actually get asked to fix.
The current numbers
Firestore Standard edition bills document reads, document writes, document deletes, storage, and network egress separately. The price depends on the database location, and you pick that location when you create the database. The numbers in this section are the default list price for Iowa (us-central1) on the Standard pricing page. Multi-region locations such as nam5 and eur3 have their own rows on that page. Use the row for the database you created.
- Document reads — $0.03 per 100,000 documents in
us-central1. - Document writes — $0.09 per 100,000. Each set or update counts as one write.
- Document deletes — $0.01 per 100,000. TTL deletes are the same unit price and are not in the free quota.
- Stored data — $0.000205479 per GiB-hour in
us-central1. Over 730 hours that is $0.15 per GiB-month, which matches Google's product summary of Standard storage starting at $0.15 per GB/month. The billed size includes metadata and indexes. - Backup storage — $0.000041096 per GiB-hour in
us-central1, about $0.03 per GiB-month over 730 hours. A restore is $0.20 per GiB. Backup bytes, PITR, restore, and clone are outside the free quota. - Free quota, per day, one database per project — 50,000 reads, 20,000 writes, 20,000 deletes, 1 GiB stored, and 10 GiB of outbound transfer per month. Named databases do not get this free quota. You need billing enabled to create one.
Use these as the Iowa list price, not as a quote for every project. If the database is not in us-central1, read that location's row on the pricing page before you budget. Committed-use discounts on the Iowa table lower reads to $0.024 (1 year) and $0.018 (3 years) per 100,000, and writes to $0.072 and $0.054.
What a million documents actually costs
Take a million documents averaging 1 KiB of field data each. The raw fields are about 1 GiB. Firestore also stores the document name, field names, and index entries, and it bills that overhead. Google does not publish a universal multiplier, so the 3 GiB figure below is an engineering allowance, not a line on the price list. Measure the database size before you treat it as a budget.
- Load them in (1,000,000 writes at $0.09 per 100,000): $0.90 once, in
us-central1, ignoring the free quota. - Store 1 GiB at $0.15 per GiB-month: $0.15 per month. If measured storage, including indexes, is 3 GiB, that allowance is $0.45 per month.
- Read every document once (1,000,000 reads at $0.03 per 100,000): $0.30.
- Delete the lot (1,000,000 deletes at $0.01 per 100,000): $0.10.
- Holding the data is the small number. A million quiet documents are well under $2 a month in this region. The bill shows up when something reads them all day.
This is why the "Firestore is expensive" reputation confuses people who've only ever stored data in it. A full scan of your entire database costs less than a coffee. The bill arrives when something does that scan two hundred times a day.
Firestore doesn't charge you for having data. It charges you for touching it — and the default patterns touch it far more than you'd guess.
Firestore Enterprise pricing
Enterprise edition bills read units and write units instead of one price per document. The default table on the Enterprise pricing page lists the rates below. The Standard page labels its own default table as Iowa (us-central1). Select your region on the Enterprise page before you copy these into a budget:
- Read units — $0.05 per 1,000,000. One read unit is a 4 KiB tranche of data processed. A point read of a document up to 4 KiB, such as a 3 KiB document looked up by ID, is 1 read unit. Every read has a minimum of 1 read unit. Queries can bill more units than the documents they return, because index bytes count.
- Write units — $0.26 per 1,000,000. One write unit is a 1 KiB tranche. Creating a document bills the document and each index entry, each rounded up to 1 KiB.
- Managed deletes — $0.26 per 1,000,000 write units, using the same 1 KiB tranche on the document and its index entries.
- Real-time updates — $0.30 per 1,000,000 update units. The first sync of a listener bills read units. Later changes bill one real-time update unit per 4 KiB. A removed result also bills a unit. A deleted document does not.
- Stored data — $0.000328767 per GiB-hour, which is $0.24 per GiB across a 730-hour month.
- Free tier, one database — 50,000 read units per day, 40,000 write units per day, 1 GiB stored, 10 GiB outbound per month, 10,000 event units per day, and 50,000 real-time updates. This is not the Standard free tier. Write units are not the same thing as document writes.
Worked point-read, beyond the free quota. One million point reads of documents that fit in a single 4 KiB tranche, with no extra index bytes, are 1,000,000 read units. At $0.05 per million, Enterprise costs $0.05. The same million Standard document reads cost $0.30. That comparison is only this shape of read. A scan that processes more than 4 KiB per result costs more units.
Worked create, beyond the free quota. One million creates of a 1 KiB document, ignoring index entries, are 1,000,000 write units. At $0.26 per million, Enterprise costs $0.26. One million Standard document writes cost $0.90. Add the index entries and the Enterprise write gets larger, because each index entry is billed in 1 KiB tranches. Standard still bills one document write per set or update. One-year committed use on this Enterprise table is $0.04 per million read units and $0.208 per million write units. Three-year is $0.03 and $0.156. Check the region before you put any of these in a budget.
The five patterns that generate the bill
In every Firestore cost audit I've done, the overwhelming majority of spend traces to a handful of specific behaviours. They're all fixable, and none of them require a rewrite.
1. Listeners that re-read everything on reconnect
Realtime listeners are billed a read per document added or changed, which stays cheap while the listener is connected. The expensive part is reconnection. If offline persistence is disabled, every disconnect and reconnect bills you as though you had issued a new query. With persistence enabled, the same happens after a 30-minute disconnect. Both rules are on the Standard pricing page. A dashboard listening to 200 documents, open for 5,000 users who reconnect 20 times a day, is 20 million reads a day. At $0.03 per 100,000 in us-central1, that is $6 a day, about $180 over a 30-day month, for one screen. The daily free quota of 50,000 reads does not move a number this size. If the database is multi-region, use that location's read price instead of doubling this one.
2. Using offset() instead of cursors
Firestore charges a read for every document an offset skips. Page 26 of a 20-per-page list bills 520 reads to return 20 documents, and the cost grows the deeper users browse. Cursors cost the same on page 500 as on page 1.
// WRONG: offset bills you a read for every skipped document.
// Page 26 of a 20-per-page list = 520 reads to return 20 documents.
const page = await db.collection("orders")
.orderBy("createdAt", "desc")
.offset(500)
.limit(20)
.get();
// RIGHT: cursors bill you only for what you return — 20 reads, on any page.
const page = await db.collection("orders")
.orderBy("createdAt", "desc")
.startAfter(lastVisibleDoc) // the DocumentSnapshot from the previous page
.limit(20)
.get();3. Calling count() on a hot path
Aggregation queries are not free. count(), sum(), and avg() bill one read per batch of up to 1,000 index entries scanned, with a minimum of one read, as described on the Standard pricing page. Counting a million matching documents therefore costs about 1,000 reads. Poll that counter every 30 seconds and you are at 2.88 million reads a day. At $0.03 per 100,000 in us-central1, that is about $26 over a 30-day month to display one number. Precompute it instead.
// A counter you can read for 1 document read instead of ~1,000.
// Update it in the same transaction as the write it counts.
await db.runTransaction(async (tx) => {
const statsRef = db.doc(`tenants/${tenantId}/stats/orders`);
tx.set(newOrderRef, orderData);
tx.set(statsRef, {
total: FieldValue.increment(1),
updatedAt: FieldValue.serverTimestamp(),
}, { merge: true });
});
// Hot counters (>1 write/sec sustained) need sharding —
// write to one of N shard docs at random, sum the shards on read.4. Multi-range queries that bill index-entry reads
Queries with up to one range filter are exempt from index-entry read charges. Add a second range filter and you start paying one read per 1,000 index entries scanned — on top of the documents returned. Watch for the traps: a field in orderBy counts as a range field once another range filter exists, and __name__ always counts as one, even in an equality filter. Use Query Explain to see what a query really costs before it ships.
5. get() and exists() inside security rules
Security rules that look up another document to authorise a request bill you for those reads. A typical multi-tenant rule checking membership adds a read to every single request. You're charged once per dependent document per request, but rules are re-evaluated when a listener's results update, when a device reconnects, and whenever you change the rules — so on realtime surfaces the multiplier is much larger than it looks. Denormalise the tenant ID onto the document and check it directly where you can.
Three more things that quietly cost money
- Every query has a minimum charge of one read, even when it returns nothing. Polling loops that usually find no results still cost.
- Non-document operations bill a read too — listing collection IDs, for example, and once per request if you paginate.
- Egress is only free to 10 GiB a month, then roughly $0.12 per GiB to the internet. Serving large documents directly to mobile clients adds up separately from read costs.
How to cut a Firestore bill, in priority order
Start by finding out where reads come from rather than guessing — the usage breakdown in the Firebase console plus Query Explain on your busiest screens will usually identify the top two sources in an afternoon.
- Instrument first. Identify your three highest-read screens. Optimising anything else is wasted effort.
- Replace offsets with cursors. Mechanical change, immediate saving, near-zero risk.
- Precompute counts and aggregates into a stats document updated transactionally, sharded if the write rate is high.
- Fix listener scope. Enable offline persistence, tighten queries with
limit(), and detach listeners when a screen isn't visible. - Audit security rules for
get()andexists()calls on hot paths, and denormalise the fields those lookups need. - Delete unused indexes. Single-field indexes are created by default on every field and you pay to store all of them; exempt the ones you never query.
- Re-examine multi-region. If you don't have a genuine multi-region availability requirement, single-region halves every operation price. This one can't be changed later without a migration.
When Firestore stops being the right database
Cost optimisation has a floor. If you're routinely fighting the query model — needing joins, several range filters, transactional reporting, or ad-hoc analytics — you're paying a per-operation tax to emulate a relational database, and no amount of denormalising fixes that. That's the point to look at Postgres.
It isn't a weekend job. I migrate teams incrementally: dual-write to both stores, backfill history, verify the two agree, then move reads across one surface at a time. If that's where you're heading, the Supabase developer page covers where most teams land, and Next.js SaaS development covers the application side.
Common questions
Does document size affect Firestore read costs?
On Standard edition, a 200-byte document and a 2 KiB document cost the same to read: one document read. Size shows up in storage and in egress. On Enterprise edition both of those still cost 1 read unit, because reads are billed in 4 KiB tranches. You pay another unit when the data processed crosses 4 KiB. Egress still depends on the bytes you send to the client either way.
Is Firestore cheaper than Postgres at scale?
For spiky, low-traffic, or highly variable workloads Firestore often wins, because you pay nothing when idle and there's no instance to size. For steady high-traffic read workloads a right-sized Postgres instance is usually cheaper and far more predictable, since you're paying for capacity rather than per operation. The crossover depends entirely on your read volume, not your data volume.
Can I set a hard spending cap on Firestore?
Not a true hard cap — Google Cloud budgets send alerts but don't stop requests, and your app keeps serving (and billing) past the threshold. Teams who need a hard stop usually wire a budget alert to a Pub/Sub topic and a Cloud Function that disables billing on the project, which takes the application down. Budget alerts plus read instrumentation are the realistic answer for most people.
Where I come into this
I built Database Vault, a SaaS that runs scheduled backups across PostgreSQL, MySQL, MongoDB, Firebase, and Supabase. Backing up a Firestore database means reading every document in it, on a schedule, for many customers — which is a fairly direct education in what reads cost and how to page through large collections without setting money on fire.
If the bill is growing faster than the user base, I do this as a Firebase developer: find the reads, cut them, and say whether the fix is a query change or a different database. The application side of that move is Next.js SaaS development. For a SaaS choosing between this model and Postgres, read Supabase vs Firebase for SaaS. Book a working session and bring the Firebase usage breakdown for your busiest screen.